aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-10-23 01:29:46 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-10-26 16:42:07 +0200
commitbc7c69d17052a1719cd1e254c91f6d2929c712ac (patch)
tree725992d201830f56e2add33a51ea7e9b3ec842fc
parent651ff175d5f1272fee5c64975fe7adc7294305e5 (diff)
hnbap: Use specific prefix for HNBAP generated code
Other libraries already use ASN1C_PREFIX except the HNBAP one. Let's use it here to avoid collisions. All new include/osmocom/hnbap/HNBAP_*.h and src/hnbap/HNBAP_*.c are generated using the updated src/hnbap/Makefile.am. Files such as src/*.c, test/* and include/osmocom/hnbap/hnbap_common.h are modified manually to update structs/enums to new prefix. Related: SYS#5516 Change-Id: I6c062f631527ae42811bfec134933671c05ecba6
-rw-r--r--include/osmocom/hnbap/Access-stratum-release-indicator.h56
-rw-r--r--include/osmocom/hnbap/AccessResult.h52
-rw-r--r--include/osmocom/hnbap/AdditionalNeighbourInfoList.h44
-rw-r--r--include/osmocom/hnbap/BackoffTimer.h43
-rw-r--r--include/osmocom/hnbap/BindingID.h43
-rw-r--r--include/osmocom/hnbap/CELL-FACHMobilitySupport.h51
-rw-r--r--include/osmocom/hnbap/CGI.h49
-rw-r--r--include/osmocom/hnbap/CI.h43
-rw-r--r--include/osmocom/hnbap/CN-DomainIndicator.h49
-rw-r--r--include/osmocom/hnbap/CSG-Capability.h52
-rw-r--r--include/osmocom/hnbap/CSG-ID.h43
-rw-r--r--include/osmocom/hnbap/CSGMembershipStatus.h52
-rw-r--r--include/osmocom/hnbap/Cause.h62
-rw-r--r--include/osmocom/hnbap/CauseMisc.h54
-rw-r--r--include/osmocom/hnbap/CauseProtocol.h57
-rw-r--r--include/osmocom/hnbap/CauseRadioNetwork.h66
-rw-r--r--include/osmocom/hnbap/CauseTransport.h52
-rw-r--r--include/osmocom/hnbap/CellIdentity.h43
-rw-r--r--include/osmocom/hnbap/ConfigurationInformation.h56
-rw-r--r--include/osmocom/hnbap/Context-ID.h43
-rw-r--r--include/osmocom/hnbap/Criticality.h50
-rw-r--r--include/osmocom/hnbap/CriticalityDiagnostics.h56
-rw-r--r--include/osmocom/hnbap/ESN.h43
-rw-r--r--include/osmocom/hnbap/GTP-TEI.h43
-rw-r--r--include/osmocom/hnbap/GeographicalLocation.h51
-rw-r--r--include/osmocom/hnbap/HNB-Cell-Access-Mode.h53
-rw-r--r--include/osmocom/hnbap/HNB-Cell-Identifier.h51
-rw-r--r--include/osmocom/hnbap/HNB-GWResponse.h59
-rw-r--r--include/osmocom/hnbap/HNB-Identity-Info.h43
-rw-r--r--include/osmocom/hnbap/HNB-Location-Information.h53
-rw-r--r--include/osmocom/hnbap/HNB-RNL-Identity.h53
-rw-r--r--include/osmocom/hnbap/HNBAP-PDU.h59
-rw-r--r--include/osmocom/hnbap/HNBAP_Access-stratum-release-indicator.h56
-rw-r--r--include/osmocom/hnbap/HNBAP_AccessResult.h52
-rw-r--r--include/osmocom/hnbap/HNBAP_AdditionalNeighbourInfoList.h39
-rw-r--r--include/osmocom/hnbap/HNBAP_AltitudeAndDirection.h (renamed from include/osmocom/hnbap/AltitudeAndDirection.h)14
-rw-r--r--include/osmocom/hnbap/HNBAP_BackoffTimer.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_BindingID.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_CELL-FACHMobilitySupport.h51
-rw-r--r--include/osmocom/hnbap/HNBAP_CGI.h44
-rw-r--r--include/osmocom/hnbap/HNBAP_CI.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_CN-DomainIndicator.h49
-rw-r--r--include/osmocom/hnbap/HNBAP_CSG-Capability.h52
-rw-r--r--include/osmocom/hnbap/HNBAP_CSG-ID.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_CSGMembershipStatus.h52
-rw-r--r--include/osmocom/hnbap/HNBAP_CSGMembershipUpdate.h (renamed from include/osmocom/hnbap/CSGMembershipUpdate.h)23
-rw-r--r--include/osmocom/hnbap/HNBAP_Cause.h62
-rw-r--r--include/osmocom/hnbap/HNBAP_CauseMisc.h54
-rw-r--r--include/osmocom/hnbap/HNBAP_CauseProtocol.h57
-rw-r--r--include/osmocom/hnbap/HNBAP_CauseRadioNetwork.h66
-rw-r--r--include/osmocom/hnbap/HNBAP_CauseTransport.h52
-rw-r--r--include/osmocom/hnbap/HNBAP_CellIdentity.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_ConfigurationInformation.h56
-rw-r--r--include/osmocom/hnbap/HNBAP_Context-ID.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_Criticality.h50
-rw-r--r--include/osmocom/hnbap/HNBAP_CriticalityDiagnostics-IE-List.h (renamed from include/osmocom/hnbap/CriticalityDiagnostics-IE-List.h)35
-rw-r--r--include/osmocom/hnbap/HNBAP_CriticalityDiagnostics.h50
-rw-r--r--include/osmocom/hnbap/HNBAP_ESN.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_ErrorIndication.h (renamed from include/osmocom/hnbap/ErrorIndication.h)23
-rw-r--r--include/osmocom/hnbap/HNBAP_GTP-TEI.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_GeographicalCoordinates.h (renamed from include/osmocom/hnbap/GeographicalCoordinates.h)23
-rw-r--r--include/osmocom/hnbap/HNBAP_GeographicalLocation.h46
-rw-r--r--include/osmocom/hnbap/HNBAP_HNB-Cell-Access-Mode.h53
-rw-r--r--include/osmocom/hnbap/HNBAP_HNB-Cell-Identifier.h46
-rw-r--r--include/osmocom/hnbap/HNBAP_HNB-GWResponse.h59
-rw-r--r--include/osmocom/hnbap/HNBAP_HNB-Identity-Info.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_HNB-Identity.h (renamed from include/osmocom/hnbap/HNB-Identity.h)27
-rw-r--r--include/osmocom/hnbap/HNBAP_HNB-Location-Information.h46
-rw-r--r--include/osmocom/hnbap/HNBAP_HNB-RNL-Identity.h53
-rw-r--r--include/osmocom/hnbap/HNBAP_HNBAP-PDU.h59
-rw-r--r--include/osmocom/hnbap/HNBAP_HNBCapacity.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_HNBConfigInfo.h46
-rw-r--r--include/osmocom/hnbap/HNBAP_HNBConfigTransferRequest.h (renamed from include/osmocom/hnbap/HNBConfigTransferRequest.h)23
-rw-r--r--include/osmocom/hnbap/HNBAP_HNBConfigTransferResponse.h (renamed from include/osmocom/hnbap/HNBConfigTransferResponse.h)23
-rw-r--r--include/osmocom/hnbap/HNBAP_HNBConfigurationInformationMissing.h44
-rw-r--r--include/osmocom/hnbap/HNBAP_HNBConfigurationInformationProvided.h50
-rw-r--r--include/osmocom/hnbap/HNBAP_HNBDe-Register.h (renamed from include/osmocom/hnbap/HNBDe-Register.h)23
-rw-r--r--include/osmocom/hnbap/HNBAP_HNBRegisterAccept.h (renamed from include/osmocom/hnbap/HNBRegisterAccept.h)23
-rw-r--r--include/osmocom/hnbap/HNBAP_HNBRegisterReject.h (renamed from include/osmocom/hnbap/HNBRegisterReject.h)23
-rw-r--r--include/osmocom/hnbap/HNBAP_HNBRegisterRequest.h (renamed from include/osmocom/hnbap/HNBRegisterRequest.h)23
-rw-r--r--include/osmocom/hnbap/HNBAP_IE-Extensions.h (renamed from include/osmocom/hnbap/RABList.h)23
-rw-r--r--include/osmocom/hnbap/HNBAP_IE.h (renamed from include/osmocom/hnbap/IE.h)22
-rw-r--r--include/osmocom/hnbap/HNBAP_IMEI.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_IMSI.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_IMSIDS41.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_IMSIESN.h (renamed from include/osmocom/hnbap/IMSIESN.h)22
-rw-r--r--include/osmocom/hnbap/HNBAP_IP-Address.h (renamed from include/osmocom/hnbap/IP-Address.h)33
-rw-r--r--include/osmocom/hnbap/HNBAP_InitiatingMessage.h (renamed from include/osmocom/hnbap/InitiatingMessage.h)22
-rw-r--r--include/osmocom/hnbap/HNBAP_Ipv4Address.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_Ipv6Address.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_Iurh-Signalling-TNL-AddressList.h39
-rw-r--r--include/osmocom/hnbap/HNBAP_LAC.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_LAI.h (renamed from include/osmocom/hnbap/RAI.h)22
-rw-r--r--include/osmocom/hnbap/HNBAP_MacroCellID.h56
-rw-r--r--include/osmocom/hnbap/HNBAP_MacroCoverageInformation.h44
-rw-r--r--include/osmocom/hnbap/HNBAP_MuxPortNumber.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_NeighbourCellIdentityList.h39
-rw-r--r--include/osmocom/hnbap/HNBAP_NeighbourIdentity.h56
-rw-r--r--include/osmocom/hnbap/HNBAP_NeighbourInfoList.h (renamed from include/osmocom/hnbap/NeighbourInfoList.h)23
-rw-r--r--include/osmocom/hnbap/HNBAP_NeighbourInfoRequestItem.h44
-rw-r--r--include/osmocom/hnbap/HNBAP_NeighbourInfoRequestList.h39
-rw-r--r--include/osmocom/hnbap/HNBAP_PLMNidentity.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_PSC.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_PTMSI.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_PTMSIRAI.h (renamed from include/osmocom/hnbap/PTMSIRAI.h)22
-rw-r--r--include/osmocom/hnbap/HNBAP_Presence.h50
-rw-r--r--include/osmocom/hnbap/HNBAP_PrivateIE-ID.h (renamed from include/osmocom/hnbap/PrivateIE-ID.h)30
-rw-r--r--include/osmocom/hnbap/HNBAP_PrivateMessage.h (renamed from include/osmocom/hnbap/PrivateMessage.h)23
-rw-r--r--include/osmocom/hnbap/HNBAP_ProcedureCode.h58
-rw-r--r--include/osmocom/hnbap/HNBAP_ProtocolIE-ID.h89
-rw-r--r--include/osmocom/hnbap/HNBAP_RAB-ID.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_RABList.h (renamed from include/osmocom/hnbap/URAIdentityList.h)18
-rw-r--r--include/osmocom/hnbap/HNBAP_RABListItem.h49
-rw-r--r--include/osmocom/hnbap/HNBAP_RAC.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_RAI.h (renamed from include/osmocom/hnbap/LAI.h)22
-rw-r--r--include/osmocom/hnbap/HNBAP_RNC-ID.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_Registration-Cause.h53
-rw-r--r--include/osmocom/hnbap/HNBAP_RelocationComplete.h (renamed from include/osmocom/hnbap/RelocationComplete.h)23
-rw-r--r--include/osmocom/hnbap/HNBAP_S-RNTIPrefix.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_SAC.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_SuccessfulOutcome.h (renamed from include/osmocom/hnbap/SuccessfulOutcome.h)22
-rw-r--r--include/osmocom/hnbap/HNBAP_TMSIDS41.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_TMSILAI.h (renamed from include/osmocom/hnbap/TMSILAI.h)18
-rw-r--r--include/osmocom/hnbap/HNBAP_TNLUpdateFailure.h (renamed from include/osmocom/hnbap/TNLUpdateFailure.h)23
-rw-r--r--include/osmocom/hnbap/HNBAP_TNLUpdateRequest.h (renamed from include/osmocom/hnbap/TNLUpdateRequest.h)23
-rw-r--r--include/osmocom/hnbap/HNBAP_TNLUpdateResponse.h (renamed from include/osmocom/hnbap/TNLUpdateResponse.h)23
-rw-r--r--include/osmocom/hnbap/HNBAP_TransportInfo.h (renamed from include/osmocom/hnbap/TransportInfo.h)37
-rw-r--r--include/osmocom/hnbap/HNBAP_TransportLayerAddress.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_TriggeringMessage.h50
-rw-r--r--include/osmocom/hnbap/HNBAP_Tunnel-Information.h46
-rw-r--r--include/osmocom/hnbap/HNBAP_TypeOfError.h52
-rw-r--r--include/osmocom/hnbap/HNBAP_U-RNTI.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_U-RNTIQueryRequest.h (renamed from include/osmocom/hnbap/U-RNTIQueryRequest.h)23
-rw-r--r--include/osmocom/hnbap/HNBAP_U-RNTIQueryResponse.h (renamed from include/osmocom/hnbap/U-RNTIQueryResponse.h)23
-rw-r--r--include/osmocom/hnbap/HNBAP_UDP-Port-Number.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_UE-Capabilities.h46
-rw-r--r--include/osmocom/hnbap/HNBAP_UE-Identity.h74
-rw-r--r--include/osmocom/hnbap/HNBAP_UEDe-Register.h (renamed from include/osmocom/hnbap/UEDe-Register.h)23
-rw-r--r--include/osmocom/hnbap/HNBAP_UERegisterAccept.h (renamed from include/osmocom/hnbap/UERegisterAccept.h)23
-rw-r--r--include/osmocom/hnbap/HNBAP_UERegisterReject.h (renamed from include/osmocom/hnbap/UERegisterReject.h)23
-rw-r--r--include/osmocom/hnbap/HNBAP_UERegisterRequest.h (renamed from include/osmocom/hnbap/UERegisterRequest.h)23
-rw-r--r--include/osmocom/hnbap/HNBAP_URAIdentity.h43
-rw-r--r--include/osmocom/hnbap/HNBAP_URAIdentityList.h (renamed from include/osmocom/hnbap/IE-Extensions.h)23
-rw-r--r--include/osmocom/hnbap/HNBAP_UTRANCellID.h46
-rw-r--r--include/osmocom/hnbap/HNBAP_UnknownU-RNTIIndication.h51
-rw-r--r--include/osmocom/hnbap/HNBAP_UnsuccessfulOutcome.h (renamed from include/osmocom/hnbap/UnsuccessfulOutcome.h)22
-rw-r--r--include/osmocom/hnbap/HNBAP_Update-cause.h51
-rw-r--r--include/osmocom/hnbap/HNBCapacity.h43
-rw-r--r--include/osmocom/hnbap/HNBConfigInfo.h51
-rw-r--r--include/osmocom/hnbap/HNBConfigurationInformationMissing.h49
-rw-r--r--include/osmocom/hnbap/HNBConfigurationInformationProvided.h55
-rw-r--r--include/osmocom/hnbap/IMEI.h43
-rw-r--r--include/osmocom/hnbap/IMSI.h43
-rw-r--r--include/osmocom/hnbap/IMSIDS41.h43
-rw-r--r--include/osmocom/hnbap/Ipv4Address.h43
-rw-r--r--include/osmocom/hnbap/Ipv6Address.h43
-rw-r--r--include/osmocom/hnbap/Iurh-Signalling-TNL-AddressList.h44
-rw-r--r--include/osmocom/hnbap/LAC.h43
-rw-r--r--include/osmocom/hnbap/MacroCellID.h56
-rw-r--r--include/osmocom/hnbap/MacroCoverageInformation.h49
-rw-r--r--include/osmocom/hnbap/Makefile.am230
-rw-r--r--include/osmocom/hnbap/MuxPortNumber.h43
-rw-r--r--include/osmocom/hnbap/NeighbourCellIdentityList.h44
-rw-r--r--include/osmocom/hnbap/NeighbourIdentity.h56
-rw-r--r--include/osmocom/hnbap/NeighbourInfoRequestItem.h49
-rw-r--r--include/osmocom/hnbap/NeighbourInfoRequestList.h44
-rw-r--r--include/osmocom/hnbap/PLMNidentity.h43
-rw-r--r--include/osmocom/hnbap/PSC.h43
-rw-r--r--include/osmocom/hnbap/PTMSI.h43
-rw-r--r--include/osmocom/hnbap/Presence.h50
-rw-r--r--include/osmocom/hnbap/ProcedureCode.h58
-rw-r--r--include/osmocom/hnbap/ProtocolIE-ID.h89
-rw-r--r--include/osmocom/hnbap/RAB-ID.h43
-rw-r--r--include/osmocom/hnbap/RABListItem.h54
-rw-r--r--include/osmocom/hnbap/RAC.h43
-rw-r--r--include/osmocom/hnbap/RNC-ID.h43
-rw-r--r--include/osmocom/hnbap/Registration-Cause.h53
-rw-r--r--include/osmocom/hnbap/S-RNTIPrefix.h43
-rw-r--r--include/osmocom/hnbap/SAC.h43
-rw-r--r--include/osmocom/hnbap/TMSIDS41.h43
-rw-r--r--include/osmocom/hnbap/TransportLayerAddress.h43
-rw-r--r--include/osmocom/hnbap/TriggeringMessage.h50
-rw-r--r--include/osmocom/hnbap/Tunnel-Information.h51
-rw-r--r--include/osmocom/hnbap/TypeOfError.h52
-rw-r--r--include/osmocom/hnbap/U-RNTI.h43
-rw-r--r--include/osmocom/hnbap/UDP-Port-Number.h43
-rw-r--r--include/osmocom/hnbap/UE-Capabilities.h51
-rw-r--r--include/osmocom/hnbap/UE-Identity.h74
-rw-r--r--include/osmocom/hnbap/URAIdentity.h43
-rw-r--r--include/osmocom/hnbap/UTRANCellID.h51
-rw-r--r--include/osmocom/hnbap/UnknownU-RNTIIndication.h51
-rw-r--r--include/osmocom/hnbap/Update-cause.h51
-rw-r--r--include/osmocom/hnbap/hnbap_common.h256
-rw-r--r--src/Makefile.am2
-rw-r--r--src/hnbap/AccessResult.c168
-rw-r--r--src/hnbap/AdditionalNeighbourInfoList.c60
-rw-r--r--src/hnbap/BindingID.c167
-rw-r--r--src/hnbap/GeographicalLocation.c84
-rw-r--r--src/hnbap/HNB-Cell-Identifier.c84
-rw-r--r--src/hnbap/HNB-Identity.c74
-rw-r--r--src/hnbap/HNB-Location-Information.c84
-rw-r--r--src/hnbap/HNBAP_Access-stratum-release-indicator.c (renamed from src/hnbap/Access-stratum-release-indicator.c)104
-rw-r--r--src/hnbap/HNBAP_AccessResult.c (renamed from src/hnbap/Registration-Cause.c)116
-rw-r--r--src/hnbap/HNBAP_AdditionalNeighbourInfoList.c60
-rw-r--r--src/hnbap/HNBAP_AltitudeAndDirection.c (renamed from src/hnbap/AltitudeAndDirection.c)42
-rw-r--r--src/hnbap/HNBAP_BackoffTimer.c (renamed from src/hnbap/BackoffTimer.c)92
-rw-r--r--src/hnbap/HNBAP_BindingID.c (renamed from src/hnbap/UDP-Port-Number.c)96
-rw-r--r--src/hnbap/HNBAP_CELL-FACHMobilitySupport.c166
-rw-r--r--src/hnbap/HNBAP_CGI.c (renamed from src/hnbap/CGI.c)58
-rw-r--r--src/hnbap/HNBAP_CI.c (renamed from src/hnbap/SAC.c)92
-rw-r--r--src/hnbap/HNBAP_CN-DomainIndicator.c (renamed from src/hnbap/CN-DomainIndicator.c)104
-rw-r--r--src/hnbap/HNBAP_CSG-Capability.c (renamed from src/hnbap/CSG-Capability.c)104
-rw-r--r--src/hnbap/HNBAP_CSG-ID.c (renamed from src/hnbap/S-RNTIPrefix.c)96
-rw-r--r--src/hnbap/HNBAP_CSGMembershipStatus.c (renamed from src/hnbap/CSGMembershipStatus.c)104
-rw-r--r--src/hnbap/HNBAP_CSGMembershipUpdate.c (renamed from src/hnbap/CSGMembershipUpdate.c)44
-rw-r--r--src/hnbap/HNBAP_Cause.c (renamed from src/hnbap/Cause.c)48
-rw-r--r--src/hnbap/HNBAP_CauseMisc.c (renamed from src/hnbap/CauseMisc.c)104
-rw-r--r--src/hnbap/HNBAP_CauseProtocol.c (renamed from src/hnbap/CauseProtocol.c)104
-rw-r--r--src/hnbap/HNBAP_CauseRadioNetwork.c (renamed from src/hnbap/CauseRadioNetwork.c)104
-rw-r--r--src/hnbap/HNBAP_CauseTransport.c (renamed from src/hnbap/CauseTransport.c)104
-rw-r--r--src/hnbap/HNBAP_CellIdentity.c172
-rw-r--r--src/hnbap/HNBAP_ConfigurationInformation.c (renamed from src/hnbap/ConfigurationInformation.c)40
-rw-r--r--src/hnbap/HNBAP_Context-ID.c (renamed from src/hnbap/CSG-ID.c)96
-rw-r--r--src/hnbap/HNBAP_Criticality.c (renamed from src/hnbap/TriggeringMessage.c)116
-rw-r--r--src/hnbap/HNBAP_CriticalityDiagnostics-IE-List.c (renamed from src/hnbap/CriticalityDiagnostics-IE-List.c)46
-rw-r--r--src/hnbap/HNBAP_CriticalityDiagnostics.c (renamed from src/hnbap/CriticalityDiagnostics.c)62
-rw-r--r--src/hnbap/HNBAP_ESN.c (renamed from src/hnbap/PTMSI.c)92
-rw-r--r--src/hnbap/HNBAP_ErrorIndication.c (renamed from src/hnbap/ErrorIndication.c)44
-rw-r--r--src/hnbap/HNBAP_GTP-TEI.c (renamed from src/hnbap/Ipv4Address.c)92
-rw-r--r--src/hnbap/HNBAP_GeographicalCoordinates.c (renamed from src/hnbap/GeographicalCoordinates.c)52
-rw-r--r--src/hnbap/HNBAP_GeographicalLocation.c84
-rw-r--r--src/hnbap/HNBAP_HNB-Cell-Access-Mode.c (renamed from src/hnbap/HNB-Cell-Access-Mode.c)104
-rw-r--r--src/hnbap/HNBAP_HNB-Cell-Identifier.c84
-rw-r--r--src/hnbap/HNBAP_HNB-GWResponse.c (renamed from src/hnbap/HNB-GWResponse.c)44
-rw-r--r--src/hnbap/HNBAP_HNB-Identity-Info.c (renamed from src/hnbap/GTP-TEI.c)96
-rw-r--r--src/hnbap/HNBAP_HNB-Identity.c74
-rw-r--r--src/hnbap/HNBAP_HNB-Location-Information.c84
-rw-r--r--src/hnbap/HNBAP_HNB-RNL-Identity.c (renamed from src/hnbap/HNB-RNL-Identity.c)36
-rw-r--r--src/hnbap/HNBAP_HNBAP-PDU.c (renamed from src/hnbap/HNBAP-PDU.c)44
-rw-r--r--src/hnbap/HNBAP_HNBCapacity.c (renamed from src/hnbap/HNBCapacity.c)92
-rw-r--r--src/hnbap/HNBAP_HNBConfigInfo.c (renamed from src/hnbap/HNBConfigInfo.c)54
-rw-r--r--src/hnbap/HNBAP_HNBConfigTransferRequest.c (renamed from src/hnbap/HNBConfigTransferRequest.c)44
-rw-r--r--src/hnbap/HNBAP_HNBConfigTransferResponse.c (renamed from src/hnbap/HNBConfigTransferResponse.c)44
-rw-r--r--src/hnbap/HNBAP_HNBConfigurationInformationMissing.c74
-rw-r--r--src/hnbap/HNBAP_HNBConfigurationInformationProvided.c104
-rw-r--r--src/hnbap/HNBAP_HNBDe-Register.c (renamed from src/hnbap/HNBDe-Register.c)44
-rw-r--r--src/hnbap/HNBAP_HNBRegisterAccept.c (renamed from src/hnbap/HNBRegisterAccept.c)44
-rw-r--r--src/hnbap/HNBAP_HNBRegisterReject.c (renamed from src/hnbap/HNBRegisterReject.c)44
-rw-r--r--src/hnbap/HNBAP_HNBRegisterRequest.c (renamed from src/hnbap/HNBRegisterRequest.c)44
-rw-r--r--src/hnbap/HNBAP_IE-Extensions.c60
-rw-r--r--src/hnbap/HNBAP_IE.c (renamed from src/hnbap/IE.c)48
-rw-r--r--src/hnbap/HNBAP_IMEI.c (renamed from src/hnbap/Context-ID.c)96
-rw-r--r--src/hnbap/HNBAP_IMSI.c (renamed from src/hnbap/IMSI.c)92
-rw-r--r--src/hnbap/HNBAP_IMSIDS41.c (renamed from src/hnbap/IMSIDS41.c)92
-rw-r--r--src/hnbap/HNBAP_IMSIESN.c (renamed from src/hnbap/IMSIESN.c)46
-rw-r--r--src/hnbap/HNBAP_IP-Address.c (renamed from src/hnbap/IP-Address.c)52
-rw-r--r--src/hnbap/HNBAP_InitiatingMessage.c (renamed from src/hnbap/UnsuccessfulOutcome.c)48
-rw-r--r--src/hnbap/HNBAP_Ipv4Address.c (renamed from src/hnbap/HNB-Identity-Info.c)96
-rw-r--r--src/hnbap/HNBAP_Ipv6Address.c (renamed from src/hnbap/Ipv6Address.c)92
-rw-r--r--src/hnbap/HNBAP_Iurh-Signalling-TNL-AddressList.c60
-rw-r--r--src/hnbap/HNBAP_LAC.c (renamed from src/hnbap/LAC.c)92
-rw-r--r--src/hnbap/HNBAP_LAI.c (renamed from src/hnbap/LAI.c)46
-rw-r--r--src/hnbap/HNBAP_MacroCellID.c (renamed from src/hnbap/MacroCellID.c)40
-rw-r--r--src/hnbap/HNBAP_MacroCoverageInformation.c74
-rw-r--r--src/hnbap/HNBAP_MuxPortNumber.c (renamed from src/hnbap/MuxPortNumber.c)92
-rw-r--r--src/hnbap/HNBAP_NeighbourCellIdentityList.c60
-rw-r--r--src/hnbap/HNBAP_NeighbourIdentity.c (renamed from src/hnbap/NeighbourIdentity.c)40
-rw-r--r--src/hnbap/HNBAP_NeighbourInfoList.c60
-rw-r--r--src/hnbap/HNBAP_NeighbourInfoRequestItem.c74
-rw-r--r--src/hnbap/HNBAP_NeighbourInfoRequestList.c60
-rw-r--r--src/hnbap/HNBAP_PLMNidentity.c (renamed from src/hnbap/PLMNidentity.c)92
-rw-r--r--src/hnbap/HNBAP_PSC.c (renamed from src/hnbap/PSC.c)92
-rw-r--r--src/hnbap/HNBAP_PTMSI.c (renamed from src/hnbap/U-RNTI.c)92
-rw-r--r--src/hnbap/HNBAP_PTMSIRAI.c (renamed from src/hnbap/PTMSIRAI.c)46
-rw-r--r--src/hnbap/HNBAP_Presence.c (renamed from src/hnbap/Presence.c)104
-rw-r--r--src/hnbap/HNBAP_PrivateIE-ID.c (renamed from src/hnbap/PrivateIE-ID.c)36
-rw-r--r--src/hnbap/HNBAP_PrivateMessage.c (renamed from src/hnbap/PrivateMessage.c)44
-rw-r--r--src/hnbap/HNBAP_ProcedureCode.c (renamed from src/hnbap/ProcedureCode.c)92
-rw-r--r--src/hnbap/HNBAP_ProtocolIE-ID.c (renamed from src/hnbap/ProtocolIE-ID.c)92
-rw-r--r--src/hnbap/HNBAP_RAB-ID.c (renamed from src/hnbap/CellIdentity.c)96
-rw-r--r--src/hnbap/HNBAP_RABList.c60
-rw-r--r--src/hnbap/HNBAP_RABListItem.c (renamed from src/hnbap/RABListItem.c)62
-rw-r--r--src/hnbap/HNBAP_RAC.c (renamed from src/hnbap/RAC.c)92
-rw-r--r--src/hnbap/HNBAP_RAI.c (renamed from src/hnbap/RAI.c)46
-rw-r--r--src/hnbap/HNBAP_RNC-ID.c (renamed from src/hnbap/URAIdentity.c)92
-rw-r--r--src/hnbap/HNBAP_Registration-Cause.c (renamed from src/hnbap/CELL-FACHMobilitySupport.c)118
-rw-r--r--src/hnbap/HNBAP_RelocationComplete.c (renamed from src/hnbap/RelocationComplete.c)44
-rw-r--r--src/hnbap/HNBAP_S-RNTIPrefix.c172
-rw-r--r--src/hnbap/HNBAP_SAC.c (renamed from src/hnbap/CI.c)92
-rw-r--r--src/hnbap/HNBAP_SuccessfulOutcome.c (renamed from src/hnbap/SuccessfulOutcome.c)48
-rw-r--r--src/hnbap/HNBAP_TMSIDS41.c (renamed from src/hnbap/TMSIDS41.c)92
-rw-r--r--src/hnbap/HNBAP_TMSILAI.c (renamed from src/hnbap/TMSILAI.c)44
-rw-r--r--src/hnbap/HNBAP_TNLUpdateFailure.c (renamed from src/hnbap/TNLUpdateFailure.c)44
-rw-r--r--src/hnbap/HNBAP_TNLUpdateRequest.c (renamed from src/hnbap/TNLUpdateRequest.c)44
-rw-r--r--src/hnbap/HNBAP_TNLUpdateResponse.c (renamed from src/hnbap/TNLUpdateResponse.c)44
-rw-r--r--src/hnbap/HNBAP_TransportInfo.c (renamed from src/hnbap/TransportInfo.c)56
-rw-r--r--src/hnbap/HNBAP_TransportLayerAddress.c (renamed from src/hnbap/TransportLayerAddress.c)92
-rw-r--r--src/hnbap/HNBAP_TriggeringMessage.c (renamed from src/hnbap/Criticality.c)116
-rw-r--r--src/hnbap/HNBAP_Tunnel-Information.c (renamed from src/hnbap/Tunnel-Information.c)54
-rw-r--r--src/hnbap/HNBAP_TypeOfError.c (renamed from src/hnbap/TypeOfError.c)104
-rw-r--r--src/hnbap/HNBAP_U-RNTI.c (renamed from src/hnbap/ESN.c)92
-rw-r--r--src/hnbap/HNBAP_U-RNTIQueryRequest.c (renamed from src/hnbap/U-RNTIQueryRequest.c)44
-rw-r--r--src/hnbap/HNBAP_U-RNTIQueryResponse.c (renamed from src/hnbap/U-RNTIQueryResponse.c)44
-rw-r--r--src/hnbap/HNBAP_UDP-Port-Number.c167
-rw-r--r--src/hnbap/HNBAP_UE-Capabilities.c (renamed from src/hnbap/UE-Capabilities.c)54
-rw-r--r--src/hnbap/HNBAP_UE-Identity.c (renamed from src/hnbap/UE-Identity.c)64
-rw-r--r--src/hnbap/HNBAP_UEDe-Register.c (renamed from src/hnbap/UEDe-Register.c)44
-rw-r--r--src/hnbap/HNBAP_UERegisterAccept.c (renamed from src/hnbap/UERegisterAccept.c)44
-rw-r--r--src/hnbap/HNBAP_UERegisterReject.c (renamed from src/hnbap/UERegisterReject.c)44
-rw-r--r--src/hnbap/HNBAP_UERegisterRequest.c (renamed from src/hnbap/UERegisterRequest.c)44
-rw-r--r--src/hnbap/HNBAP_URAIdentity.c (renamed from src/hnbap/RNC-ID.c)92
-rw-r--r--src/hnbap/HNBAP_URAIdentityList.c60
-rw-r--r--src/hnbap/HNBAP_UTRANCellID.c (renamed from src/hnbap/UTRANCellID.c)62
-rw-r--r--src/hnbap/HNBAP_UnknownU-RNTIIndication.c (renamed from src/hnbap/UnknownU-RNTIIndication.c)104
-rw-r--r--src/hnbap/HNBAP_UnsuccessfulOutcome.c (renamed from src/hnbap/InitiatingMessage.c)48
-rw-r--r--src/hnbap/HNBAP_Update-cause.c (renamed from src/hnbap/Update-cause.c)104
-rw-r--r--src/hnbap/HNBConfigurationInformationMissing.c74
-rw-r--r--src/hnbap/HNBConfigurationInformationProvided.c104
-rw-r--r--src/hnbap/IE-Extensions.c60
-rw-r--r--src/hnbap/IMEI.c172
-rw-r--r--src/hnbap/Iurh-Signalling-TNL-AddressList.c60
-rw-r--r--src/hnbap/MacroCoverageInformation.c74
-rw-r--r--src/hnbap/Makefile.am462
-rw-r--r--src/hnbap/NeighbourCellIdentityList.c60
-rw-r--r--src/hnbap/NeighbourInfoList.c60
-rw-r--r--src/hnbap/NeighbourInfoRequestItem.c74
-rw-r--r--src/hnbap/NeighbourInfoRequestList.c60
-rw-r--r--src/hnbap/RAB-ID.c172
-rw-r--r--src/hnbap/RABList.c60
-rw-r--r--src/hnbap/URAIdentityList.c60
-rw-r--r--src/hnbap_common.c115
-rw-r--r--src/hnbgw_hnbap.c150
-rw-r--r--src/hnbgw_rua.c2
-rw-r--r--src/tests/hnb-test.c60
-rw-r--r--src/tests/test-hnbap.c39
335 files changed, 9928 insertions, 10166 deletions
diff --git a/include/osmocom/hnbap/Access-stratum-release-indicator.h b/include/osmocom/hnbap/Access-stratum-release-indicator.h
deleted file mode 100644
index 1e228e4..0000000
--- a/include/osmocom/hnbap/Access-stratum-release-indicator.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _Access_stratum_release_indicator_H_
-#define _Access_stratum_release_indicator_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <NativeEnumerated.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum Access_stratum_release_indicator {
- Access_stratum_release_indicator_r99 = 0,
- Access_stratum_release_indicator_rel_4 = 1,
- Access_stratum_release_indicator_rel_5 = 2,
- Access_stratum_release_indicator_rel_6 = 3,
- Access_stratum_release_indicator_rel_7 = 4,
- Access_stratum_release_indicator_rel_8_and_beyond = 5
- /*
- * Enumeration is extensible
- */
-} e_Access_stratum_release_indicator;
-
-/* Access-stratum-release-indicator */
-typedef long Access_stratum_release_indicator_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_Access_stratum_release_indicator;
-asn_struct_free_f Access_stratum_release_indicator_free;
-asn_struct_print_f Access_stratum_release_indicator_print;
-asn_constr_check_f Access_stratum_release_indicator_constraint;
-ber_type_decoder_f Access_stratum_release_indicator_decode_ber;
-der_type_encoder_f Access_stratum_release_indicator_encode_der;
-xer_type_decoder_f Access_stratum_release_indicator_decode_xer;
-xer_type_encoder_f Access_stratum_release_indicator_encode_xer;
-per_type_decoder_f Access_stratum_release_indicator_decode_uper;
-per_type_encoder_f Access_stratum_release_indicator_encode_uper;
-per_type_decoder_f Access_stratum_release_indicator_decode_aper;
-per_type_encoder_f Access_stratum_release_indicator_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _Access_stratum_release_indicator_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/AccessResult.h b/include/osmocom/hnbap/AccessResult.h
deleted file mode 100644
index 601b8ae..0000000
--- a/include/osmocom/hnbap/AccessResult.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _AccessResult_H_
-#define _AccessResult_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <NativeEnumerated.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum AccessResult {
- AccessResult_allowed = 0,
- AccessResult_notAllowed = 1
- /*
- * Enumeration is extensible
- */
-} e_AccessResult;
-
-/* AccessResult */
-typedef long AccessResult_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_AccessResult;
-asn_struct_free_f AccessResult_free;
-asn_struct_print_f AccessResult_print;
-asn_constr_check_f AccessResult_constraint;
-ber_type_decoder_f AccessResult_decode_ber;
-der_type_encoder_f AccessResult_encode_der;
-xer_type_decoder_f AccessResult_decode_xer;
-xer_type_encoder_f AccessResult_encode_xer;
-per_type_decoder_f AccessResult_decode_uper;
-per_type_encoder_f AccessResult_encode_uper;
-per_type_decoder_f AccessResult_decode_aper;
-per_type_encoder_f AccessResult_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _AccessResult_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/AdditionalNeighbourInfoList.h b/include/osmocom/hnbap/AdditionalNeighbourInfoList.h
deleted file mode 100644
index abd98bb..0000000
--- a/include/osmocom/hnbap/AdditionalNeighbourInfoList.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _AdditionalNeighbourInfoList_H_
-#define _AdditionalNeighbourInfoList_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <asn_SEQUENCE_OF.h>
-#include <constr_SEQUENCE_OF.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Forward declarations */
-struct HNBConfigInfo;
-
-/* AdditionalNeighbourInfoList */
-typedef struct AdditionalNeighbourInfoList {
- A_SEQUENCE_OF(struct HNBConfigInfo) list;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
-} AdditionalNeighbourInfoList_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_AdditionalNeighbourInfoList;
-
-#ifdef __cplusplus
-}
-#endif
-
-/* Referred external types */
-#include <osmocom/hnbap/HNBConfigInfo.h>
-
-#endif /* _AdditionalNeighbourInfoList_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/BackoffTimer.h b/include/osmocom/hnbap/BackoffTimer.h
deleted file mode 100644
index f7d986c..0000000
--- a/include/osmocom/hnbap/BackoffTimer.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _BackoffTimer_H_
-#define _BackoffTimer_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <NativeInteger.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* BackoffTimer */
-typedef long BackoffTimer_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_BackoffTimer;
-asn_struct_free_f BackoffTimer_free;
-asn_struct_print_f BackoffTimer_print;
-asn_constr_check_f BackoffTimer_constraint;
-ber_type_decoder_f BackoffTimer_decode_ber;
-der_type_encoder_f BackoffTimer_encode_der;
-xer_type_decoder_f BackoffTimer_decode_xer;
-xer_type_encoder_f BackoffTimer_encode_xer;
-per_type_decoder_f BackoffTimer_decode_uper;
-per_type_encoder_f BackoffTimer_encode_uper;
-per_type_decoder_f BackoffTimer_decode_aper;
-per_type_encoder_f BackoffTimer_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _BackoffTimer_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/BindingID.h b/include/osmocom/hnbap/BindingID.h
deleted file mode 100644
index 71832d2..0000000
--- a/include/osmocom/hnbap/BindingID.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _BindingID_H_
-#define _BindingID_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <OCTET_STRING.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* BindingID */
-typedef OCTET_STRING_t BindingID_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_BindingID;
-asn_struct_free_f BindingID_free;
-asn_struct_print_f BindingID_print;
-asn_constr_check_f BindingID_constraint;
-ber_type_decoder_f BindingID_decode_ber;
-der_type_encoder_f BindingID_encode_der;
-xer_type_decoder_f BindingID_decode_xer;
-xer_type_encoder_f BindingID_encode_xer;
-per_type_decoder_f BindingID_decode_uper;
-per_type_encoder_f BindingID_encode_uper;
-per_type_decoder_f BindingID_decode_aper;
-per_type_encoder_f BindingID_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _BindingID_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/CELL-FACHMobilitySupport.h b/include/osmocom/hnbap/CELL-FACHMobilitySupport.h
deleted file mode 100644
index 874c638..0000000
--- a/include/osmocom/hnbap/CELL-FACHMobilitySupport.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _CELL_FACHMobilitySupport_H_
-#define _CELL_FACHMobilitySupport_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <NativeEnumerated.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum CELL_FACHMobilitySupport {
- CELL_FACHMobilitySupport_supported = 0
- /*
- * Enumeration is extensible
- */
-} e_CELL_FACHMobilitySupport;
-
-/* CELL-FACHMobilitySupport */
-typedef long CELL_FACHMobilitySupport_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_CELL_FACHMobilitySupport;
-asn_struct_free_f CELL_FACHMobilitySupport_free;
-asn_struct_print_f CELL_FACHMobilitySupport_print;
-asn_constr_check_f CELL_FACHMobilitySupport_constraint;
-ber_type_decoder_f CELL_FACHMobilitySupport_decode_ber;
-der_type_encoder_f CELL_FACHMobilitySupport_encode_der;
-xer_type_decoder_f CELL_FACHMobilitySupport_decode_xer;
-xer_type_encoder_f CELL_FACHMobilitySupport_encode_xer;
-per_type_decoder_f CELL_FACHMobilitySupport_decode_uper;
-per_type_encoder_f CELL_FACHMobilitySupport_encode_uper;
-per_type_decoder_f CELL_FACHMobilitySupport_decode_aper;
-per_type_encoder_f CELL_FACHMobilitySupport_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _CELL_FACHMobilitySupport_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/CGI.h b/include/osmocom/hnbap/CGI.h
deleted file mode 100644
index 167fb7f..0000000
--- a/include/osmocom/hnbap/CGI.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _CGI_H_
-#define _CGI_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <osmocom/hnbap/PLMNidentity.h>
-#include <osmocom/hnbap/LAC.h>
-#include <osmocom/hnbap/CI.h>
-#include <constr_SEQUENCE.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Forward declarations */
-struct IE_Extensions;
-
-/* CGI */
-typedef struct CGI {
- PLMNidentity_t pLMNidentity;
- LAC_t lAC;
- CI_t cI;
- struct IE_Extensions *iE_Extensions /* OPTIONAL */;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
-} CGI_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_CGI;
-
-#ifdef __cplusplus
-}
-#endif
-
-/* Referred external types */
-#include <osmocom/hnbap/IE-Extensions.h>
-
-#endif /* _CGI_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/CI.h b/include/osmocom/hnbap/CI.h
deleted file mode 100644
index b941fc6..0000000
--- a/include/osmocom/hnbap/CI.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _CI_H_
-#define _CI_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <OCTET_STRING.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* CI */
-typedef OCTET_STRING_t CI_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_CI;
-asn_struct_free_f CI_free;
-asn_struct_print_f CI_print;
-asn_constr_check_f CI_constraint;
-ber_type_decoder_f CI_decode_ber;
-der_type_encoder_f CI_encode_der;
-xer_type_decoder_f CI_decode_xer;
-xer_type_encoder_f CI_encode_xer;
-per_type_decoder_f CI_decode_uper;
-per_type_encoder_f CI_encode_uper;
-per_type_decoder_f CI_decode_aper;
-per_type_encoder_f CI_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _CI_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/CN-DomainIndicator.h b/include/osmocom/hnbap/CN-DomainIndicator.h
deleted file mode 100644
index ebd2165..0000000
--- a/include/osmocom/hnbap/CN-DomainIndicator.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _CN_DomainIndicator_H_
-#define _CN_DomainIndicator_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <NativeEnumerated.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum CN_DomainIndicator {
- CN_DomainIndicator_cs_domain = 0,
- CN_DomainIndicator_ps_domain = 1
-} e_CN_DomainIndicator;
-
-/* CN-DomainIndicator */
-typedef long CN_DomainIndicator_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_CN_DomainIndicator;
-asn_struct_free_f CN_DomainIndicator_free;
-asn_struct_print_f CN_DomainIndicator_print;
-asn_constr_check_f CN_DomainIndicator_constraint;
-ber_type_decoder_f CN_DomainIndicator_decode_ber;
-der_type_encoder_f CN_DomainIndicator_encode_der;
-xer_type_decoder_f CN_DomainIndicator_decode_xer;
-xer_type_encoder_f CN_DomainIndicator_encode_xer;
-per_type_decoder_f CN_DomainIndicator_decode_uper;
-per_type_encoder_f CN_DomainIndicator_encode_uper;
-per_type_decoder_f CN_DomainIndicator_decode_aper;
-per_type_encoder_f CN_DomainIndicator_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _CN_DomainIndicator_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/CSG-Capability.h b/include/osmocom/hnbap/CSG-Capability.h
deleted file mode 100644
index 92695d4..0000000
--- a/include/osmocom/hnbap/CSG-Capability.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _CSG_Capability_H_
-#define _CSG_Capability_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <NativeEnumerated.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum CSG_Capability {
- CSG_Capability_csg_capable = 0,
- CSG_Capability_not_csg_capable = 1
- /*
- * Enumeration is extensible
- */
-} e_CSG_Capability;
-
-/* CSG-Capability */
-typedef long CSG_Capability_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_CSG_Capability;
-asn_struct_free_f CSG_Capability_free;
-asn_struct_print_f CSG_Capability_print;
-asn_constr_check_f CSG_Capability_constraint;
-ber_type_decoder_f CSG_Capability_decode_ber;
-der_type_encoder_f CSG_Capability_encode_der;
-xer_type_decoder_f CSG_Capability_decode_xer;
-xer_type_encoder_f CSG_Capability_encode_xer;
-per_type_decoder_f CSG_Capability_decode_uper;
-per_type_encoder_f CSG_Capability_encode_uper;
-per_type_decoder_f CSG_Capability_decode_aper;
-per_type_encoder_f CSG_Capability_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _CSG_Capability_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/CSG-ID.h b/include/osmocom/hnbap/CSG-ID.h
deleted file mode 100644
index 465fb4c..0000000
--- a/include/osmocom/hnbap/CSG-ID.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _CSG_ID_H_
-#define _CSG_ID_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <BIT_STRING.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* CSG-ID */
-typedef BIT_STRING_t CSG_ID_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_CSG_ID;
-asn_struct_free_f CSG_ID_free;
-asn_struct_print_f CSG_ID_print;
-asn_constr_check_f CSG_ID_constraint;
-ber_type_decoder_f CSG_ID_decode_ber;
-der_type_encoder_f CSG_ID_encode_der;
-xer_type_decoder_f CSG_ID_decode_xer;
-xer_type_encoder_f CSG_ID_encode_xer;
-per_type_decoder_f CSG_ID_decode_uper;
-per_type_encoder_f CSG_ID_encode_uper;
-per_type_decoder_f CSG_ID_decode_aper;
-per_type_encoder_f CSG_ID_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _CSG_ID_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/CSGMembershipStatus.h b/include/osmocom/hnbap/CSGMembershipStatus.h
deleted file mode 100644
index 337a91d..0000000
--- a/include/osmocom/hnbap/CSGMembershipStatus.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _CSGMembershipStatus_H_
-#define _CSGMembershipStatus_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <NativeEnumerated.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum CSGMembershipStatus {
- CSGMembershipStatus_member = 0,
- CSGMembershipStatus_non_member = 1
- /*
- * Enumeration is extensible
- */
-} e_CSGMembershipStatus;
-
-/* CSGMembershipStatus */
-typedef long CSGMembershipStatus_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_CSGMembershipStatus;
-asn_struct_free_f CSGMembershipStatus_free;
-asn_struct_print_f CSGMembershipStatus_print;
-asn_constr_check_f CSGMembershipStatus_constraint;
-ber_type_decoder_f CSGMembershipStatus_decode_ber;
-der_type_encoder_f CSGMembershipStatus_encode_der;
-xer_type_decoder_f CSGMembershipStatus_decode_xer;
-xer_type_encoder_f CSGMembershipStatus_encode_xer;
-per_type_decoder_f CSGMembershipStatus_decode_uper;
-per_type_encoder_f CSGMembershipStatus_encode_uper;
-per_type_decoder_f CSGMembershipStatus_decode_aper;
-per_type_encoder_f CSGMembershipStatus_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _CSGMembershipStatus_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/Cause.h b/include/osmocom/hnbap/Cause.h
deleted file mode 100644
index 390460d..0000000
--- a/include/osmocom/hnbap/Cause.h
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _Cause_H_
-#define _Cause_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <osmocom/hnbap/CauseRadioNetwork.h>
-#include <osmocom/hnbap/CauseTransport.h>
-#include <osmocom/hnbap/CauseProtocol.h>
-#include <osmocom/hnbap/CauseMisc.h>
-#include <constr_CHOICE.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum Cause_PR {
- Cause_PR_NOTHING, /* No components present */
- Cause_PR_radioNetwork,
- Cause_PR_transport,
- Cause_PR_protocol,
- Cause_PR_misc,
- /* Extensions may appear below */
-
-} Cause_PR;
-
-/* Cause */
-typedef struct Cause {
- Cause_PR present;
- union Cause_u {
- CauseRadioNetwork_t radioNetwork;
- CauseTransport_t transport;
- CauseProtocol_t protocol;
- CauseMisc_t misc;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
- } choice;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
-} Cause_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_Cause;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _Cause_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/CauseMisc.h b/include/osmocom/hnbap/CauseMisc.h
deleted file mode 100644
index 9da3853..0000000
--- a/include/osmocom/hnbap/CauseMisc.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _CauseMisc_H_
-#define _CauseMisc_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <NativeEnumerated.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum CauseMisc {
- CauseMisc_processing_overload = 0,
- CauseMisc_hardware_failure = 1,
- CauseMisc_o_and_m_intervention = 2,
- CauseMisc_unspecified = 3
- /*
- * Enumeration is extensible
- */
-} e_CauseMisc;
-
-/* CauseMisc */
-typedef long CauseMisc_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_CauseMisc;
-asn_struct_free_f CauseMisc_free;
-asn_struct_print_f CauseMisc_print;
-asn_constr_check_f CauseMisc_constraint;
-ber_type_decoder_f CauseMisc_decode_ber;
-der_type_encoder_f CauseMisc_encode_der;
-xer_type_decoder_f CauseMisc_decode_xer;
-xer_type_encoder_f CauseMisc_encode_xer;
-per_type_decoder_f CauseMisc_decode_uper;
-per_type_encoder_f CauseMisc_encode_uper;
-per_type_decoder_f CauseMisc_decode_aper;
-per_type_encoder_f CauseMisc_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _CauseMisc_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/CauseProtocol.h b/include/osmocom/hnbap/CauseProtocol.h
deleted file mode 100644
index bd32a8e..0000000
--- a/include/osmocom/hnbap/CauseProtocol.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _CauseProtocol_H_
-#define _CauseProtocol_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <NativeEnumerated.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum CauseProtocol {
- CauseProtocol_transfer_syntax_error = 0,
- CauseProtocol_abstract_syntax_error_reject = 1,
- CauseProtocol_abstract_syntax_error_ignore_and_notify = 2,
- CauseProtocol_message_not_compatible_with_receiver_state = 3,
- CauseProtocol_semantic_error = 4,
- CauseProtocol_unspecified = 5,
- CauseProtocol_abstract_syntax_error_falsely_constructed_message = 6
- /*
- * Enumeration is extensible
- */
-} e_CauseProtocol;
-
-/* CauseProtocol */
-typedef long CauseProtocol_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_CauseProtocol;
-asn_struct_free_f CauseProtocol_free;
-asn_struct_print_f CauseProtocol_print;
-asn_constr_check_f CauseProtocol_constraint;
-ber_type_decoder_f CauseProtocol_decode_ber;
-der_type_encoder_f CauseProtocol_encode_der;
-xer_type_decoder_f CauseProtocol_decode_xer;
-xer_type_encoder_f CauseProtocol_encode_xer;
-per_type_decoder_f CauseProtocol_decode_uper;
-per_type_encoder_f CauseProtocol_encode_uper;
-per_type_decoder_f CauseProtocol_decode_aper;
-per_type_encoder_f CauseProtocol_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _CauseProtocol_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/CauseRadioNetwork.h b/include/osmocom/hnbap/CauseRadioNetwork.h
deleted file mode 100644
index c6ecdf8..0000000
--- a/include/osmocom/hnbap/CauseRadioNetwork.h
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _CauseRadioNetwork_H_
-#define _CauseRadioNetwork_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <NativeEnumerated.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum CauseRadioNetwork {
- CauseRadioNetwork_overload = 0,
- CauseRadioNetwork_unauthorised_Location = 1,
- CauseRadioNetwork_unauthorised_HNB = 2,
- CauseRadioNetwork_hNB_parameter_mismatch = 3,
- CauseRadioNetwork_invalid_UE_identity = 4,
- CauseRadioNetwork_uE_not_allowed_on_this_HNB = 5,
- CauseRadioNetwork_uE_unauthorised = 6,
- CauseRadioNetwork_connection_with_UE_lost = 7,
- CauseRadioNetwork_ue_RRC_release = 8,
- CauseRadioNetwork_hNB_not_registered = 9,
- CauseRadioNetwork_unspecified = 10,
- CauseRadioNetwork_normal = 11,
- CauseRadioNetwork_uE_relocated = 12,
- CauseRadioNetwork_ue_registered_in_another_HNB = 13,
- /*
- * Enumeration is extensible
- */
- CauseRadioNetwork_no_neighbour_information_available = 14,
- CauseRadioNetwork_iurh_connection_to_that_neighbour_not_Allowed = 15
-} e_CauseRadioNetwork;
-
-/* CauseRadioNetwork */
-typedef long CauseRadioNetwork_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_CauseRadioNetwork;
-asn_struct_free_f CauseRadioNetwork_free;
-asn_struct_print_f CauseRadioNetwork_print;
-asn_constr_check_f CauseRadioNetwork_constraint;
-ber_type_decoder_f CauseRadioNetwork_decode_ber;
-der_type_encoder_f CauseRadioNetwork_encode_der;
-xer_type_decoder_f CauseRadioNetwork_decode_xer;
-xer_type_encoder_f CauseRadioNetwork_encode_xer;
-per_type_decoder_f CauseRadioNetwork_decode_uper;
-per_type_encoder_f CauseRadioNetwork_encode_uper;
-per_type_decoder_f CauseRadioNetwork_decode_aper;
-per_type_encoder_f CauseRadioNetwork_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _CauseRadioNetwork_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/CauseTransport.h b/include/osmocom/hnbap/CauseTransport.h
deleted file mode 100644
index d68683f..0000000
--- a/include/osmocom/hnbap/CauseTransport.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _CauseTransport_H_
-#define _CauseTransport_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <NativeEnumerated.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum CauseTransport {
- CauseTransport_transport_resource_unavailable = 0,
- CauseTransport_unspecified = 1
- /*
- * Enumeration is extensible
- */
-} e_CauseTransport;
-
-/* CauseTransport */
-typedef long CauseTransport_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_CauseTransport;
-asn_struct_free_f CauseTransport_free;
-asn_struct_print_f CauseTransport_print;
-asn_constr_check_f CauseTransport_constraint;
-ber_type_decoder_f CauseTransport_decode_ber;
-der_type_encoder_f CauseTransport_encode_der;
-xer_type_decoder_f CauseTransport_decode_xer;
-xer_type_encoder_f CauseTransport_encode_xer;
-per_type_decoder_f CauseTransport_decode_uper;
-per_type_encoder_f CauseTransport_encode_uper;
-per_type_decoder_f CauseTransport_decode_aper;
-per_type_encoder_f CauseTransport_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _CauseTransport_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/CellIdentity.h b/include/osmocom/hnbap/CellIdentity.h
deleted file mode 100644
index 230ac55..0000000
--- a/include/osmocom/hnbap/CellIdentity.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _CellIdentity_H_
-#define _CellIdentity_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <BIT_STRING.h>
-
-#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;
-per_type_decoder_f CellIdentity_decode_aper;
-per_type_encoder_f CellIdentity_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _CellIdentity_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/ConfigurationInformation.h b/include/osmocom/hnbap/ConfigurationInformation.h
deleted file mode 100644
index a09bdb7..0000000
--- a/include/osmocom/hnbap/ConfigurationInformation.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _ConfigurationInformation_H_
-#define _ConfigurationInformation_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <osmocom/hnbap/HNBConfigurationInformationProvided.h>
-#include <osmocom/hnbap/HNBConfigurationInformationMissing.h>
-#include <constr_CHOICE.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum ConfigurationInformation_PR {
- ConfigurationInformation_PR_NOTHING, /* No components present */
- ConfigurationInformation_PR_provided,
- ConfigurationInformation_PR_missing,
- /* Extensions may appear below */
-
-} ConfigurationInformation_PR;
-
-/* ConfigurationInformation */
-typedef struct ConfigurationInformation {
- ConfigurationInformation_PR present;
- union ConfigurationInformation_u {
- HNBConfigurationInformationProvided_t provided;
- HNBConfigurationInformationMissing_t missing;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
- } choice;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
-} ConfigurationInformation_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_ConfigurationInformation;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _ConfigurationInformation_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/Context-ID.h b/include/osmocom/hnbap/Context-ID.h
deleted file mode 100644
index 61d3d92..0000000
--- a/include/osmocom/hnbap/Context-ID.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _Context_ID_H_
-#define _Context_ID_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <BIT_STRING.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Context-ID */
-typedef BIT_STRING_t Context_ID_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_Context_ID;
-asn_struct_free_f Context_ID_free;
-asn_struct_print_f Context_ID_print;
-asn_constr_check_f Context_ID_constraint;
-ber_type_decoder_f Context_ID_decode_ber;
-der_type_encoder_f Context_ID_encode_der;
-xer_type_decoder_f Context_ID_decode_xer;
-xer_type_encoder_f Context_ID_encode_xer;
-per_type_decoder_f Context_ID_decode_uper;
-per_type_encoder_f Context_ID_encode_uper;
-per_type_decoder_f Context_ID_decode_aper;
-per_type_encoder_f Context_ID_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _Context_ID_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/Criticality.h b/include/osmocom/hnbap/Criticality.h
deleted file mode 100644
index 002ce24..0000000
--- a/include/osmocom/hnbap/Criticality.h
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-CommonDataTypes"
- * found in "../../asn1/hnbap/HNBAP-CommonDataTypes.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _Criticality_H_
-#define _Criticality_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <NativeEnumerated.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum Criticality {
- Criticality_reject = 0,
- Criticality_ignore = 1,
- Criticality_notify = 2
-} e_Criticality;
-
-/* Criticality */
-typedef long Criticality_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_Criticality;
-asn_struct_free_f Criticality_free;
-asn_struct_print_f Criticality_print;
-asn_constr_check_f Criticality_constraint;
-ber_type_decoder_f Criticality_decode_ber;
-der_type_encoder_f Criticality_encode_der;
-xer_type_decoder_f Criticality_decode_xer;
-xer_type_encoder_f Criticality_encode_xer;
-per_type_decoder_f Criticality_decode_uper;
-per_type_encoder_f Criticality_encode_uper;
-per_type_decoder_f Criticality_decode_aper;
-per_type_encoder_f Criticality_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _Criticality_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/CriticalityDiagnostics.h b/include/osmocom/hnbap/CriticalityDiagnostics.h
deleted file mode 100644
index 59d7e0b..0000000
--- a/include/osmocom/hnbap/CriticalityDiagnostics.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _CriticalityDiagnostics_H_
-#define _CriticalityDiagnostics_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <osmocom/hnbap/ProcedureCode.h>
-#include <osmocom/hnbap/TriggeringMessage.h>
-#include <osmocom/hnbap/Criticality.h>
-#include <constr_SEQUENCE.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Forward declarations */
-struct CriticalityDiagnostics_IE_List;
-struct IE_Extensions;
-
-/* CriticalityDiagnostics */
-typedef struct CriticalityDiagnostics {
- ProcedureCode_t *procedureCode /* OPTIONAL */;
- TriggeringMessage_t *triggeringMessage /* OPTIONAL */;
- Criticality_t *procedureCriticality /* OPTIONAL */;
- struct CriticalityDiagnostics_IE_List *iEsCriticalityDiagnostics /* OPTIONAL */;
- struct IE_Extensions *iE_Extensions /* OPTIONAL */;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
-} CriticalityDiagnostics_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_CriticalityDiagnostics;
-
-#ifdef __cplusplus
-}
-#endif
-
-/* Referred external types */
-#include <osmocom/hnbap/CriticalityDiagnostics-IE-List.h>
-#include <osmocom/hnbap/IE-Extensions.h>
-
-#endif /* _CriticalityDiagnostics_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/ESN.h b/include/osmocom/hnbap/ESN.h
deleted file mode 100644
index 94d68e3..0000000
--- a/include/osmocom/hnbap/ESN.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _ESN_H_
-#define _ESN_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <BIT_STRING.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* ESN */
-typedef BIT_STRING_t ESN_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_ESN;
-asn_struct_free_f ESN_free;
-asn_struct_print_f ESN_print;
-asn_constr_check_f ESN_constraint;
-ber_type_decoder_f ESN_decode_ber;
-der_type_encoder_f ESN_encode_der;
-xer_type_decoder_f ESN_decode_xer;
-xer_type_encoder_f ESN_encode_xer;
-per_type_decoder_f ESN_decode_uper;
-per_type_encoder_f ESN_encode_uper;
-per_type_decoder_f ESN_decode_aper;
-per_type_encoder_f ESN_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _ESN_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/GTP-TEI.h b/include/osmocom/hnbap/GTP-TEI.h
deleted file mode 100644
index aad9d6a..0000000
--- a/include/osmocom/hnbap/GTP-TEI.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _GTP_TEI_H_
-#define _GTP_TEI_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <OCTET_STRING.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* GTP-TEI */
-typedef OCTET_STRING_t GTP_TEI_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_GTP_TEI;
-asn_struct_free_f GTP_TEI_free;
-asn_struct_print_f GTP_TEI_print;
-asn_constr_check_f GTP_TEI_constraint;
-ber_type_decoder_f GTP_TEI_decode_ber;
-der_type_encoder_f GTP_TEI_encode_der;
-xer_type_decoder_f GTP_TEI_decode_xer;
-xer_type_encoder_f GTP_TEI_encode_xer;
-per_type_decoder_f GTP_TEI_decode_uper;
-per_type_encoder_f GTP_TEI_encode_uper;
-per_type_decoder_f GTP_TEI_decode_aper;
-per_type_encoder_f GTP_TEI_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _GTP_TEI_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/GeographicalLocation.h b/include/osmocom/hnbap/GeographicalLocation.h
deleted file mode 100644
index 0921d8d..0000000
--- a/include/osmocom/hnbap/GeographicalLocation.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _GeographicalLocation_H_
-#define _GeographicalLocation_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <osmocom/hnbap/GeographicalCoordinates.h>
-#include <osmocom/hnbap/AltitudeAndDirection.h>
-#include <constr_SEQUENCE.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Forward declarations */
-struct IE_Extensions;
-
-/* GeographicalLocation */
-typedef struct GeographicalLocation {
- GeographicalCoordinates_t geographicalCoordinates;
- AltitudeAndDirection_t altitudeAndDirection;
- struct IE_Extensions *iE_Extensions /* OPTIONAL */;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
-} GeographicalLocation_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_GeographicalLocation;
-
-#ifdef __cplusplus
-}
-#endif
-
-/* Referred external types */
-#include <osmocom/hnbap/IE-Extensions.h>
-
-#endif /* _GeographicalLocation_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNB-Cell-Access-Mode.h b/include/osmocom/hnbap/HNB-Cell-Access-Mode.h
deleted file mode 100644
index d15f102..0000000
--- a/include/osmocom/hnbap/HNB-Cell-Access-Mode.h
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _HNB_Cell_Access_Mode_H_
-#define _HNB_Cell_Access_Mode_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <NativeEnumerated.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum HNB_Cell_Access_Mode {
- HNB_Cell_Access_Mode_closed = 0,
- HNB_Cell_Access_Mode_hybrid = 1,
- HNB_Cell_Access_Mode_open = 2
- /*
- * Enumeration is extensible
- */
-} e_HNB_Cell_Access_Mode;
-
-/* HNB-Cell-Access-Mode */
-typedef long HNB_Cell_Access_Mode_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_HNB_Cell_Access_Mode;
-asn_struct_free_f HNB_Cell_Access_Mode_free;
-asn_struct_print_f HNB_Cell_Access_Mode_print;
-asn_constr_check_f HNB_Cell_Access_Mode_constraint;
-ber_type_decoder_f HNB_Cell_Access_Mode_decode_ber;
-der_type_encoder_f HNB_Cell_Access_Mode_encode_der;
-xer_type_decoder_f HNB_Cell_Access_Mode_decode_xer;
-xer_type_encoder_f HNB_Cell_Access_Mode_encode_xer;
-per_type_decoder_f HNB_Cell_Access_Mode_decode_uper;
-per_type_encoder_f HNB_Cell_Access_Mode_encode_uper;
-per_type_decoder_f HNB_Cell_Access_Mode_decode_aper;
-per_type_encoder_f HNB_Cell_Access_Mode_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _HNB_Cell_Access_Mode_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNB-Cell-Identifier.h b/include/osmocom/hnbap/HNB-Cell-Identifier.h
deleted file mode 100644
index 8b74fa7..0000000
--- a/include/osmocom/hnbap/HNB-Cell-Identifier.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _HNB_Cell_Identifier_H_
-#define _HNB_Cell_Identifier_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <osmocom/hnbap/PLMNidentity.h>
-#include <osmocom/hnbap/CellIdentity.h>
-#include <constr_SEQUENCE.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Forward declarations */
-struct IE_Extensions;
-
-/* HNB-Cell-Identifier */
-typedef struct HNB_Cell_Identifier {
- PLMNidentity_t pLMNidentity;
- CellIdentity_t cellIdentity;
- struct IE_Extensions *iE_Extensions /* OPTIONAL */;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
-} HNB_Cell_Identifier_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_HNB_Cell_Identifier;
-
-#ifdef __cplusplus
-}
-#endif
-
-/* Referred external types */
-#include <osmocom/hnbap/IE-Extensions.h>
-
-#endif /* _HNB_Cell_Identifier_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNB-GWResponse.h b/include/osmocom/hnbap/HNB-GWResponse.h
deleted file mode 100644
index 6c1d057..0000000
--- a/include/osmocom/hnbap/HNB-GWResponse.h
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _HNB_GWResponse_H_
-#define _HNB_GWResponse_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <osmocom/hnbap/HNBConfigInfo.h>
-#include <osmocom/hnbap/RNC-ID.h>
-#include <osmocom/hnbap/UnknownU-RNTIIndication.h>
-#include <constr_CHOICE.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum HNB_GWResponse_PR {
- HNB_GWResponse_PR_NOTHING, /* No components present */
- HNB_GWResponse_PR_hNB,
- HNB_GWResponse_PR_macroRNC,
- HNB_GWResponse_PR_unknownU_RNTIIndication,
- /* Extensions may appear below */
-
-} HNB_GWResponse_PR;
-
-/* HNB-GWResponse */
-typedef struct HNB_GWResponse {
- HNB_GWResponse_PR present;
- union HNB_GWResponse_u {
- HNBConfigInfo_t hNB;
- RNC_ID_t macroRNC;
- UnknownU_RNTIIndication_t unknownU_RNTIIndication;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
- } choice;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
-} HNB_GWResponse_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_HNB_GWResponse;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _HNB_GWResponse_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNB-Identity-Info.h b/include/osmocom/hnbap/HNB-Identity-Info.h
deleted file mode 100644
index 3ca17d1..0000000
--- a/include/osmocom/hnbap/HNB-Identity-Info.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _HNB_Identity_Info_H_
-#define _HNB_Identity_Info_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <OCTET_STRING.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* HNB-Identity-Info */
-typedef OCTET_STRING_t HNB_Identity_Info_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_HNB_Identity_Info;
-asn_struct_free_f HNB_Identity_Info_free;
-asn_struct_print_f HNB_Identity_Info_print;
-asn_constr_check_f HNB_Identity_Info_constraint;
-ber_type_decoder_f HNB_Identity_Info_decode_ber;
-der_type_encoder_f HNB_Identity_Info_encode_der;
-xer_type_decoder_f HNB_Identity_Info_decode_xer;
-xer_type_encoder_f HNB_Identity_Info_encode_xer;
-per_type_decoder_f HNB_Identity_Info_decode_uper;
-per_type_encoder_f HNB_Identity_Info_encode_uper;
-per_type_decoder_f HNB_Identity_Info_decode_aper;
-per_type_encoder_f HNB_Identity_Info_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _HNB_Identity_Info_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNB-Location-Information.h b/include/osmocom/hnbap/HNB-Location-Information.h
deleted file mode 100644
index 1d2c071..0000000
--- a/include/osmocom/hnbap/HNB-Location-Information.h
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _HNB_Location_Information_H_
-#define _HNB_Location_Information_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <constr_SEQUENCE.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Forward declarations */
-struct MacroCoverageInformation;
-struct GeographicalLocation;
-struct IE_Extensions;
-
-/* HNB-Location-Information */
-typedef struct HNB_Location_Information {
- struct MacroCoverageInformation *macroCoverageInfo /* OPTIONAL */;
- struct GeographicalLocation *geographicalCoordinates /* OPTIONAL */;
- struct IE_Extensions *iE_Extensions /* OPTIONAL */;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
-} HNB_Location_Information_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_HNB_Location_Information;
-
-#ifdef __cplusplus
-}
-#endif
-
-/* Referred external types */
-#include <osmocom/hnbap/MacroCoverageInformation.h>
-#include <osmocom/hnbap/GeographicalLocation.h>
-#include <osmocom/hnbap/IE-Extensions.h>
-
-#endif /* _HNB_Location_Information_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNB-RNL-Identity.h b/include/osmocom/hnbap/HNB-RNL-Identity.h
deleted file mode 100644
index 6a22c8f..0000000
--- a/include/osmocom/hnbap/HNB-RNL-Identity.h
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _HNB_RNL_Identity_H_
-#define _HNB_RNL_Identity_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <osmocom/hnbap/HNB-Cell-Identifier.h>
-#include <constr_CHOICE.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum HNB_RNL_Identity_PR {
- HNB_RNL_Identity_PR_NOTHING, /* No components present */
- HNB_RNL_Identity_PR_hNB_Identity_as_Cell_Identifier,
- /* Extensions may appear below */
-
-} HNB_RNL_Identity_PR;
-
-/* HNB-RNL-Identity */
-typedef struct HNB_RNL_Identity {
- HNB_RNL_Identity_PR present;
- union HNB_RNL_Identity_u {
- HNB_Cell_Identifier_t hNB_Identity_as_Cell_Identifier;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
- } choice;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
-} HNB_RNL_Identity_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_HNB_RNL_Identity;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _HNB_RNL_Identity_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP-PDU.h b/include/osmocom/hnbap/HNBAP-PDU.h
deleted file mode 100644
index f5cc823..0000000
--- a/include/osmocom/hnbap/HNBAP-PDU.h
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-PDU"
- * found in "../../asn1/hnbap/HNBAP-PDU.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _HNBAP_PDU_H_
-#define _HNBAP_PDU_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <osmocom/hnbap/InitiatingMessage.h>
-#include <osmocom/hnbap/SuccessfulOutcome.h>
-#include <osmocom/hnbap/UnsuccessfulOutcome.h>
-#include <constr_CHOICE.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum HNBAP_PDU_PR {
- HNBAP_PDU_PR_NOTHING, /* No components present */
- HNBAP_PDU_PR_initiatingMessage,
- HNBAP_PDU_PR_successfulOutcome,
- HNBAP_PDU_PR_unsuccessfulOutcome,
- /* Extensions may appear below */
-
-} HNBAP_PDU_PR;
-
-/* HNBAP-PDU */
-typedef struct HNBAP_PDU {
- HNBAP_PDU_PR present;
- union HNBAP_PDU_u {
- InitiatingMessage_t initiatingMessage;
- SuccessfulOutcome_t successfulOutcome;
- UnsuccessfulOutcome_t unsuccessfulOutcome;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
- } choice;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
-} HNBAP_PDU_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_HNBAP_PDU;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _HNBAP_PDU_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_Access-stratum-release-indicator.h b/include/osmocom/hnbap/HNBAP_Access-stratum-release-indicator.h
new file mode 100644
index 0000000..8722417
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_Access-stratum-release-indicator.h
@@ -0,0 +1,56 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_Access_stratum_release_indicator_H_
+#define _HNBAP_Access_stratum_release_indicator_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <NativeEnumerated.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_Access_stratum_release_indicator {
+ HNBAP_Access_stratum_release_indicator_r99 = 0,
+ HNBAP_Access_stratum_release_indicator_rel_4 = 1,
+ HNBAP_Access_stratum_release_indicator_rel_5 = 2,
+ HNBAP_Access_stratum_release_indicator_rel_6 = 3,
+ HNBAP_Access_stratum_release_indicator_rel_7 = 4,
+ HNBAP_Access_stratum_release_indicator_rel_8_and_beyond = 5
+ /*
+ * Enumeration is extensible
+ */
+} e_HNBAP_Access_stratum_release_indicator;
+
+/* HNBAP_Access-stratum-release-indicator */
+typedef long HNBAP_Access_stratum_release_indicator_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_Access_stratum_release_indicator;
+asn_struct_free_f HNBAP_Access_stratum_release_indicator_free;
+asn_struct_print_f HNBAP_Access_stratum_release_indicator_print;
+asn_constr_check_f HNBAP_Access_stratum_release_indicator_constraint;
+ber_type_decoder_f HNBAP_Access_stratum_release_indicator_decode_ber;
+der_type_encoder_f HNBAP_Access_stratum_release_indicator_encode_der;
+xer_type_decoder_f HNBAP_Access_stratum_release_indicator_decode_xer;
+xer_type_encoder_f HNBAP_Access_stratum_release_indicator_encode_xer;
+per_type_decoder_f HNBAP_Access_stratum_release_indicator_decode_uper;
+per_type_encoder_f HNBAP_Access_stratum_release_indicator_encode_uper;
+per_type_decoder_f HNBAP_Access_stratum_release_indicator_decode_aper;
+per_type_encoder_f HNBAP_Access_stratum_release_indicator_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_Access_stratum_release_indicator_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_AccessResult.h b/include/osmocom/hnbap/HNBAP_AccessResult.h
new file mode 100644
index 0000000..fdd9763
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_AccessResult.h
@@ -0,0 +1,52 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_AccessResult_H_
+#define _HNBAP_AccessResult_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <NativeEnumerated.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_AccessResult {
+ HNBAP_AccessResult_allowed = 0,
+ HNBAP_AccessResult_notAllowed = 1
+ /*
+ * Enumeration is extensible
+ */
+} e_HNBAP_AccessResult;
+
+/* HNBAP_AccessResult */
+typedef long HNBAP_AccessResult_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_AccessResult;
+asn_struct_free_f HNBAP_AccessResult_free;
+asn_struct_print_f HNBAP_AccessResult_print;
+asn_constr_check_f HNBAP_AccessResult_constraint;
+ber_type_decoder_f HNBAP_AccessResult_decode_ber;
+der_type_encoder_f HNBAP_AccessResult_encode_der;
+xer_type_decoder_f HNBAP_AccessResult_decode_xer;
+xer_type_encoder_f HNBAP_AccessResult_encode_xer;
+per_type_decoder_f HNBAP_AccessResult_decode_uper;
+per_type_encoder_f HNBAP_AccessResult_encode_uper;
+per_type_decoder_f HNBAP_AccessResult_decode_aper;
+per_type_encoder_f HNBAP_AccessResult_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_AccessResult_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_AdditionalNeighbourInfoList.h b/include/osmocom/hnbap/HNBAP_AdditionalNeighbourInfoList.h
new file mode 100644
index 0000000..fbafb53
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_AdditionalNeighbourInfoList.h
@@ -0,0 +1,39 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_AdditionalNeighbourInfoList_H_
+#define _HNBAP_AdditionalNeighbourInfoList_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_HNBConfigInfo.h>
+#include <asn_SEQUENCE_OF.h>
+#include <constr_SEQUENCE_OF.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_AdditionalNeighbourInfoList */
+typedef struct HNBAP_AdditionalNeighbourInfoList {
+ A_SEQUENCE_OF(HNBAP_HNBConfigInfo_t) list;
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} HNBAP_AdditionalNeighbourInfoList_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_AdditionalNeighbourInfoList;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_AdditionalNeighbourInfoList_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/AltitudeAndDirection.h b/include/osmocom/hnbap/HNBAP_AltitudeAndDirection.h
index a7be93f..20a7d58 100644
--- a/include/osmocom/hnbap/AltitudeAndDirection.h
+++ b/include/osmocom/hnbap/HNBAP_AltitudeAndDirection.h
@@ -5,8 +5,8 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _AltitudeAndDirection_H_
-#define _AltitudeAndDirection_H_
+#ifndef _HNBAP_AltitudeAndDirection_H_
+#define _HNBAP_AltitudeAndDirection_H_
#include <asn_application.h>
@@ -26,8 +26,8 @@ typedef enum directionOfAltitude {
directionOfAltitude_depth = 1
} e_directionOfAltitude;
-/* AltitudeAndDirection */
-typedef struct AltitudeAndDirection {
+/* HNBAP_AltitudeAndDirection */
+typedef struct HNBAP_AltitudeAndDirection {
long directionOfAltitude;
long altitude;
/*
@@ -37,15 +37,15 @@ typedef struct AltitudeAndDirection {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} AltitudeAndDirection_t;
+} HNBAP_AltitudeAndDirection_t;
/* Implementation */
/* extern asn_TYPE_descriptor_t asn_DEF_directionOfAltitude_2; // (Use -fall-defs-global to expose) */
-extern asn_TYPE_descriptor_t asn_DEF_AltitudeAndDirection;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_AltitudeAndDirection;
#ifdef __cplusplus
}
#endif
-#endif /* _AltitudeAndDirection_H_ */
+#endif /* _HNBAP_AltitudeAndDirection_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_BackoffTimer.h b/include/osmocom/hnbap/HNBAP_BackoffTimer.h
new file mode 100644
index 0000000..033e4e0
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_BackoffTimer.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_BackoffTimer_H_
+#define _HNBAP_BackoffTimer_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <NativeInteger.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_BackoffTimer */
+typedef long HNBAP_BackoffTimer_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_BackoffTimer;
+asn_struct_free_f HNBAP_BackoffTimer_free;
+asn_struct_print_f HNBAP_BackoffTimer_print;
+asn_constr_check_f HNBAP_BackoffTimer_constraint;
+ber_type_decoder_f HNBAP_BackoffTimer_decode_ber;
+der_type_encoder_f HNBAP_BackoffTimer_encode_der;
+xer_type_decoder_f HNBAP_BackoffTimer_decode_xer;
+xer_type_encoder_f HNBAP_BackoffTimer_encode_xer;
+per_type_decoder_f HNBAP_BackoffTimer_decode_uper;
+per_type_encoder_f HNBAP_BackoffTimer_encode_uper;
+per_type_decoder_f HNBAP_BackoffTimer_decode_aper;
+per_type_encoder_f HNBAP_BackoffTimer_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_BackoffTimer_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_BindingID.h b/include/osmocom/hnbap/HNBAP_BindingID.h
new file mode 100644
index 0000000..cf057bc
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_BindingID.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_BindingID_H_
+#define _HNBAP_BindingID_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <OCTET_STRING.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_BindingID */
+typedef OCTET_STRING_t HNBAP_BindingID_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_BindingID;
+asn_struct_free_f HNBAP_BindingID_free;
+asn_struct_print_f HNBAP_BindingID_print;
+asn_constr_check_f HNBAP_BindingID_constraint;
+ber_type_decoder_f HNBAP_BindingID_decode_ber;
+der_type_encoder_f HNBAP_BindingID_encode_der;
+xer_type_decoder_f HNBAP_BindingID_decode_xer;
+xer_type_encoder_f HNBAP_BindingID_encode_xer;
+per_type_decoder_f HNBAP_BindingID_decode_uper;
+per_type_encoder_f HNBAP_BindingID_encode_uper;
+per_type_decoder_f HNBAP_BindingID_decode_aper;
+per_type_encoder_f HNBAP_BindingID_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_BindingID_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_CELL-FACHMobilitySupport.h b/include/osmocom/hnbap/HNBAP_CELL-FACHMobilitySupport.h
new file mode 100644
index 0000000..71e26c1
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_CELL-FACHMobilitySupport.h
@@ -0,0 +1,51 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_CELL_FACHMobilitySupport_H_
+#define _HNBAP_CELL_FACHMobilitySupport_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <NativeEnumerated.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_CELL_FACHMobilitySupport {
+ HNBAP_CELL_FACHMobilitySupport_supported = 0
+ /*
+ * Enumeration is extensible
+ */
+} e_HNBAP_CELL_FACHMobilitySupport;
+
+/* HNBAP_CELL-FACHMobilitySupport */
+typedef long HNBAP_CELL_FACHMobilitySupport_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CELL_FACHMobilitySupport;
+asn_struct_free_f HNBAP_CELL_FACHMobilitySupport_free;
+asn_struct_print_f HNBAP_CELL_FACHMobilitySupport_print;
+asn_constr_check_f HNBAP_CELL_FACHMobilitySupport_constraint;
+ber_type_decoder_f HNBAP_CELL_FACHMobilitySupport_decode_ber;
+der_type_encoder_f HNBAP_CELL_FACHMobilitySupport_encode_der;
+xer_type_decoder_f HNBAP_CELL_FACHMobilitySupport_decode_xer;
+xer_type_encoder_f HNBAP_CELL_FACHMobilitySupport_encode_xer;
+per_type_decoder_f HNBAP_CELL_FACHMobilitySupport_decode_uper;
+per_type_encoder_f HNBAP_CELL_FACHMobilitySupport_encode_uper;
+per_type_decoder_f HNBAP_CELL_FACHMobilitySupport_decode_aper;
+per_type_encoder_f HNBAP_CELL_FACHMobilitySupport_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_CELL_FACHMobilitySupport_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_CGI.h b/include/osmocom/hnbap/HNBAP_CGI.h
new file mode 100644
index 0000000..2e7c13a
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_CGI.h
@@ -0,0 +1,44 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_CGI_H_
+#define _HNBAP_CGI_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_PLMNidentity.h>
+#include <osmocom/hnbap/HNBAP_LAC.h>
+#include <osmocom/hnbap/HNBAP_CI.h>
+#include <osmocom/hnbap/HNBAP_IE-Extensions.h>
+#include <constr_SEQUENCE.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_CGI */
+typedef struct HNBAP_CGI {
+ HNBAP_PLMNidentity_t pLMNidentity;
+ HNBAP_LAC_t lAC;
+ HNBAP_CI_t cI;
+ HNBAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} HNBAP_CGI_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CGI;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_CGI_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_CI.h b/include/osmocom/hnbap/HNBAP_CI.h
new file mode 100644
index 0000000..ee0f6a2
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_CI.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_CI_H_
+#define _HNBAP_CI_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <OCTET_STRING.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_CI */
+typedef OCTET_STRING_t HNBAP_CI_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CI;
+asn_struct_free_f HNBAP_CI_free;
+asn_struct_print_f HNBAP_CI_print;
+asn_constr_check_f HNBAP_CI_constraint;
+ber_type_decoder_f HNBAP_CI_decode_ber;
+der_type_encoder_f HNBAP_CI_encode_der;
+xer_type_decoder_f HNBAP_CI_decode_xer;
+xer_type_encoder_f HNBAP_CI_encode_xer;
+per_type_decoder_f HNBAP_CI_decode_uper;
+per_type_encoder_f HNBAP_CI_encode_uper;
+per_type_decoder_f HNBAP_CI_decode_aper;
+per_type_encoder_f HNBAP_CI_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_CI_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_CN-DomainIndicator.h b/include/osmocom/hnbap/HNBAP_CN-DomainIndicator.h
new file mode 100644
index 0000000..8bdc971
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_CN-DomainIndicator.h
@@ -0,0 +1,49 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_CN_DomainIndicator_H_
+#define _HNBAP_CN_DomainIndicator_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <NativeEnumerated.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_CN_DomainIndicator {
+ HNBAP_CN_DomainIndicator_cs_domain = 0,
+ HNBAP_CN_DomainIndicator_ps_domain = 1
+} e_HNBAP_CN_DomainIndicator;
+
+/* HNBAP_CN-DomainIndicator */
+typedef long HNBAP_CN_DomainIndicator_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CN_DomainIndicator;
+asn_struct_free_f HNBAP_CN_DomainIndicator_free;
+asn_struct_print_f HNBAP_CN_DomainIndicator_print;
+asn_constr_check_f HNBAP_CN_DomainIndicator_constraint;
+ber_type_decoder_f HNBAP_CN_DomainIndicator_decode_ber;
+der_type_encoder_f HNBAP_CN_DomainIndicator_encode_der;
+xer_type_decoder_f HNBAP_CN_DomainIndicator_decode_xer;
+xer_type_encoder_f HNBAP_CN_DomainIndicator_encode_xer;
+per_type_decoder_f HNBAP_CN_DomainIndicator_decode_uper;
+per_type_encoder_f HNBAP_CN_DomainIndicator_encode_uper;
+per_type_decoder_f HNBAP_CN_DomainIndicator_decode_aper;
+per_type_encoder_f HNBAP_CN_DomainIndicator_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_CN_DomainIndicator_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_CSG-Capability.h b/include/osmocom/hnbap/HNBAP_CSG-Capability.h
new file mode 100644
index 0000000..a04ef21
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_CSG-Capability.h
@@ -0,0 +1,52 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_CSG_Capability_H_
+#define _HNBAP_CSG_Capability_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <NativeEnumerated.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_CSG_Capability {
+ HNBAP_CSG_Capability_csg_capable = 0,
+ HNBAP_CSG_Capability_not_csg_capable = 1
+ /*
+ * Enumeration is extensible
+ */
+} e_HNBAP_CSG_Capability;
+
+/* HNBAP_CSG-Capability */
+typedef long HNBAP_CSG_Capability_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CSG_Capability;
+asn_struct_free_f HNBAP_CSG_Capability_free;
+asn_struct_print_f HNBAP_CSG_Capability_print;
+asn_constr_check_f HNBAP_CSG_Capability_constraint;
+ber_type_decoder_f HNBAP_CSG_Capability_decode_ber;
+der_type_encoder_f HNBAP_CSG_Capability_encode_der;
+xer_type_decoder_f HNBAP_CSG_Capability_decode_xer;
+xer_type_encoder_f HNBAP_CSG_Capability_encode_xer;
+per_type_decoder_f HNBAP_CSG_Capability_decode_uper;
+per_type_encoder_f HNBAP_CSG_Capability_encode_uper;
+per_type_decoder_f HNBAP_CSG_Capability_decode_aper;
+per_type_encoder_f HNBAP_CSG_Capability_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_CSG_Capability_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_CSG-ID.h b/include/osmocom/hnbap/HNBAP_CSG-ID.h
new file mode 100644
index 0000000..7ef09fa
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_CSG-ID.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_CSG_ID_H_
+#define _HNBAP_CSG_ID_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <BIT_STRING.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_CSG-ID */
+typedef BIT_STRING_t HNBAP_CSG_ID_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CSG_ID;
+asn_struct_free_f HNBAP_CSG_ID_free;
+asn_struct_print_f HNBAP_CSG_ID_print;
+asn_constr_check_f HNBAP_CSG_ID_constraint;
+ber_type_decoder_f HNBAP_CSG_ID_decode_ber;
+der_type_encoder_f HNBAP_CSG_ID_encode_der;
+xer_type_decoder_f HNBAP_CSG_ID_decode_xer;
+xer_type_encoder_f HNBAP_CSG_ID_encode_xer;
+per_type_decoder_f HNBAP_CSG_ID_decode_uper;
+per_type_encoder_f HNBAP_CSG_ID_encode_uper;
+per_type_decoder_f HNBAP_CSG_ID_decode_aper;
+per_type_encoder_f HNBAP_CSG_ID_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_CSG_ID_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_CSGMembershipStatus.h b/include/osmocom/hnbap/HNBAP_CSGMembershipStatus.h
new file mode 100644
index 0000000..94bfe3e
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_CSGMembershipStatus.h
@@ -0,0 +1,52 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_CSGMembershipStatus_H_
+#define _HNBAP_CSGMembershipStatus_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <NativeEnumerated.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_CSGMembershipStatus {
+ HNBAP_CSGMembershipStatus_member = 0,
+ HNBAP_CSGMembershipStatus_non_member = 1
+ /*
+ * Enumeration is extensible
+ */
+} e_HNBAP_CSGMembershipStatus;
+
+/* HNBAP_CSGMembershipStatus */
+typedef long HNBAP_CSGMembershipStatus_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CSGMembershipStatus;
+asn_struct_free_f HNBAP_CSGMembershipStatus_free;
+asn_struct_print_f HNBAP_CSGMembershipStatus_print;
+asn_constr_check_f HNBAP_CSGMembershipStatus_constraint;
+ber_type_decoder_f HNBAP_CSGMembershipStatus_decode_ber;
+der_type_encoder_f HNBAP_CSGMembershipStatus_encode_der;
+xer_type_decoder_f HNBAP_CSGMembershipStatus_decode_xer;
+xer_type_encoder_f HNBAP_CSGMembershipStatus_encode_xer;
+per_type_decoder_f HNBAP_CSGMembershipStatus_decode_uper;
+per_type_encoder_f HNBAP_CSGMembershipStatus_encode_uper;
+per_type_decoder_f HNBAP_CSGMembershipStatus_decode_aper;
+per_type_encoder_f HNBAP_CSGMembershipStatus_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_CSGMembershipStatus_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/CSGMembershipUpdate.h b/include/osmocom/hnbap/HNBAP_CSGMembershipUpdate.h
index fc6a493..65331f1 100644
--- a/include/osmocom/hnbap/CSGMembershipUpdate.h
+++ b/include/osmocom/hnbap/HNBAP_CSGMembershipUpdate.h
@@ -5,13 +5,14 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _CSGMembershipUpdate_H_
-#define _CSGMembershipUpdate_H_
+#ifndef _HNBAP_CSGMembershipUpdate_H_
+#define _HNBAP_CSGMembershipUpdate_H_
#include <asn_application.h>
/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
@@ -20,13 +21,10 @@
extern "C" {
#endif
-/* Forward declarations */
-struct IE;
-
-/* CSGMembershipUpdate */
-typedef struct CSGMembershipUpdate {
+/* HNBAP_CSGMembershipUpdate */
+typedef struct HNBAP_CSGMembershipUpdate {
struct csgMembershipUpdate_ies {
- A_SEQUENCE_OF(struct IE) list;
+ A_SEQUENCE_OF(HNBAP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
@@ -38,17 +36,14 @@ typedef struct CSGMembershipUpdate {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} CSGMembershipUpdate_t;
+} HNBAP_CSGMembershipUpdate_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_CSGMembershipUpdate;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CSGMembershipUpdate;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/IE.h>
-
-#endif /* _CSGMembershipUpdate_H_ */
+#endif /* _HNBAP_CSGMembershipUpdate_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_Cause.h b/include/osmocom/hnbap/HNBAP_Cause.h
new file mode 100644
index 0000000..8291d0b
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_Cause.h
@@ -0,0 +1,62 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_Cause_H_
+#define _HNBAP_Cause_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_CauseRadioNetwork.h>
+#include <osmocom/hnbap/HNBAP_CauseTransport.h>
+#include <osmocom/hnbap/HNBAP_CauseProtocol.h>
+#include <osmocom/hnbap/HNBAP_CauseMisc.h>
+#include <constr_CHOICE.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_Cause_PR {
+ HNBAP_Cause_PR_NOTHING, /* No components present */
+ HNBAP_Cause_PR_radioNetwork,
+ HNBAP_Cause_PR_transport,
+ HNBAP_Cause_PR_protocol,
+ HNBAP_Cause_PR_misc,
+ /* Extensions may appear below */
+
+} HNBAP_Cause_PR;
+
+/* HNBAP_Cause */
+typedef struct HNBAP_Cause {
+ HNBAP_Cause_PR present;
+ union HNBAP_Cause_u {
+ HNBAP_CauseRadioNetwork_t radioNetwork;
+ HNBAP_CauseTransport_t transport;
+ HNBAP_CauseProtocol_t protocol;
+ HNBAP_CauseMisc_t misc;
+ /*
+ * This type is extensible,
+ * possible extensions are below.
+ */
+ } choice;
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} HNBAP_Cause_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_Cause;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_Cause_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_CauseMisc.h b/include/osmocom/hnbap/HNBAP_CauseMisc.h
new file mode 100644
index 0000000..a2d0e36
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_CauseMisc.h
@@ -0,0 +1,54 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_CauseMisc_H_
+#define _HNBAP_CauseMisc_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <NativeEnumerated.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_CauseMisc {
+ HNBAP_CauseMisc_processing_overload = 0,
+ HNBAP_CauseMisc_hardware_failure = 1,
+ HNBAP_CauseMisc_o_and_m_intervention = 2,
+ HNBAP_CauseMisc_unspecified = 3
+ /*
+ * Enumeration is extensible
+ */
+} e_HNBAP_CauseMisc;
+
+/* HNBAP_CauseMisc */
+typedef long HNBAP_CauseMisc_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CauseMisc;
+asn_struct_free_f HNBAP_CauseMisc_free;
+asn_struct_print_f HNBAP_CauseMisc_print;
+asn_constr_check_f HNBAP_CauseMisc_constraint;
+ber_type_decoder_f HNBAP_CauseMisc_decode_ber;
+der_type_encoder_f HNBAP_CauseMisc_encode_der;
+xer_type_decoder_f HNBAP_CauseMisc_decode_xer;
+xer_type_encoder_f HNBAP_CauseMisc_encode_xer;
+per_type_decoder_f HNBAP_CauseMisc_decode_uper;
+per_type_encoder_f HNBAP_CauseMisc_encode_uper;
+per_type_decoder_f HNBAP_CauseMisc_decode_aper;
+per_type_encoder_f HNBAP_CauseMisc_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_CauseMisc_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_CauseProtocol.h b/include/osmocom/hnbap/HNBAP_CauseProtocol.h
new file mode 100644
index 0000000..6650668
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_CauseProtocol.h
@@ -0,0 +1,57 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_CauseProtocol_H_
+#define _HNBAP_CauseProtocol_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <NativeEnumerated.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_CauseProtocol {
+ HNBAP_CauseProtocol_transfer_syntax_error = 0,
+ HNBAP_CauseProtocol_abstract_syntax_error_reject = 1,
+ HNBAP_CauseProtocol_abstract_syntax_error_ignore_and_notify = 2,
+ HNBAP_CauseProtocol_message_not_compatible_with_receiver_state = 3,
+ HNBAP_CauseProtocol_semantic_error = 4,
+ HNBAP_CauseProtocol_unspecified = 5,
+ HNBAP_CauseProtocol_abstract_syntax_error_falsely_constructed_message = 6
+ /*
+ * Enumeration is extensible
+ */
+} e_HNBAP_CauseProtocol;
+
+/* HNBAP_CauseProtocol */
+typedef long HNBAP_CauseProtocol_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CauseProtocol;
+asn_struct_free_f HNBAP_CauseProtocol_free;
+asn_struct_print_f HNBAP_CauseProtocol_print;
+asn_constr_check_f HNBAP_CauseProtocol_constraint;
+ber_type_decoder_f HNBAP_CauseProtocol_decode_ber;
+der_type_encoder_f HNBAP_CauseProtocol_encode_der;
+xer_type_decoder_f HNBAP_CauseProtocol_decode_xer;
+xer_type_encoder_f HNBAP_CauseProtocol_encode_xer;
+per_type_decoder_f HNBAP_CauseProtocol_decode_uper;
+per_type_encoder_f HNBAP_CauseProtocol_encode_uper;
+per_type_decoder_f HNBAP_CauseProtocol_decode_aper;
+per_type_encoder_f HNBAP_CauseProtocol_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_CauseProtocol_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_CauseRadioNetwork.h b/include/osmocom/hnbap/HNBAP_CauseRadioNetwork.h
new file mode 100644
index 0000000..1b19fe4
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_CauseRadioNetwork.h
@@ -0,0 +1,66 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_CauseRadioNetwork_H_
+#define _HNBAP_CauseRadioNetwork_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <NativeEnumerated.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_CauseRadioNetwork {
+ HNBAP_CauseRadioNetwork_overload = 0,
+ HNBAP_CauseRadioNetwork_unauthorised_Location = 1,
+ HNBAP_CauseRadioNetwork_unauthorised_HNB = 2,
+ HNBAP_CauseRadioNetwork_hNB_parameter_mismatch = 3,
+ HNBAP_CauseRadioNetwork_invalid_UE_identity = 4,
+ HNBAP_CauseRadioNetwork_uE_not_allowed_on_this_HNB = 5,
+ HNBAP_CauseRadioNetwork_uE_unauthorised = 6,
+ HNBAP_CauseRadioNetwork_connection_with_UE_lost = 7,
+ HNBAP_CauseRadioNetwork_ue_RRC_release = 8,
+ HNBAP_CauseRadioNetwork_hNB_not_registered = 9,
+ HNBAP_CauseRadioNetwork_unspecified = 10,
+ HNBAP_CauseRadioNetwork_normal = 11,
+ HNBAP_CauseRadioNetwork_uE_relocated = 12,
+ HNBAP_CauseRadioNetwork_ue_registered_in_another_HNB = 13,
+ /*
+ * Enumeration is extensible
+ */
+ HNBAP_CauseRadioNetwork_no_neighbour_information_available = 14,
+ HNBAP_CauseRadioNetwork_iurh_connection_to_that_neighbour_not_Allowed = 15
+} e_HNBAP_CauseRadioNetwork;
+
+/* HNBAP_CauseRadioNetwork */
+typedef long HNBAP_CauseRadioNetwork_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CauseRadioNetwork;
+asn_struct_free_f HNBAP_CauseRadioNetwork_free;
+asn_struct_print_f HNBAP_CauseRadioNetwork_print;
+asn_constr_check_f HNBAP_CauseRadioNetwork_constraint;
+ber_type_decoder_f HNBAP_CauseRadioNetwork_decode_ber;
+der_type_encoder_f HNBAP_CauseRadioNetwork_encode_der;
+xer_type_decoder_f HNBAP_CauseRadioNetwork_decode_xer;
+xer_type_encoder_f HNBAP_CauseRadioNetwork_encode_xer;
+per_type_decoder_f HNBAP_CauseRadioNetwork_decode_uper;
+per_type_encoder_f HNBAP_CauseRadioNetwork_encode_uper;
+per_type_decoder_f HNBAP_CauseRadioNetwork_decode_aper;
+per_type_encoder_f HNBAP_CauseRadioNetwork_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_CauseRadioNetwork_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_CauseTransport.h b/include/osmocom/hnbap/HNBAP_CauseTransport.h
new file mode 100644
index 0000000..4d90428
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_CauseTransport.h
@@ -0,0 +1,52 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_CauseTransport_H_
+#define _HNBAP_CauseTransport_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <NativeEnumerated.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_CauseTransport {
+ HNBAP_CauseTransport_transport_resource_unavailable = 0,
+ HNBAP_CauseTransport_unspecified = 1
+ /*
+ * Enumeration is extensible
+ */
+} e_HNBAP_CauseTransport;
+
+/* HNBAP_CauseTransport */
+typedef long HNBAP_CauseTransport_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CauseTransport;
+asn_struct_free_f HNBAP_CauseTransport_free;
+asn_struct_print_f HNBAP_CauseTransport_print;
+asn_constr_check_f HNBAP_CauseTransport_constraint;
+ber_type_decoder_f HNBAP_CauseTransport_decode_ber;
+der_type_encoder_f HNBAP_CauseTransport_encode_der;
+xer_type_decoder_f HNBAP_CauseTransport_decode_xer;
+xer_type_encoder_f HNBAP_CauseTransport_encode_xer;
+per_type_decoder_f HNBAP_CauseTransport_decode_uper;
+per_type_encoder_f HNBAP_CauseTransport_encode_uper;
+per_type_decoder_f HNBAP_CauseTransport_decode_aper;
+per_type_encoder_f HNBAP_CauseTransport_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_CauseTransport_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_CellIdentity.h b/include/osmocom/hnbap/HNBAP_CellIdentity.h
new file mode 100644
index 0000000..7b17938
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_CellIdentity.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_CellIdentity_H_
+#define _HNBAP_CellIdentity_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <BIT_STRING.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_CellIdentity */
+typedef BIT_STRING_t HNBAP_CellIdentity_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CellIdentity;
+asn_struct_free_f HNBAP_CellIdentity_free;
+asn_struct_print_f HNBAP_CellIdentity_print;
+asn_constr_check_f HNBAP_CellIdentity_constraint;
+ber_type_decoder_f HNBAP_CellIdentity_decode_ber;
+der_type_encoder_f HNBAP_CellIdentity_encode_der;
+xer_type_decoder_f HNBAP_CellIdentity_decode_xer;
+xer_type_encoder_f HNBAP_CellIdentity_encode_xer;
+per_type_decoder_f HNBAP_CellIdentity_decode_uper;
+per_type_encoder_f HNBAP_CellIdentity_encode_uper;
+per_type_decoder_f HNBAP_CellIdentity_decode_aper;
+per_type_encoder_f HNBAP_CellIdentity_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_CellIdentity_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_ConfigurationInformation.h b/include/osmocom/hnbap/HNBAP_ConfigurationInformation.h
new file mode 100644
index 0000000..0f89163
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_ConfigurationInformation.h
@@ -0,0 +1,56 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_ConfigurationInformation_H_
+#define _HNBAP_ConfigurationInformation_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_HNBConfigurationInformationProvided.h>
+#include <osmocom/hnbap/HNBAP_HNBConfigurationInformationMissing.h>
+#include <constr_CHOICE.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_ConfigurationInformation_PR {
+ HNBAP_ConfigurationInformation_PR_NOTHING, /* No components present */
+ HNBAP_ConfigurationInformation_PR_provided,
+ HNBAP_ConfigurationInformation_PR_missing,
+ /* Extensions may appear below */
+
+} HNBAP_ConfigurationInformation_PR;
+
+/* HNBAP_ConfigurationInformation */
+typedef struct HNBAP_ConfigurationInformation {
+ HNBAP_ConfigurationInformation_PR present;
+ union HNBAP_ConfigurationInformation_u {
+ HNBAP_HNBConfigurationInformationProvided_t provided;
+ HNBAP_HNBConfigurationInformationMissing_t missing;
+ /*
+ * This type is extensible,
+ * possible extensions are below.
+ */
+ } choice;
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} HNBAP_ConfigurationInformation_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_ConfigurationInformation;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_ConfigurationInformation_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_Context-ID.h b/include/osmocom/hnbap/HNBAP_Context-ID.h
new file mode 100644
index 0000000..64612ba
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_Context-ID.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_Context_ID_H_
+#define _HNBAP_Context_ID_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <BIT_STRING.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_Context-ID */
+typedef BIT_STRING_t HNBAP_Context_ID_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_Context_ID;
+asn_struct_free_f HNBAP_Context_ID_free;
+asn_struct_print_f HNBAP_Context_ID_print;
+asn_constr_check_f HNBAP_Context_ID_constraint;
+ber_type_decoder_f HNBAP_Context_ID_decode_ber;
+der_type_encoder_f HNBAP_Context_ID_encode_der;
+xer_type_decoder_f HNBAP_Context_ID_decode_xer;
+xer_type_encoder_f HNBAP_Context_ID_encode_xer;
+per_type_decoder_f HNBAP_Context_ID_decode_uper;
+per_type_encoder_f HNBAP_Context_ID_encode_uper;
+per_type_decoder_f HNBAP_Context_ID_decode_aper;
+per_type_encoder_f HNBAP_Context_ID_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_Context_ID_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_Criticality.h b/include/osmocom/hnbap/HNBAP_Criticality.h
new file mode 100644
index 0000000..5081ab2
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_Criticality.h
@@ -0,0 +1,50 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-CommonDataTypes"
+ * found in "../../asn1/hnbap/HNBAP-CommonDataTypes.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_Criticality_H_
+#define _HNBAP_Criticality_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <NativeEnumerated.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_Criticality {
+ HNBAP_Criticality_reject = 0,
+ HNBAP_Criticality_ignore = 1,
+ HNBAP_Criticality_notify = 2
+} e_HNBAP_Criticality;
+
+/* HNBAP_Criticality */
+typedef long HNBAP_Criticality_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_Criticality;
+asn_struct_free_f HNBAP_Criticality_free;
+asn_struct_print_f HNBAP_Criticality_print;
+asn_constr_check_f HNBAP_Criticality_constraint;
+ber_type_decoder_f HNBAP_Criticality_decode_ber;
+der_type_encoder_f HNBAP_Criticality_encode_der;
+xer_type_decoder_f HNBAP_Criticality_decode_xer;
+xer_type_encoder_f HNBAP_Criticality_encode_xer;
+per_type_decoder_f HNBAP_Criticality_decode_uper;
+per_type_encoder_f HNBAP_Criticality_encode_uper;
+per_type_decoder_f HNBAP_Criticality_decode_aper;
+per_type_encoder_f HNBAP_Criticality_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_Criticality_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/CriticalityDiagnostics-IE-List.h b/include/osmocom/hnbap/HNBAP_CriticalityDiagnostics-IE-List.h
index 1398e87..ef7da79 100644
--- a/include/osmocom/hnbap/CriticalityDiagnostics-IE-List.h
+++ b/include/osmocom/hnbap/HNBAP_CriticalityDiagnostics-IE-List.h
@@ -5,17 +5,18 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _CriticalityDiagnostics_IE_List_H_
-#define _CriticalityDiagnostics_IE_List_H_
+#ifndef _HNBAP_CriticalityDiagnostics_IE_List_H_
+#define _HNBAP_CriticalityDiagnostics_IE_List_H_
#include <asn_application.h>
/* Including external dependencies */
#include <asn_SEQUENCE_OF.h>
-#include <osmocom/hnbap/Criticality.h>
-#include <osmocom/hnbap/ProtocolIE-ID.h>
-#include <osmocom/hnbap/TypeOfError.h>
+#include <osmocom/hnbap/HNBAP_Criticality.h>
+#include <osmocom/hnbap/HNBAP_ProtocolIE-ID.h>
+#include <osmocom/hnbap/HNBAP_TypeOfError.h>
+#include <osmocom/hnbap/HNBAP_IE-Extensions.h>
#include <constr_SEQUENCE.h>
#include <constr_SEQUENCE_OF.h>
@@ -23,16 +24,13 @@
extern "C" {
#endif
-/* Forward declarations */
-struct IE_Extensions;
-
-/* CriticalityDiagnostics-IE-List */
-typedef struct CriticalityDiagnostics_IE_List {
+/* HNBAP_CriticalityDiagnostics-IE-List */
+typedef struct HNBAP_CriticalityDiagnostics_IE_List {
A_SEQUENCE_OF(struct Member {
- Criticality_t iECriticality;
- ProtocolIE_ID_t iE_ID;
- TypeOfError_t typeOfError;
- struct IE_Extensions *iE_Extensions /* OPTIONAL */;
+ HNBAP_Criticality_t iECriticality;
+ HNBAP_ProtocolIE_ID_t iE_ID;
+ HNBAP_TypeOfError_t typeOfError;
+ HNBAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
@@ -44,17 +42,14 @@ typedef struct CriticalityDiagnostics_IE_List {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} CriticalityDiagnostics_IE_List_t;
+} HNBAP_CriticalityDiagnostics_IE_List_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_CriticalityDiagnostics_IE_List;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CriticalityDiagnostics_IE_List;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/IE-Extensions.h>
-
-#endif /* _CriticalityDiagnostics_IE_List_H_ */
+#endif /* _HNBAP_CriticalityDiagnostics_IE_List_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_CriticalityDiagnostics.h b/include/osmocom/hnbap/HNBAP_CriticalityDiagnostics.h
new file mode 100644
index 0000000..c64f89b
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_CriticalityDiagnostics.h
@@ -0,0 +1,50 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_CriticalityDiagnostics_H_
+#define _HNBAP_CriticalityDiagnostics_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_ProcedureCode.h>
+#include <osmocom/hnbap/HNBAP_TriggeringMessage.h>
+#include <osmocom/hnbap/HNBAP_Criticality.h>
+#include <osmocom/hnbap/HNBAP_CriticalityDiagnostics-IE-List.h>
+#include <osmocom/hnbap/HNBAP_IE-Extensions.h>
+#include <constr_SEQUENCE.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_CriticalityDiagnostics */
+typedef struct HNBAP_CriticalityDiagnostics {
+ HNBAP_ProcedureCode_t *procedureCode /* OPTIONAL */;
+ HNBAP_TriggeringMessage_t *triggeringMessage /* OPTIONAL */;
+ HNBAP_Criticality_t *procedureCriticality /* OPTIONAL */;
+ HNBAP_CriticalityDiagnostics_IE_List_t *iEsCriticalityDiagnostics /* OPTIONAL */;
+ HNBAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
+ /*
+ * This type is extensible,
+ * possible extensions are below.
+ */
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} HNBAP_CriticalityDiagnostics_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CriticalityDiagnostics;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_CriticalityDiagnostics_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_ESN.h b/include/osmocom/hnbap/HNBAP_ESN.h
new file mode 100644
index 0000000..349fcf1
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_ESN.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_ESN_H_
+#define _HNBAP_ESN_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <BIT_STRING.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_ESN */
+typedef BIT_STRING_t HNBAP_ESN_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_ESN;
+asn_struct_free_f HNBAP_ESN_free;
+asn_struct_print_f HNBAP_ESN_print;
+asn_constr_check_f HNBAP_ESN_constraint;
+ber_type_decoder_f HNBAP_ESN_decode_ber;
+der_type_encoder_f HNBAP_ESN_encode_der;
+xer_type_decoder_f HNBAP_ESN_decode_xer;
+xer_type_encoder_f HNBAP_ESN_encode_xer;
+per_type_decoder_f HNBAP_ESN_decode_uper;
+per_type_encoder_f HNBAP_ESN_encode_uper;
+per_type_decoder_f HNBAP_ESN_decode_aper;
+per_type_encoder_f HNBAP_ESN_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_ESN_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/ErrorIndication.h b/include/osmocom/hnbap/HNBAP_ErrorIndication.h
index 50e1eef..9fffa55 100644
--- a/include/osmocom/hnbap/ErrorIndication.h
+++ b/include/osmocom/hnbap/HNBAP_ErrorIndication.h
@@ -5,13 +5,14 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _ErrorIndication_H_
-#define _ErrorIndication_H_
+#ifndef _HNBAP_ErrorIndication_H_
+#define _HNBAP_ErrorIndication_H_
#include <asn_application.h>
/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
@@ -20,13 +21,10 @@
extern "C" {
#endif
-/* Forward declarations */
-struct IE;
-
-/* ErrorIndication */
-typedef struct ErrorIndication {
+/* HNBAP_ErrorIndication */
+typedef struct HNBAP_ErrorIndication {
struct errorIndication_ies {
- A_SEQUENCE_OF(struct IE) list;
+ A_SEQUENCE_OF(HNBAP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
@@ -38,17 +36,14 @@ typedef struct ErrorIndication {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} ErrorIndication_t;
+} HNBAP_ErrorIndication_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_ErrorIndication;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_ErrorIndication;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/IE.h>
-
-#endif /* _ErrorIndication_H_ */
+#endif /* _HNBAP_ErrorIndication_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_GTP-TEI.h b/include/osmocom/hnbap/HNBAP_GTP-TEI.h
new file mode 100644
index 0000000..56ee322
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_GTP-TEI.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_GTP_TEI_H_
+#define _HNBAP_GTP_TEI_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <OCTET_STRING.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_GTP-TEI */
+typedef OCTET_STRING_t HNBAP_GTP_TEI_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_GTP_TEI;
+asn_struct_free_f HNBAP_GTP_TEI_free;
+asn_struct_print_f HNBAP_GTP_TEI_print;
+asn_constr_check_f HNBAP_GTP_TEI_constraint;
+ber_type_decoder_f HNBAP_GTP_TEI_decode_ber;
+der_type_encoder_f HNBAP_GTP_TEI_encode_der;
+xer_type_decoder_f HNBAP_GTP_TEI_decode_xer;
+xer_type_encoder_f HNBAP_GTP_TEI_encode_xer;
+per_type_decoder_f HNBAP_GTP_TEI_decode_uper;
+per_type_encoder_f HNBAP_GTP_TEI_encode_uper;
+per_type_decoder_f HNBAP_GTP_TEI_decode_aper;
+per_type_encoder_f HNBAP_GTP_TEI_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_GTP_TEI_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/GeographicalCoordinates.h b/include/osmocom/hnbap/HNBAP_GeographicalCoordinates.h
index 107e7a0..1a8e237 100644
--- a/include/osmocom/hnbap/GeographicalCoordinates.h
+++ b/include/osmocom/hnbap/HNBAP_GeographicalCoordinates.h
@@ -5,8 +5,8 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _GeographicalCoordinates_H_
-#define _GeographicalCoordinates_H_
+#ifndef _HNBAP_GeographicalCoordinates_H_
+#define _HNBAP_GeographicalCoordinates_H_
#include <asn_application.h>
@@ -14,6 +14,7 @@
/* Including external dependencies */
#include <NativeEnumerated.h>
#include <NativeInteger.h>
+#include <osmocom/hnbap/HNBAP_IE-Extensions.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
@@ -26,15 +27,12 @@ typedef enum latitudeSign {
latitudeSign_south = 1
} e_latitudeSign;
-/* Forward declarations */
-struct IE_Extensions;
-
-/* GeographicalCoordinates */
-typedef struct GeographicalCoordinates {
+/* HNBAP_GeographicalCoordinates */
+typedef struct HNBAP_GeographicalCoordinates {
long latitudeSign;
long latitude;
long longitude;
- struct IE_Extensions *iE_Extensions /* OPTIONAL */;
+ HNBAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
@@ -42,18 +40,15 @@ typedef struct GeographicalCoordinates {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} GeographicalCoordinates_t;
+} HNBAP_GeographicalCoordinates_t;
/* Implementation */
/* extern asn_TYPE_descriptor_t asn_DEF_latitudeSign_2; // (Use -fall-defs-global to expose) */
-extern asn_TYPE_descriptor_t asn_DEF_GeographicalCoordinates;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_GeographicalCoordinates;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/IE-Extensions.h>
-
-#endif /* _GeographicalCoordinates_H_ */
+#endif /* _HNBAP_GeographicalCoordinates_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_GeographicalLocation.h b/include/osmocom/hnbap/HNBAP_GeographicalLocation.h
new file mode 100644
index 0000000..a672cef
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_GeographicalLocation.h
@@ -0,0 +1,46 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_GeographicalLocation_H_
+#define _HNBAP_GeographicalLocation_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_GeographicalCoordinates.h>
+#include <osmocom/hnbap/HNBAP_AltitudeAndDirection.h>
+#include <osmocom/hnbap/HNBAP_IE-Extensions.h>
+#include <constr_SEQUENCE.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_GeographicalLocation */
+typedef struct HNBAP_GeographicalLocation {
+ HNBAP_GeographicalCoordinates_t geographicalCoordinates;
+ HNBAP_AltitudeAndDirection_t altitudeAndDirection;
+ HNBAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
+ /*
+ * This type is extensible,
+ * possible extensions are below.
+ */
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} HNBAP_GeographicalLocation_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_GeographicalLocation;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_GeographicalLocation_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_HNB-Cell-Access-Mode.h b/include/osmocom/hnbap/HNBAP_HNB-Cell-Access-Mode.h
new file mode 100644
index 0000000..9fa4304
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_HNB-Cell-Access-Mode.h
@@ -0,0 +1,53 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_HNB_Cell_Access_Mode_H_
+#define _HNBAP_HNB_Cell_Access_Mode_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <NativeEnumerated.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_HNB_Cell_Access_Mode {
+ HNBAP_HNB_Cell_Access_Mode_closed = 0,
+ HNBAP_HNB_Cell_Access_Mode_hybrid = 1,
+ HNBAP_HNB_Cell_Access_Mode_open = 2
+ /*
+ * Enumeration is extensible
+ */
+} e_HNBAP_HNB_Cell_Access_Mode;
+
+/* HNBAP_HNB-Cell-Access-Mode */
+typedef long HNBAP_HNB_Cell_Access_Mode_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_HNB_Cell_Access_Mode;
+asn_struct_free_f HNBAP_HNB_Cell_Access_Mode_free;
+asn_struct_print_f HNBAP_HNB_Cell_Access_Mode_print;
+asn_constr_check_f HNBAP_HNB_Cell_Access_Mode_constraint;
+ber_type_decoder_f HNBAP_HNB_Cell_Access_Mode_decode_ber;
+der_type_encoder_f HNBAP_HNB_Cell_Access_Mode_encode_der;
+xer_type_decoder_f HNBAP_HNB_Cell_Access_Mode_decode_xer;
+xer_type_encoder_f HNBAP_HNB_Cell_Access_Mode_encode_xer;
+per_type_decoder_f HNBAP_HNB_Cell_Access_Mode_decode_uper;
+per_type_encoder_f HNBAP_HNB_Cell_Access_Mode_encode_uper;
+per_type_decoder_f HNBAP_HNB_Cell_Access_Mode_decode_aper;
+per_type_encoder_f HNBAP_HNB_Cell_Access_Mode_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_HNB_Cell_Access_Mode_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_HNB-Cell-Identifier.h b/include/osmocom/hnbap/HNBAP_HNB-Cell-Identifier.h
new file mode 100644
index 0000000..5aa67ee
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_HNB-Cell-Identifier.h
@@ -0,0 +1,46 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_HNB_Cell_Identifier_H_
+#define _HNBAP_HNB_Cell_Identifier_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_PLMNidentity.h>
+#include <osmocom/hnbap/HNBAP_CellIdentity.h>
+#include <osmocom/hnbap/HNBAP_IE-Extensions.h>
+#include <constr_SEQUENCE.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_HNB-Cell-Identifier */
+typedef struct HNBAP_HNB_Cell_Identifier {
+ HNBAP_PLMNidentity_t pLMNidentity;
+ HNBAP_CellIdentity_t cellIdentity;
+ HNBAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
+ /*
+ * This type is extensible,
+ * possible extensions are below.
+ */
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} HNBAP_HNB_Cell_Identifier_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_HNB_Cell_Identifier;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_HNB_Cell_Identifier_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_HNB-GWResponse.h b/include/osmocom/hnbap/HNBAP_HNB-GWResponse.h
new file mode 100644
index 0000000..b2835bb
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_HNB-GWResponse.h
@@ -0,0 +1,59 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_HNB_GWResponse_H_
+#define _HNBAP_HNB_GWResponse_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_HNBConfigInfo.h>
+#include <osmocom/hnbap/HNBAP_RNC-ID.h>
+#include <osmocom/hnbap/HNBAP_UnknownU-RNTIIndication.h>
+#include <constr_CHOICE.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_HNB_GWResponse_PR {
+ HNBAP_HNB_GWResponse_PR_NOTHING, /* No components present */
+ HNBAP_HNB_GWResponse_PR_hNB,
+ HNBAP_HNB_GWResponse_PR_macroRNC,
+ HNBAP_HNB_GWResponse_PR_unknownU_RNTIIndication,
+ /* Extensions may appear below */
+
+} HNBAP_HNB_GWResponse_PR;
+
+/* HNBAP_HNB-GWResponse */
+typedef struct HNBAP_HNB_GWResponse {
+ HNBAP_HNB_GWResponse_PR present;
+ union HNBAP_HNB_GWResponse_u {
+ HNBAP_HNBConfigInfo_t hNB;
+ HNBAP_RNC_ID_t macroRNC;
+ HNBAP_UnknownU_RNTIIndication_t unknownU_RNTIIndication;
+ /*
+ * This type is extensible,
+ * possible extensions are below.
+ */
+ } choice;
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} HNBAP_HNB_GWResponse_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_HNB_GWResponse;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_HNB_GWResponse_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_HNB-Identity-Info.h b/include/osmocom/hnbap/HNBAP_HNB-Identity-Info.h
new file mode 100644
index 0000000..b160d0c
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_HNB-Identity-Info.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_HNB_Identity_Info_H_
+#define _HNBAP_HNB_Identity_Info_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <OCTET_STRING.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_HNB-Identity-Info */
+typedef OCTET_STRING_t HNBAP_HNB_Identity_Info_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_HNB_Identity_Info;
+asn_struct_free_f HNBAP_HNB_Identity_Info_free;
+asn_struct_print_f HNBAP_HNB_Identity_Info_print;
+asn_constr_check_f HNBAP_HNB_Identity_Info_constraint;
+ber_type_decoder_f HNBAP_HNB_Identity_Info_decode_ber;
+der_type_encoder_f HNBAP_HNB_Identity_Info_encode_der;
+xer_type_decoder_f HNBAP_HNB_Identity_Info_decode_xer;
+xer_type_encoder_f HNBAP_HNB_Identity_Info_encode_xer;
+per_type_decoder_f HNBAP_HNB_Identity_Info_decode_uper;
+per_type_encoder_f HNBAP_HNB_Identity_Info_encode_uper;
+per_type_decoder_f HNBAP_HNB_Identity_Info_decode_aper;
+per_type_encoder_f HNBAP_HNB_Identity_Info_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_HNB_Identity_Info_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNB-Identity.h b/include/osmocom/hnbap/HNBAP_HNB-Identity.h
index 041db23..f127c54 100644
--- a/include/osmocom/hnbap/HNB-Identity.h
+++ b/include/osmocom/hnbap/HNBAP_HNB-Identity.h
@@ -5,27 +5,25 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _HNB_Identity_H_
-#define _HNB_Identity_H_
+#ifndef _HNBAP_HNB_Identity_H_
+#define _HNBAP_HNB_Identity_H_
#include <asn_application.h>
/* Including external dependencies */
-#include <osmocom/hnbap/HNB-Identity-Info.h>
+#include <osmocom/hnbap/HNBAP_HNB-Identity-Info.h>
+#include <osmocom/hnbap/HNBAP_IE-Extensions.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
-/* Forward declarations */
-struct IE_Extensions;
-
-/* HNB-Identity */
-typedef struct HNB_Identity {
- HNB_Identity_Info_t hNB_Identity_Info;
- struct IE_Extensions *iE_Extensions /* OPTIONAL */;
+/* HNBAP_HNB-Identity */
+typedef struct HNBAP_HNB_Identity {
+ HNBAP_HNB_Identity_Info_t hNB_Identity_Info;
+ HNBAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
@@ -33,17 +31,14 @@ typedef struct HNB_Identity {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} HNB_Identity_t;
+} HNBAP_HNB_Identity_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_HNB_Identity;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_HNB_Identity;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/IE-Extensions.h>
-
-#endif /* _HNB_Identity_H_ */
+#endif /* _HNBAP_HNB_Identity_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_HNB-Location-Information.h b/include/osmocom/hnbap/HNBAP_HNB-Location-Information.h
new file mode 100644
index 0000000..79be0f2
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_HNB-Location-Information.h
@@ -0,0 +1,46 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_HNB_Location_Information_H_
+#define _HNBAP_HNB_Location_Information_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_MacroCoverageInformation.h>
+#include <osmocom/hnbap/HNBAP_GeographicalLocation.h>
+#include <osmocom/hnbap/HNBAP_IE-Extensions.h>
+#include <constr_SEQUENCE.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_HNB-Location-Information */
+typedef struct HNBAP_HNB_Location_Information {
+ HNBAP_MacroCoverageInformation_t *macroCoverageInfo /* OPTIONAL */;
+ HNBAP_GeographicalLocation_t *geographicalCoordinates /* OPTIONAL */;
+ HNBAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
+ /*
+ * This type is extensible,
+ * possible extensions are below.
+ */
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} HNBAP_HNB_Location_Information_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_HNB_Location_Information;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_HNB_Location_Information_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_HNB-RNL-Identity.h b/include/osmocom/hnbap/HNBAP_HNB-RNL-Identity.h
new file mode 100644
index 0000000..b2739ae
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_HNB-RNL-Identity.h
@@ -0,0 +1,53 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_HNB_RNL_Identity_H_
+#define _HNBAP_HNB_RNL_Identity_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_HNB-Cell-Identifier.h>
+#include <constr_CHOICE.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_HNB_RNL_Identity_PR {
+ HNBAP_HNB_RNL_Identity_PR_NOTHING, /* No components present */
+ HNBAP_HNB_RNL_Identity_PR_hNB_Identity_as_Cell_Identifier,
+ /* Extensions may appear below */
+
+} HNBAP_HNB_RNL_Identity_PR;
+
+/* HNBAP_HNB-RNL-Identity */
+typedef struct HNBAP_HNB_RNL_Identity {
+ HNBAP_HNB_RNL_Identity_PR present;
+ union HNBAP_HNB_RNL_Identity_u {
+ HNBAP_HNB_Cell_Identifier_t hNB_Identity_as_Cell_Identifier;
+ /*
+ * This type is extensible,
+ * possible extensions are below.
+ */
+ } choice;
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} HNBAP_HNB_RNL_Identity_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_HNB_RNL_Identity;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_HNB_RNL_Identity_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_HNBAP-PDU.h b/include/osmocom/hnbap/HNBAP_HNBAP-PDU.h
new file mode 100644
index 0000000..91df4bc
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_HNBAP-PDU.h
@@ -0,0 +1,59 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-PDU"
+ * found in "../../asn1/hnbap/HNBAP-PDU.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_HNBAP_PDU_H_
+#define _HNBAP_HNBAP_PDU_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_InitiatingMessage.h>
+#include <osmocom/hnbap/HNBAP_SuccessfulOutcome.h>
+#include <osmocom/hnbap/HNBAP_UnsuccessfulOutcome.h>
+#include <constr_CHOICE.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_HNBAP_PDU_PR {
+ HNBAP_HNBAP_PDU_PR_NOTHING, /* No components present */
+ HNBAP_HNBAP_PDU_PR_initiatingMessage,
+ HNBAP_HNBAP_PDU_PR_successfulOutcome,
+ HNBAP_HNBAP_PDU_PR_unsuccessfulOutcome,
+ /* Extensions may appear below */
+
+} HNBAP_HNBAP_PDU_PR;
+
+/* HNBAP_HNBAP-PDU */
+typedef struct HNBAP_HNBAP_PDU {
+ HNBAP_HNBAP_PDU_PR present;
+ union HNBAP_HNBAP_PDU_u {
+ HNBAP_InitiatingMessage_t initiatingMessage;
+ HNBAP_SuccessfulOutcome_t successfulOutcome;
+ HNBAP_UnsuccessfulOutcome_t unsuccessfulOutcome;
+ /*
+ * This type is extensible,
+ * possible extensions are below.
+ */
+ } choice;
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} HNBAP_HNBAP_PDU_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_HNBAP_PDU;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_HNBAP_PDU_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_HNBCapacity.h b/include/osmocom/hnbap/HNBAP_HNBCapacity.h
new file mode 100644
index 0000000..fadb4fe
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_HNBCapacity.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_HNBCapacity_H_
+#define _HNBAP_HNBCapacity_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <NativeInteger.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_HNBCapacity */
+typedef long HNBAP_HNBCapacity_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_HNBCapacity;
+asn_struct_free_f HNBAP_HNBCapacity_free;
+asn_struct_print_f HNBAP_HNBCapacity_print;
+asn_constr_check_f HNBAP_HNBCapacity_constraint;
+ber_type_decoder_f HNBAP_HNBCapacity_decode_ber;
+der_type_encoder_f HNBAP_HNBCapacity_encode_der;
+xer_type_decoder_f HNBAP_HNBCapacity_decode_xer;
+xer_type_encoder_f HNBAP_HNBCapacity_encode_xer;
+per_type_decoder_f HNBAP_HNBCapacity_decode_uper;
+per_type_encoder_f HNBAP_HNBCapacity_encode_uper;
+per_type_decoder_f HNBAP_HNBCapacity_decode_aper;
+per_type_encoder_f HNBAP_HNBCapacity_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_HNBCapacity_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_HNBConfigInfo.h b/include/osmocom/hnbap/HNBAP_HNBConfigInfo.h
new file mode 100644
index 0000000..4f73ed1
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_HNBConfigInfo.h
@@ -0,0 +1,46 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_HNBConfigInfo_H_
+#define _HNBAP_HNBConfigInfo_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_HNB-RNL-Identity.h>
+#include <osmocom/hnbap/HNBAP_ConfigurationInformation.h>
+#include <osmocom/hnbap/HNBAP_IE-Extensions.h>
+#include <constr_SEQUENCE.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_HNBConfigInfo */
+typedef struct HNBAP_HNBConfigInfo {
+ HNBAP_HNB_RNL_Identity_t hnb_RNL_Identity;
+ HNBAP_ConfigurationInformation_t configurationInformation;
+ HNBAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
+ /*
+ * This type is extensible,
+ * possible extensions are below.
+ */
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} HNBAP_HNBConfigInfo_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_HNBConfigInfo;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_HNBConfigInfo_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBConfigTransferRequest.h b/include/osmocom/hnbap/HNBAP_HNBConfigTransferRequest.h
index 7f61914..cc52dae 100644
--- a/include/osmocom/hnbap/HNBConfigTransferRequest.h
+++ b/include/osmocom/hnbap/HNBAP_HNBConfigTransferRequest.h
@@ -5,13 +5,14 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _HNBConfigTransferRequest_H_
-#define _HNBConfigTransferRequest_H_
+#ifndef _HNBAP_HNBConfigTransferRequest_H_
+#define _HNBAP_HNBConfigTransferRequest_H_
#include <asn_application.h>
/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
@@ -20,13 +21,10 @@
extern "C" {
#endif
-/* Forward declarations */
-struct IE;
-
-/* HNBConfigTransferRequest */
-typedef struct HNBConfigTransferRequest {
+/* HNBAP_HNBConfigTransferRequest */
+typedef struct HNBAP_HNBConfigTransferRequest {
struct hnbConfigTransferRequest_ies {
- A_SEQUENCE_OF(struct IE) list;
+ A_SEQUENCE_OF(HNBAP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
@@ -38,17 +36,14 @@ typedef struct HNBConfigTransferRequest {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} HNBConfigTransferRequest_t;
+} HNBAP_HNBConfigTransferRequest_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_HNBConfigTransferRequest;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_HNBConfigTransferRequest;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/IE.h>
-
-#endif /* _HNBConfigTransferRequest_H_ */
+#endif /* _HNBAP_HNBConfigTransferRequest_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBConfigTransferResponse.h b/include/osmocom/hnbap/HNBAP_HNBConfigTransferResponse.h
index dcb08fa..4ad79b6 100644
--- a/include/osmocom/hnbap/HNBConfigTransferResponse.h
+++ b/include/osmocom/hnbap/HNBAP_HNBConfigTransferResponse.h
@@ -5,13 +5,14 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _HNBConfigTransferResponse_H_
-#define _HNBConfigTransferResponse_H_
+#ifndef _HNBAP_HNBConfigTransferResponse_H_
+#define _HNBAP_HNBConfigTransferResponse_H_
#include <asn_application.h>
/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
@@ -20,13 +21,10 @@
extern "C" {
#endif
-/* Forward declarations */
-struct IE;
-
-/* HNBConfigTransferResponse */
-typedef struct HNBConfigTransferResponse {
+/* HNBAP_HNBConfigTransferResponse */
+typedef struct HNBAP_HNBConfigTransferResponse {
struct hnbConfigTransferResponse_ies {
- A_SEQUENCE_OF(struct IE) list;
+ A_SEQUENCE_OF(HNBAP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
@@ -38,17 +36,14 @@ typedef struct HNBConfigTransferResponse {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} HNBConfigTransferResponse_t;
+} HNBAP_HNBConfigTransferResponse_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_HNBConfigTransferResponse;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_HNBConfigTransferResponse;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/IE.h>
-
-#endif /* _HNBConfigTransferResponse_H_ */
+#endif /* _HNBAP_HNBConfigTransferResponse_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_HNBConfigurationInformationMissing.h b/include/osmocom/hnbap/HNBAP_HNBConfigurationInformationMissing.h
new file mode 100644
index 0000000..dcc1001
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_HNBConfigurationInformationMissing.h
@@ -0,0 +1,44 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_HNBConfigurationInformationMissing_H_
+#define _HNBAP_HNBConfigurationInformationMissing_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_Cause.h>
+#include <osmocom/hnbap/HNBAP_IE-Extensions.h>
+#include <constr_SEQUENCE.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_HNBConfigurationInformationMissing */
+typedef struct HNBAP_HNBConfigurationInformationMissing {
+ HNBAP_Cause_t cause;
+ HNBAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
+ /*
+ * This type is extensible,
+ * possible extensions are below.
+ */
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} HNBAP_HNBConfigurationInformationMissing_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_HNBConfigurationInformationMissing;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_HNBConfigurationInformationMissing_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_HNBConfigurationInformationProvided.h b/include/osmocom/hnbap/HNBAP_HNBConfigurationInformationProvided.h
new file mode 100644
index 0000000..012a595
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_HNBConfigurationInformationProvided.h
@@ -0,0 +1,50 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_HNBConfigurationInformationProvided_H_
+#define _HNBAP_HNBConfigurationInformationProvided_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_PSC.h>
+#include <osmocom/hnbap/HNBAP_CSG-ID.h>
+#include <osmocom/hnbap/HNBAP_HNB-Cell-Access-Mode.h>
+#include <osmocom/hnbap/HNBAP_Iurh-Signalling-TNL-AddressList.h>
+#include <osmocom/hnbap/HNBAP_IE-Extensions.h>
+#include <constr_SEQUENCE.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_HNBConfigurationInformationProvided */
+typedef struct HNBAP_HNBConfigurationInformationProvided {
+ HNBAP_PSC_t *psc /* OPTIONAL */;
+ HNBAP_CSG_ID_t *cSG_ID /* OPTIONAL */;
+ HNBAP_HNB_Cell_Access_Mode_t hNB_Cell_Access_Mode;
+ HNBAP_Iurh_Signalling_TNL_AddressList_t iurh_Signalling_TNL_AddressList;
+ HNBAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
+ /*
+ * This type is extensible,
+ * possible extensions are below.
+ */
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} HNBAP_HNBConfigurationInformationProvided_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_HNBConfigurationInformationProvided;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_HNBConfigurationInformationProvided_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBDe-Register.h b/include/osmocom/hnbap/HNBAP_HNBDe-Register.h
index 53bc6f2..a669e52 100644
--- a/include/osmocom/hnbap/HNBDe-Register.h
+++ b/include/osmocom/hnbap/HNBAP_HNBDe-Register.h
@@ -5,13 +5,14 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _HNBDe_Register_H_
-#define _HNBDe_Register_H_
+#ifndef _HNBAP_HNBDe_Register_H_
+#define _HNBAP_HNBDe_Register_H_
#include <asn_application.h>
/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
@@ -20,13 +21,10 @@
extern "C" {
#endif
-/* Forward declarations */
-struct IE;
-
-/* HNBDe-Register */
-typedef struct HNBDe_Register {
+/* HNBAP_HNBDe-Register */
+typedef struct HNBAP_HNBDe_Register {
struct hnbDe_Register_ies {
- A_SEQUENCE_OF(struct IE) list;
+ A_SEQUENCE_OF(HNBAP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
@@ -38,17 +36,14 @@ typedef struct HNBDe_Register {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} HNBDe_Register_t;
+} HNBAP_HNBDe_Register_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_HNBDe_Register;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_HNBDe_Register;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/IE.h>
-
-#endif /* _HNBDe_Register_H_ */
+#endif /* _HNBAP_HNBDe_Register_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBRegisterAccept.h b/include/osmocom/hnbap/HNBAP_HNBRegisterAccept.h
index 09b246d..1b87860 100644
--- a/include/osmocom/hnbap/HNBRegisterAccept.h
+++ b/include/osmocom/hnbap/HNBAP_HNBRegisterAccept.h
@@ -5,13 +5,14 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _HNBRegisterAccept_H_
-#define _HNBRegisterAccept_H_
+#ifndef _HNBAP_HNBRegisterAccept_H_
+#define _HNBAP_HNBRegisterAccept_H_
#include <asn_application.h>
/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
@@ -20,13 +21,10 @@
extern "C" {
#endif
-/* Forward declarations */
-struct IE;
-
-/* HNBRegisterAccept */
-typedef struct HNBRegisterAccept {
+/* HNBAP_HNBRegisterAccept */
+typedef struct HNBAP_HNBRegisterAccept {
struct hnbRegisterAccept_ies {
- A_SEQUENCE_OF(struct IE) list;
+ A_SEQUENCE_OF(HNBAP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
@@ -38,17 +36,14 @@ typedef struct HNBRegisterAccept {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} HNBRegisterAccept_t;
+} HNBAP_HNBRegisterAccept_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_HNBRegisterAccept;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_HNBRegisterAccept;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/IE.h>
-
-#endif /* _HNBRegisterAccept_H_ */
+#endif /* _HNBAP_HNBRegisterAccept_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBRegisterReject.h b/include/osmocom/hnbap/HNBAP_HNBRegisterReject.h
index 91236e3..5c8ff8c 100644
--- a/include/osmocom/hnbap/HNBRegisterReject.h
+++ b/include/osmocom/hnbap/HNBAP_HNBRegisterReject.h
@@ -5,13 +5,14 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _HNBRegisterReject_H_
-#define _HNBRegisterReject_H_
+#ifndef _HNBAP_HNBRegisterReject_H_
+#define _HNBAP_HNBRegisterReject_H_
#include <asn_application.h>
/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
@@ -20,13 +21,10 @@
extern "C" {
#endif
-/* Forward declarations */
-struct IE;
-
-/* HNBRegisterReject */
-typedef struct HNBRegisterReject {
+/* HNBAP_HNBRegisterReject */
+typedef struct HNBAP_HNBRegisterReject {
struct hnbRegisterReject_ies {
- A_SEQUENCE_OF(struct IE) list;
+ A_SEQUENCE_OF(HNBAP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
@@ -38,17 +36,14 @@ typedef struct HNBRegisterReject {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} HNBRegisterReject_t;
+} HNBAP_HNBRegisterReject_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_HNBRegisterReject;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_HNBRegisterReject;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/IE.h>
-
-#endif /* _HNBRegisterReject_H_ */
+#endif /* _HNBAP_HNBRegisterReject_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBRegisterRequest.h b/include/osmocom/hnbap/HNBAP_HNBRegisterRequest.h
index f74e18d..b1a99d6 100644
--- a/include/osmocom/hnbap/HNBRegisterRequest.h
+++ b/include/osmocom/hnbap/HNBAP_HNBRegisterRequest.h
@@ -5,13 +5,14 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _HNBRegisterRequest_H_
-#define _HNBRegisterRequest_H_
+#ifndef _HNBAP_HNBRegisterRequest_H_
+#define _HNBAP_HNBRegisterRequest_H_
#include <asn_application.h>
/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
@@ -20,13 +21,10 @@
extern "C" {
#endif
-/* Forward declarations */
-struct IE;
-
-/* HNBRegisterRequest */
-typedef struct HNBRegisterRequest {
+/* HNBAP_HNBRegisterRequest */
+typedef struct HNBAP_HNBRegisterRequest {
struct hnbRegisterRequest_ies {
- A_SEQUENCE_OF(struct IE) list;
+ A_SEQUENCE_OF(HNBAP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
@@ -38,17 +36,14 @@ typedef struct HNBRegisterRequest {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} HNBRegisterRequest_t;
+} HNBAP_HNBRegisterRequest_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_HNBRegisterRequest;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_HNBRegisterRequest;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/IE.h>
-
-#endif /* _HNBRegisterRequest_H_ */
+#endif /* _HNBAP_HNBRegisterRequest_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/RABList.h b/include/osmocom/hnbap/HNBAP_IE-Extensions.h
index 7b43647..34d481c 100644
--- a/include/osmocom/hnbap/RABList.h
+++ b/include/osmocom/hnbap/HNBAP_IE-Extensions.h
@@ -5,13 +5,14 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _RABList_H_
-#define _RABList_H_
+#ifndef _HNBAP_IE_Extensions_H_
+#define _HNBAP_IE_Extensions_H_
#include <asn_application.h>
/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
@@ -19,26 +20,20 @@
extern "C" {
#endif
-/* Forward declarations */
-struct RABListItem;
-
-/* RABList */
-typedef struct RABList {
- A_SEQUENCE_OF(struct RABListItem) list;
+/* HNBAP_IE-Extensions */
+typedef struct HNBAP_IE_Extensions {
+ A_SEQUENCE_OF(HNBAP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} RABList_t;
+} HNBAP_IE_Extensions_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_RABList;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_IE_Extensions;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/RABListItem.h>
-
-#endif /* _RABList_H_ */
+#endif /* _HNBAP_IE_Extensions_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/IE.h b/include/osmocom/hnbap/HNBAP_IE.h
index d29bfce..8029014 100644
--- a/include/osmocom/hnbap/IE.h
+++ b/include/osmocom/hnbap/HNBAP_IE.h
@@ -5,15 +5,15 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _IE_H_
-#define _IE_H_
+#ifndef _HNBAP_IE_H_
+#define _HNBAP_IE_H_
#include <asn_application.h>
/* Including external dependencies */
-#include <osmocom/hnbap/ProtocolIE-ID.h>
-#include <osmocom/hnbap/Criticality.h>
+#include <osmocom/hnbap/HNBAP_ProtocolIE-ID.h>
+#include <osmocom/hnbap/HNBAP_Criticality.h>
#include <ANY.h>
#include <constr_SEQUENCE.h>
@@ -21,22 +21,22 @@
extern "C" {
#endif
-/* IE */
-typedef struct IE {
- ProtocolIE_ID_t id;
- Criticality_t criticality;
+/* HNBAP_IE */
+typedef struct HNBAP_IE {
+ HNBAP_ProtocolIE_ID_t id;
+ HNBAP_Criticality_t criticality;
ANY_t value;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} IE_t;
+} HNBAP_IE_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_IE;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_IE;
#ifdef __cplusplus
}
#endif
-#endif /* _IE_H_ */
+#endif /* _HNBAP_IE_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_IMEI.h b/include/osmocom/hnbap/HNBAP_IMEI.h
new file mode 100644
index 0000000..d541529
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_IMEI.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_IMEI_H_
+#define _HNBAP_IMEI_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <BIT_STRING.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_IMEI */
+typedef BIT_STRING_t HNBAP_IMEI_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_IMEI;
+asn_struct_free_f HNBAP_IMEI_free;
+asn_struct_print_f HNBAP_IMEI_print;
+asn_constr_check_f HNBAP_IMEI_constraint;
+ber_type_decoder_f HNBAP_IMEI_decode_ber;
+der_type_encoder_f HNBAP_IMEI_encode_der;
+xer_type_decoder_f HNBAP_IMEI_decode_xer;
+xer_type_encoder_f HNBAP_IMEI_encode_xer;
+per_type_decoder_f HNBAP_IMEI_decode_uper;
+per_type_encoder_f HNBAP_IMEI_encode_uper;
+per_type_decoder_f HNBAP_IMEI_decode_aper;
+per_type_encoder_f HNBAP_IMEI_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_IMEI_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_IMSI.h b/include/osmocom/hnbap/HNBAP_IMSI.h
new file mode 100644
index 0000000..f71e390
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_IMSI.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_IMSI_H_
+#define _HNBAP_IMSI_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <OCTET_STRING.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_IMSI */
+typedef OCTET_STRING_t HNBAP_IMSI_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_IMSI;
+asn_struct_free_f HNBAP_IMSI_free;
+asn_struct_print_f HNBAP_IMSI_print;
+asn_constr_check_f HNBAP_IMSI_constraint;
+ber_type_decoder_f HNBAP_IMSI_decode_ber;
+der_type_encoder_f HNBAP_IMSI_encode_der;
+xer_type_decoder_f HNBAP_IMSI_decode_xer;
+xer_type_encoder_f HNBAP_IMSI_encode_xer;
+per_type_decoder_f HNBAP_IMSI_decode_uper;
+per_type_encoder_f HNBAP_IMSI_encode_uper;
+per_type_decoder_f HNBAP_IMSI_decode_aper;
+per_type_encoder_f HNBAP_IMSI_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_IMSI_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_IMSIDS41.h b/include/osmocom/hnbap/HNBAP_IMSIDS41.h
new file mode 100644
index 0000000..7b3c2f4
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_IMSIDS41.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_IMSIDS41_H_
+#define _HNBAP_IMSIDS41_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <OCTET_STRING.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_IMSIDS41 */
+typedef OCTET_STRING_t HNBAP_IMSIDS41_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_IMSIDS41;
+asn_struct_free_f HNBAP_IMSIDS41_free;
+asn_struct_print_f HNBAP_IMSIDS41_print;
+asn_constr_check_f HNBAP_IMSIDS41_constraint;
+ber_type_decoder_f HNBAP_IMSIDS41_decode_ber;
+der_type_encoder_f HNBAP_IMSIDS41_encode_der;
+xer_type_decoder_f HNBAP_IMSIDS41_decode_xer;
+xer_type_encoder_f HNBAP_IMSIDS41_encode_xer;
+per_type_decoder_f HNBAP_IMSIDS41_decode_uper;
+per_type_encoder_f HNBAP_IMSIDS41_encode_uper;
+per_type_decoder_f HNBAP_IMSIDS41_decode_aper;
+per_type_encoder_f HNBAP_IMSIDS41_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_IMSIDS41_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/IMSIESN.h b/include/osmocom/hnbap/HNBAP_IMSIESN.h
index 4532cc7..9671bd8 100644
--- a/include/osmocom/hnbap/IMSIESN.h
+++ b/include/osmocom/hnbap/HNBAP_IMSIESN.h
@@ -5,36 +5,36 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _IMSIESN_H_
-#define _IMSIESN_H_
+#ifndef _HNBAP_IMSIESN_H_
+#define _HNBAP_IMSIESN_H_
#include <asn_application.h>
/* Including external dependencies */
-#include <osmocom/hnbap/IMSIDS41.h>
-#include <osmocom/hnbap/ESN.h>
+#include <osmocom/hnbap/HNBAP_IMSIDS41.h>
+#include <osmocom/hnbap/HNBAP_ESN.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
-/* IMSIESN */
-typedef struct IMSIESN {
- IMSIDS41_t iMSIDS41;
- ESN_t eSN;
+/* HNBAP_IMSIESN */
+typedef struct HNBAP_IMSIESN {
+ HNBAP_IMSIDS41_t iMSIDS41;
+ HNBAP_ESN_t eSN;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} IMSIESN_t;
+} HNBAP_IMSIESN_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_IMSIESN;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_IMSIESN;
#ifdef __cplusplus
}
#endif
-#endif /* _IMSIESN_H_ */
+#endif /* _HNBAP_IMSIESN_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/IP-Address.h b/include/osmocom/hnbap/HNBAP_IP-Address.h
index 32bcd47..1c4775d 100644
--- a/include/osmocom/hnbap/IP-Address.h
+++ b/include/osmocom/hnbap/HNBAP_IP-Address.h
@@ -5,15 +5,16 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _IP_Address_H_
-#define _IP_Address_H_
+#ifndef _HNBAP_IP_Address_H_
+#define _HNBAP_IP_Address_H_
#include <asn_application.h>
/* Including external dependencies */
-#include <osmocom/hnbap/Ipv4Address.h>
-#include <osmocom/hnbap/Ipv6Address.h>
+#include <osmocom/hnbap/HNBAP_IE-Extensions.h>
+#include <osmocom/hnbap/HNBAP_Ipv4Address.h>
+#include <osmocom/hnbap/HNBAP_Ipv6Address.h>
#include <constr_CHOICE.h>
#include <constr_SEQUENCE.h>
@@ -30,16 +31,13 @@ typedef enum ipaddress_PR {
} ipaddress_PR;
-/* Forward declarations */
-struct IE_Extensions;
-
-/* IP-Address */
-typedef struct IP_Address {
+/* HNBAP_IP-Address */
+typedef struct HNBAP_IP_Address {
struct ipaddress {
ipaddress_PR present;
- union IP_Address__ipaddress_u {
- Ipv4Address_t ipv4info;
- Ipv6Address_t ipv6info;
+ union HNBAP_IP_Address__ipaddress_u {
+ HNBAP_Ipv4Address_t ipv4info;
+ HNBAP_Ipv6Address_t ipv6info;
/*
* This type is extensible,
* possible extensions are below.
@@ -49,7 +47,7 @@ typedef struct IP_Address {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} ipaddress;
- struct IE_Extensions *iE_Extensions /* OPTIONAL */;
+ HNBAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
@@ -57,17 +55,14 @@ typedef struct IP_Address {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} IP_Address_t;
+} HNBAP_IP_Address_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_IP_Address;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_IP_Address;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/IE-Extensions.h>
-
-#endif /* _IP_Address_H_ */
+#endif /* _HNBAP_IP_Address_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/InitiatingMessage.h b/include/osmocom/hnbap/HNBAP_InitiatingMessage.h
index 5d886e6..9427640 100644
--- a/include/osmocom/hnbap/InitiatingMessage.h
+++ b/include/osmocom/hnbap/HNBAP_InitiatingMessage.h
@@ -5,15 +5,15 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _InitiatingMessage_H_
-#define _InitiatingMessage_H_
+#ifndef _HNBAP_InitiatingMessage_H_
+#define _HNBAP_InitiatingMessage_H_
#include <asn_application.h>
/* Including external dependencies */
-#include <osmocom/hnbap/ProcedureCode.h>
-#include <osmocom/hnbap/Criticality.h>
+#include <osmocom/hnbap/HNBAP_ProcedureCode.h>
+#include <osmocom/hnbap/HNBAP_Criticality.h>
#include <ANY.h>
#include <constr_SEQUENCE.h>
@@ -21,22 +21,22 @@
extern "C" {
#endif
-/* InitiatingMessage */
-typedef struct InitiatingMessage {
- ProcedureCode_t procedureCode;
- Criticality_t criticality;
+/* HNBAP_InitiatingMessage */
+typedef struct HNBAP_InitiatingMessage {
+ HNBAP_ProcedureCode_t procedureCode;
+ HNBAP_Criticality_t criticality;
ANY_t value;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} InitiatingMessage_t;
+} HNBAP_InitiatingMessage_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_InitiatingMessage;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_InitiatingMessage;
#ifdef __cplusplus
}
#endif
-#endif /* _InitiatingMessage_H_ */
+#endif /* _HNBAP_InitiatingMessage_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_Ipv4Address.h b/include/osmocom/hnbap/HNBAP_Ipv4Address.h
new file mode 100644
index 0000000..94d9df4
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_Ipv4Address.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_Ipv4Address_H_
+#define _HNBAP_Ipv4Address_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <OCTET_STRING.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_Ipv4Address */
+typedef OCTET_STRING_t HNBAP_Ipv4Address_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_Ipv4Address;
+asn_struct_free_f HNBAP_Ipv4Address_free;
+asn_struct_print_f HNBAP_Ipv4Address_print;
+asn_constr_check_f HNBAP_Ipv4Address_constraint;
+ber_type_decoder_f HNBAP_Ipv4Address_decode_ber;
+der_type_encoder_f HNBAP_Ipv4Address_encode_der;
+xer_type_decoder_f HNBAP_Ipv4Address_decode_xer;
+xer_type_encoder_f HNBAP_Ipv4Address_encode_xer;
+per_type_decoder_f HNBAP_Ipv4Address_decode_uper;
+per_type_encoder_f HNBAP_Ipv4Address_encode_uper;
+per_type_decoder_f HNBAP_Ipv4Address_decode_aper;
+per_type_encoder_f HNBAP_Ipv4Address_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_Ipv4Address_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_Ipv6Address.h b/include/osmocom/hnbap/HNBAP_Ipv6Address.h
new file mode 100644
index 0000000..7bdbee3
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_Ipv6Address.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_Ipv6Address_H_
+#define _HNBAP_Ipv6Address_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <OCTET_STRING.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_Ipv6Address */
+typedef OCTET_STRING_t HNBAP_Ipv6Address_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_Ipv6Address;
+asn_struct_free_f HNBAP_Ipv6Address_free;
+asn_struct_print_f HNBAP_Ipv6Address_print;
+asn_constr_check_f HNBAP_Ipv6Address_constraint;
+ber_type_decoder_f HNBAP_Ipv6Address_decode_ber;
+der_type_encoder_f HNBAP_Ipv6Address_encode_der;
+xer_type_decoder_f HNBAP_Ipv6Address_decode_xer;
+xer_type_encoder_f HNBAP_Ipv6Address_encode_xer;
+per_type_decoder_f HNBAP_Ipv6Address_decode_uper;
+per_type_encoder_f HNBAP_Ipv6Address_encode_uper;
+per_type_decoder_f HNBAP_Ipv6Address_decode_aper;
+per_type_encoder_f HNBAP_Ipv6Address_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_Ipv6Address_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_Iurh-Signalling-TNL-AddressList.h b/include/osmocom/hnbap/HNBAP_Iurh-Signalling-TNL-AddressList.h
new file mode 100644
index 0000000..d64224f
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_Iurh-Signalling-TNL-AddressList.h
@@ -0,0 +1,39 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_Iurh_Signalling_TNL_AddressList_H_
+#define _HNBAP_Iurh_Signalling_TNL_AddressList_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_IP-Address.h>
+#include <asn_SEQUENCE_OF.h>
+#include <constr_SEQUENCE_OF.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_Iurh-Signalling-TNL-AddressList */
+typedef struct HNBAP_Iurh_Signalling_TNL_AddressList {
+ A_SEQUENCE_OF(HNBAP_IP_Address_t) list;
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} HNBAP_Iurh_Signalling_TNL_AddressList_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_Iurh_Signalling_TNL_AddressList;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_Iurh_Signalling_TNL_AddressList_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_LAC.h b/include/osmocom/hnbap/HNBAP_LAC.h
new file mode 100644
index 0000000..5c9b0a1
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_LAC.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_LAC_H_
+#define _HNBAP_LAC_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <OCTET_STRING.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_LAC */
+typedef OCTET_STRING_t HNBAP_LAC_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_LAC;
+asn_struct_free_f HNBAP_LAC_free;
+asn_struct_print_f HNBAP_LAC_print;
+asn_constr_check_f HNBAP_LAC_constraint;
+ber_type_decoder_f HNBAP_LAC_decode_ber;
+der_type_encoder_f HNBAP_LAC_encode_der;
+xer_type_decoder_f HNBAP_LAC_decode_xer;
+xer_type_encoder_f HNBAP_LAC_encode_xer;
+per_type_decoder_f HNBAP_LAC_decode_uper;
+per_type_encoder_f HNBAP_LAC_encode_uper;
+per_type_decoder_f HNBAP_LAC_decode_aper;
+per_type_encoder_f HNBAP_LAC_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_LAC_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/RAI.h b/include/osmocom/hnbap/HNBAP_LAI.h
index 5d5b06f..f1ec681 100644
--- a/include/osmocom/hnbap/RAI.h
+++ b/include/osmocom/hnbap/HNBAP_LAI.h
@@ -5,25 +5,25 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _RAI_H_
-#define _RAI_H_
+#ifndef _HNBAP_LAI_H_
+#define _HNBAP_LAI_H_
#include <asn_application.h>
/* Including external dependencies */
-#include <osmocom/hnbap/LAI.h>
-#include <osmocom/hnbap/RAC.h>
+#include <osmocom/hnbap/HNBAP_PLMNidentity.h>
+#include <osmocom/hnbap/HNBAP_LAC.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
-/* RAI */
-typedef struct RAI {
- LAI_t lAI;
- RAC_t rAC;
+/* HNBAP_LAI */
+typedef struct HNBAP_LAI {
+ HNBAP_PLMNidentity_t pLMNID;
+ HNBAP_LAC_t lAC;
/*
* This type is extensible,
* possible extensions are below.
@@ -31,14 +31,14 @@ typedef struct RAI {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} RAI_t;
+} HNBAP_LAI_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_RAI;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_LAI;
#ifdef __cplusplus
}
#endif
-#endif /* _RAI_H_ */
+#endif /* _HNBAP_LAI_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_MacroCellID.h b/include/osmocom/hnbap/HNBAP_MacroCellID.h
new file mode 100644
index 0000000..4d3730b
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_MacroCellID.h
@@ -0,0 +1,56 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_MacroCellID_H_
+#define _HNBAP_MacroCellID_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_UTRANCellID.h>
+#include <osmocom/hnbap/HNBAP_CGI.h>
+#include <constr_CHOICE.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_MacroCellID_PR {
+ HNBAP_MacroCellID_PR_NOTHING, /* No components present */
+ HNBAP_MacroCellID_PR_uTRANCellID,
+ HNBAP_MacroCellID_PR_gERANCellID,
+ /* Extensions may appear below */
+
+} HNBAP_MacroCellID_PR;
+
+/* HNBAP_MacroCellID */
+typedef struct HNBAP_MacroCellID {
+ HNBAP_MacroCellID_PR present;
+ union HNBAP_MacroCellID_u {
+ HNBAP_UTRANCellID_t uTRANCellID;
+ HNBAP_CGI_t gERANCellID;
+ /*
+ * This type is extensible,
+ * possible extensions are below.
+ */
+ } choice;
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} HNBAP_MacroCellID_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_MacroCellID;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_MacroCellID_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_MacroCoverageInformation.h b/include/osmocom/hnbap/HNBAP_MacroCoverageInformation.h
new file mode 100644
index 0000000..5396d74
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_MacroCoverageInformation.h
@@ -0,0 +1,44 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_MacroCoverageInformation_H_
+#define _HNBAP_MacroCoverageInformation_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_MacroCellID.h>
+#include <osmocom/hnbap/HNBAP_IE-Extensions.h>
+#include <constr_SEQUENCE.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_MacroCoverageInformation */
+typedef struct HNBAP_MacroCoverageInformation {
+ HNBAP_MacroCellID_t cellIdentity;
+ HNBAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
+ /*
+ * This type is extensible,
+ * possible extensions are below.
+ */
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} HNBAP_MacroCoverageInformation_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_MacroCoverageInformation;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_MacroCoverageInformation_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_MuxPortNumber.h b/include/osmocom/hnbap/HNBAP_MuxPortNumber.h
new file mode 100644
index 0000000..f8c1941
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_MuxPortNumber.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_MuxPortNumber_H_
+#define _HNBAP_MuxPortNumber_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <NativeInteger.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_MuxPortNumber */
+typedef long HNBAP_MuxPortNumber_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_MuxPortNumber;
+asn_struct_free_f HNBAP_MuxPortNumber_free;
+asn_struct_print_f HNBAP_MuxPortNumber_print;
+asn_constr_check_f HNBAP_MuxPortNumber_constraint;
+ber_type_decoder_f HNBAP_MuxPortNumber_decode_ber;
+der_type_encoder_f HNBAP_MuxPortNumber_encode_der;
+xer_type_decoder_f HNBAP_MuxPortNumber_decode_xer;
+xer_type_encoder_f HNBAP_MuxPortNumber_encode_xer;
+per_type_decoder_f HNBAP_MuxPortNumber_decode_uper;
+per_type_encoder_f HNBAP_MuxPortNumber_encode_uper;
+per_type_decoder_f HNBAP_MuxPortNumber_decode_aper;
+per_type_encoder_f HNBAP_MuxPortNumber_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_MuxPortNumber_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_NeighbourCellIdentityList.h b/include/osmocom/hnbap/HNBAP_NeighbourCellIdentityList.h
new file mode 100644
index 0000000..b6b3c94
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_NeighbourCellIdentityList.h
@@ -0,0 +1,39 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_NeighbourCellIdentityList_H_
+#define _HNBAP_NeighbourCellIdentityList_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_NeighbourIdentity.h>
+#include <asn_SEQUENCE_OF.h>
+#include <constr_SEQUENCE_OF.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_NeighbourCellIdentityList */
+typedef struct HNBAP_NeighbourCellIdentityList {
+ A_SEQUENCE_OF(HNBAP_NeighbourIdentity_t) list;
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} HNBAP_NeighbourCellIdentityList_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_NeighbourCellIdentityList;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_NeighbourCellIdentityList_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_NeighbourIdentity.h b/include/osmocom/hnbap/HNBAP_NeighbourIdentity.h
new file mode 100644
index 0000000..7720cb0
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_NeighbourIdentity.h
@@ -0,0 +1,56 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_NeighbourIdentity_H_
+#define _HNBAP_NeighbourIdentity_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_HNB-RNL-Identity.h>
+#include <osmocom/hnbap/HNBAP_CellIdentity.h>
+#include <constr_CHOICE.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_NeighbourIdentity_PR {
+ HNBAP_NeighbourIdentity_PR_NOTHING, /* No components present */
+ HNBAP_NeighbourIdentity_PR_hNB_RNL_Identity,
+ HNBAP_NeighbourIdentity_PR_cell_ID,
+ /* Extensions may appear below */
+
+} HNBAP_NeighbourIdentity_PR;
+
+/* HNBAP_NeighbourIdentity */
+typedef struct HNBAP_NeighbourIdentity {
+ HNBAP_NeighbourIdentity_PR present;
+ union HNBAP_NeighbourIdentity_u {
+ HNBAP_HNB_RNL_Identity_t hNB_RNL_Identity;
+ HNBAP_CellIdentity_t cell_ID;
+ /*
+ * This type is extensible,
+ * possible extensions are below.
+ */
+ } choice;
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} HNBAP_NeighbourIdentity_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_NeighbourIdentity;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_NeighbourIdentity_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/NeighbourInfoList.h b/include/osmocom/hnbap/HNBAP_NeighbourInfoList.h
index 76ea6b1..ef0d1ad 100644
--- a/include/osmocom/hnbap/NeighbourInfoList.h
+++ b/include/osmocom/hnbap/HNBAP_NeighbourInfoList.h
@@ -5,13 +5,14 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _NeighbourInfoList_H_
-#define _NeighbourInfoList_H_
+#ifndef _HNBAP_NeighbourInfoList_H_
+#define _HNBAP_NeighbourInfoList_H_
#include <asn_application.h>
/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_HNBConfigInfo.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
@@ -19,26 +20,20 @@
extern "C" {
#endif
-/* Forward declarations */
-struct HNBConfigInfo;
-
-/* NeighbourInfoList */
-typedef struct NeighbourInfoList {
- A_SEQUENCE_OF(struct HNBConfigInfo) list;
+/* HNBAP_NeighbourInfoList */
+typedef struct HNBAP_NeighbourInfoList {
+ A_SEQUENCE_OF(HNBAP_HNBConfigInfo_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} NeighbourInfoList_t;
+} HNBAP_NeighbourInfoList_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_NeighbourInfoList;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_NeighbourInfoList;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/HNBConfigInfo.h>
-
-#endif /* _NeighbourInfoList_H_ */
+#endif /* _HNBAP_NeighbourInfoList_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_NeighbourInfoRequestItem.h b/include/osmocom/hnbap/HNBAP_NeighbourInfoRequestItem.h
new file mode 100644
index 0000000..aa98850
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_NeighbourInfoRequestItem.h
@@ -0,0 +1,44 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_NeighbourInfoRequestItem_H_
+#define _HNBAP_NeighbourInfoRequestItem_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_HNB-RNL-Identity.h>
+#include <osmocom/hnbap/HNBAP_IE-Extensions.h>
+#include <constr_SEQUENCE.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_NeighbourInfoRequestItem */
+typedef struct HNBAP_NeighbourInfoRequestItem {
+ HNBAP_HNB_RNL_Identity_t hnb_RNL_Identity;
+ HNBAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
+ /*
+ * This type is extensible,
+ * possible extensions are below.
+ */
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} HNBAP_NeighbourInfoRequestItem_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_NeighbourInfoRequestItem;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_NeighbourInfoRequestItem_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_NeighbourInfoRequestList.h b/include/osmocom/hnbap/HNBAP_NeighbourInfoRequestList.h
new file mode 100644
index 0000000..b0866c4
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_NeighbourInfoRequestList.h
@@ -0,0 +1,39 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_NeighbourInfoRequestList_H_
+#define _HNBAP_NeighbourInfoRequestList_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_NeighbourInfoRequestItem.h>
+#include <asn_SEQUENCE_OF.h>
+#include <constr_SEQUENCE_OF.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_NeighbourInfoRequestList */
+typedef struct HNBAP_NeighbourInfoRequestList {
+ A_SEQUENCE_OF(HNBAP_NeighbourInfoRequestItem_t) list;
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} HNBAP_NeighbourInfoRequestList_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_NeighbourInfoRequestList;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_NeighbourInfoRequestList_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_PLMNidentity.h b/include/osmocom/hnbap/HNBAP_PLMNidentity.h
new file mode 100644
index 0000000..c6f52e9
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_PLMNidentity.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_PLMNidentity_H_
+#define _HNBAP_PLMNidentity_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <OCTET_STRING.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_PLMNidentity */
+typedef OCTET_STRING_t HNBAP_PLMNidentity_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_PLMNidentity;
+asn_struct_free_f HNBAP_PLMNidentity_free;
+asn_struct_print_f HNBAP_PLMNidentity_print;
+asn_constr_check_f HNBAP_PLMNidentity_constraint;
+ber_type_decoder_f HNBAP_PLMNidentity_decode_ber;
+der_type_encoder_f HNBAP_PLMNidentity_encode_der;
+xer_type_decoder_f HNBAP_PLMNidentity_decode_xer;
+xer_type_encoder_f HNBAP_PLMNidentity_encode_xer;
+per_type_decoder_f HNBAP_PLMNidentity_decode_uper;
+per_type_encoder_f HNBAP_PLMNidentity_encode_uper;
+per_type_decoder_f HNBAP_PLMNidentity_decode_aper;
+per_type_encoder_f HNBAP_PLMNidentity_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_PLMNidentity_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_PSC.h b/include/osmocom/hnbap/HNBAP_PSC.h
new file mode 100644
index 0000000..aad7859
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_PSC.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_PSC_H_
+#define _HNBAP_PSC_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <BIT_STRING.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_PSC */
+typedef BIT_STRING_t HNBAP_PSC_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_PSC;
+asn_struct_free_f HNBAP_PSC_free;
+asn_struct_print_f HNBAP_PSC_print;
+asn_constr_check_f HNBAP_PSC_constraint;
+ber_type_decoder_f HNBAP_PSC_decode_ber;
+der_type_encoder_f HNBAP_PSC_encode_der;
+xer_type_decoder_f HNBAP_PSC_decode_xer;
+xer_type_encoder_f HNBAP_PSC_encode_xer;
+per_type_decoder_f HNBAP_PSC_decode_uper;
+per_type_encoder_f HNBAP_PSC_encode_uper;
+per_type_decoder_f HNBAP_PSC_decode_aper;
+per_type_encoder_f HNBAP_PSC_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_PSC_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_PTMSI.h b/include/osmocom/hnbap/HNBAP_PTMSI.h
new file mode 100644
index 0000000..b616e34
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_PTMSI.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_PTMSI_H_
+#define _HNBAP_PTMSI_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <BIT_STRING.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_PTMSI */
+typedef BIT_STRING_t HNBAP_PTMSI_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_PTMSI;
+asn_struct_free_f HNBAP_PTMSI_free;
+asn_struct_print_f HNBAP_PTMSI_print;
+asn_constr_check_f HNBAP_PTMSI_constraint;
+ber_type_decoder_f HNBAP_PTMSI_decode_ber;
+der_type_encoder_f HNBAP_PTMSI_encode_der;
+xer_type_decoder_f HNBAP_PTMSI_decode_xer;
+xer_type_encoder_f HNBAP_PTMSI_encode_xer;
+per_type_decoder_f HNBAP_PTMSI_decode_uper;
+per_type_encoder_f HNBAP_PTMSI_encode_uper;
+per_type_decoder_f HNBAP_PTMSI_decode_aper;
+per_type_encoder_f HNBAP_PTMSI_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_PTMSI_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/PTMSIRAI.h b/include/osmocom/hnbap/HNBAP_PTMSIRAI.h
index 8b8540a..fed74f2 100644
--- a/include/osmocom/hnbap/PTMSIRAI.h
+++ b/include/osmocom/hnbap/HNBAP_PTMSIRAI.h
@@ -5,25 +5,25 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _PTMSIRAI_H_
-#define _PTMSIRAI_H_
+#ifndef _HNBAP_PTMSIRAI_H_
+#define _HNBAP_PTMSIRAI_H_
#include <asn_application.h>
/* Including external dependencies */
-#include <osmocom/hnbap/PTMSI.h>
-#include <osmocom/hnbap/RAI.h>
+#include <osmocom/hnbap/HNBAP_PTMSI.h>
+#include <osmocom/hnbap/HNBAP_RAI.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
-/* PTMSIRAI */
-typedef struct PTMSIRAI {
- PTMSI_t pTMSI;
- RAI_t rAI;
+/* HNBAP_PTMSIRAI */
+typedef struct HNBAP_PTMSIRAI {
+ HNBAP_PTMSI_t pTMSI;
+ HNBAP_RAI_t rAI;
/*
* This type is extensible,
* possible extensions are below.
@@ -31,14 +31,14 @@ typedef struct PTMSIRAI {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} PTMSIRAI_t;
+} HNBAP_PTMSIRAI_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_PTMSIRAI;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_PTMSIRAI;
#ifdef __cplusplus
}
#endif
-#endif /* _PTMSIRAI_H_ */
+#endif /* _HNBAP_PTMSIRAI_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_Presence.h b/include/osmocom/hnbap/HNBAP_Presence.h
new file mode 100644
index 0000000..ca38181
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_Presence.h
@@ -0,0 +1,50 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-CommonDataTypes"
+ * found in "../../asn1/hnbap/HNBAP-CommonDataTypes.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_Presence_H_
+#define _HNBAP_Presence_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <NativeEnumerated.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_Presence {
+ HNBAP_Presence_optional = 0,
+ HNBAP_Presence_conditional = 1,
+ HNBAP_Presence_mandatory = 2
+} e_HNBAP_Presence;
+
+/* HNBAP_Presence */
+typedef long HNBAP_Presence_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_Presence;
+asn_struct_free_f HNBAP_Presence_free;
+asn_struct_print_f HNBAP_Presence_print;
+asn_constr_check_f HNBAP_Presence_constraint;
+ber_type_decoder_f HNBAP_Presence_decode_ber;
+der_type_encoder_f HNBAP_Presence_encode_der;
+xer_type_decoder_f HNBAP_Presence_decode_xer;
+xer_type_encoder_f HNBAP_Presence_encode_xer;
+per_type_decoder_f HNBAP_Presence_decode_uper;
+per_type_encoder_f HNBAP_Presence_encode_uper;
+per_type_decoder_f HNBAP_Presence_decode_aper;
+per_type_encoder_f HNBAP_Presence_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_Presence_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/PrivateIE-ID.h b/include/osmocom/hnbap/HNBAP_PrivateIE-ID.h
index 367703b..dd77956 100644
--- a/include/osmocom/hnbap/PrivateIE-ID.h
+++ b/include/osmocom/hnbap/HNBAP_PrivateIE-ID.h
@@ -5,8 +5,8 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _PrivateIE_ID_H_
-#define _PrivateIE_ID_H_
+#ifndef _HNBAP_PrivateIE_ID_H_
+#define _HNBAP_PrivateIE_ID_H_
#include <asn_application.h>
@@ -21,30 +21,30 @@ extern "C" {
#endif
/* Dependencies */
-typedef enum PrivateIE_ID_PR {
- PrivateIE_ID_PR_NOTHING, /* No components present */
- PrivateIE_ID_PR_local,
- PrivateIE_ID_PR_global
-} PrivateIE_ID_PR;
-
-/* PrivateIE-ID */
-typedef struct PrivateIE_ID {
- PrivateIE_ID_PR present;
- union PrivateIE_ID_u {
+typedef enum HNBAP_PrivateIE_ID_PR {
+ HNBAP_PrivateIE_ID_PR_NOTHING, /* No components present */
+ HNBAP_PrivateIE_ID_PR_local,
+ HNBAP_PrivateIE_ID_PR_global
+} HNBAP_PrivateIE_ID_PR;
+
+/* HNBAP_PrivateIE-ID */
+typedef struct HNBAP_PrivateIE_ID {
+ HNBAP_PrivateIE_ID_PR present;
+ union HNBAP_PrivateIE_ID_u {
long local;
OBJECT_IDENTIFIER_t global;
} choice;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} PrivateIE_ID_t;
+} HNBAP_PrivateIE_ID_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_PrivateIE_ID;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_PrivateIE_ID;
#ifdef __cplusplus
}
#endif
-#endif /* _PrivateIE_ID_H_ */
+#endif /* _HNBAP_PrivateIE_ID_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/PrivateMessage.h b/include/osmocom/hnbap/HNBAP_PrivateMessage.h
index bdf5adc..ecc092f 100644
--- a/include/osmocom/hnbap/PrivateMessage.h
+++ b/include/osmocom/hnbap/HNBAP_PrivateMessage.h
@@ -5,13 +5,14 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _PrivateMessage_H_
-#define _PrivateMessage_H_
+#ifndef _HNBAP_PrivateMessage_H_
+#define _HNBAP_PrivateMessage_H_
#include <asn_application.h>
/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
@@ -20,13 +21,10 @@
extern "C" {
#endif
-/* Forward declarations */
-struct IE;
-
-/* PrivateMessage */
-typedef struct PrivateMessage {
+/* HNBAP_PrivateMessage */
+typedef struct HNBAP_PrivateMessage {
struct privateMessage_ies {
- A_SEQUENCE_OF(struct IE) list;
+ A_SEQUENCE_OF(HNBAP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
@@ -38,17 +36,14 @@ typedef struct PrivateMessage {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} PrivateMessage_t;
+} HNBAP_PrivateMessage_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_PrivateMessage;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_PrivateMessage;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/IE.h>
-
-#endif /* _PrivateMessage_H_ */
+#endif /* _HNBAP_PrivateMessage_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_ProcedureCode.h b/include/osmocom/hnbap/HNBAP_ProcedureCode.h
new file mode 100644
index 0000000..fc6b2e8
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_ProcedureCode.h
@@ -0,0 +1,58 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-CommonDataTypes"
+ * found in "../../asn1/hnbap/HNBAP-CommonDataTypes.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_ProcedureCode_H_
+#define _HNBAP_ProcedureCode_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <NativeInteger.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_ProcedureCode {
+ HNBAP_ProcedureCode_id_HNBRegister = 1,
+ HNBAP_ProcedureCode_id_HNBDe_Register = 2,
+ HNBAP_ProcedureCode_id_UERegister = 3,
+ HNBAP_ProcedureCode_id_UEDe_Register = 4,
+ HNBAP_ProcedureCode_id_ErrorIndication = 5,
+ HNBAP_ProcedureCode_id_privateMessage = 6,
+ HNBAP_ProcedureCode_id_CSGMembershipUpdate = 7,
+ HNBAP_ProcedureCode_id_TNLUpdate = 9,
+ HNBAP_ProcedureCode_id_HNBConfigTransfer = 10,
+ HNBAP_ProcedureCode_id_RelocationComplete = 11,
+ HNBAP_ProcedureCode_id_U_RNTIQuery = 14
+} e_HNBAP_ProcedureCode;
+
+/* HNBAP_ProcedureCode */
+typedef long HNBAP_ProcedureCode_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_ProcedureCode;
+asn_struct_free_f HNBAP_ProcedureCode_free;
+asn_struct_print_f HNBAP_ProcedureCode_print;
+asn_constr_check_f HNBAP_ProcedureCode_constraint;
+ber_type_decoder_f HNBAP_ProcedureCode_decode_ber;
+der_type_encoder_f HNBAP_ProcedureCode_encode_der;
+xer_type_decoder_f HNBAP_ProcedureCode_decode_xer;
+xer_type_encoder_f HNBAP_ProcedureCode_encode_xer;
+per_type_decoder_f HNBAP_ProcedureCode_decode_uper;
+per_type_encoder_f HNBAP_ProcedureCode_encode_uper;
+per_type_decoder_f HNBAP_ProcedureCode_decode_aper;
+per_type_encoder_f HNBAP_ProcedureCode_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_ProcedureCode_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_ProtocolIE-ID.h b/include/osmocom/hnbap/HNBAP_ProtocolIE-ID.h
new file mode 100644
index 0000000..be1efe6
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_ProtocolIE-ID.h
@@ -0,0 +1,89 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-CommonDataTypes"
+ * found in "../../asn1/hnbap/HNBAP-CommonDataTypes.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_ProtocolIE_ID_H_
+#define _HNBAP_ProtocolIE_ID_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <NativeInteger.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_ProtocolIE_ID {
+ HNBAP_ProtocolIE_ID_id_Cause = 1,
+ HNBAP_ProtocolIE_ID_id_CriticalityDiagnostics = 2,
+ HNBAP_ProtocolIE_ID_id_HNB_Identity = 3,
+ HNBAP_ProtocolIE_ID_id_Context_ID = 4,
+ HNBAP_ProtocolIE_ID_id_UE_Identity = 5,
+ HNBAP_ProtocolIE_ID_id_LAC = 6,
+ HNBAP_ProtocolIE_ID_id_RAC = 7,
+ HNBAP_ProtocolIE_ID_id_HNB_Location_Information = 8,
+ HNBAP_ProtocolIE_ID_id_PLMNidentity = 9,
+ HNBAP_ProtocolIE_ID_id_SAC = 10,
+ HNBAP_ProtocolIE_ID_id_CellIdentity = 11,
+ HNBAP_ProtocolIE_ID_id_Registration_Cause = 12,
+ HNBAP_ProtocolIE_ID_id_UE_Capabilities = 13,
+ HNBAP_ProtocolIE_ID_id_RNC_ID = 14,
+ HNBAP_ProtocolIE_ID_id_CSG_ID = 15,
+ HNBAP_ProtocolIE_ID_id_BackoffTimer = 16,
+ HNBAP_ProtocolIE_ID_id_HNB_Internet_Information = 17,
+ HNBAP_ProtocolIE_ID_id_HNB_Cell_Access_Mode = 18,
+ HNBAP_ProtocolIE_ID_id_MuxPortNumber = 19,
+ HNBAP_ProtocolIE_ID_id_Service_Area_For_Broadcast = 20,
+ HNBAP_ProtocolIE_ID_id_CSGMembershipStatus = 21,
+ HNBAP_ProtocolIE_ID_id_RABList = 22,
+ HNBAP_ProtocolIE_ID_id_HNBConfigInfo = 23,
+ HNBAP_ProtocolIE_ID_id_AccessResult = 25,
+ HNBAP_ProtocolIE_ID_id_Update_cause = 26,
+ HNBAP_ProtocolIE_ID_id_NeighbourInfoList = 27,
+ HNBAP_ProtocolIE_ID_id_NeighbourInfoRequestList = 28,
+ HNBAP_ProtocolIE_ID_id_Iurh_Signalling_TNL_Address = 29,
+ HNBAP_ProtocolIE_ID_id_PSC = 30,
+ HNBAP_ProtocolIE_ID_id_HNB_Cell_Identifier = 31,
+ HNBAP_ProtocolIE_ID_id_Tunnel_Information = 41,
+ HNBAP_ProtocolIE_ID_id_CELL_FACHMobilitySupport = 42,
+ HNBAP_ProtocolIE_ID_id_S_RNTIPrefix = 43,
+ HNBAP_ProtocolIE_ID_id_URAIdentity = 44,
+ HNBAP_ProtocolIE_ID_id_NeighbourIdentity = 45,
+ HNBAP_ProtocolIE_ID_id_HNBCapacity = 46,
+ HNBAP_ProtocolIE_ID_id_NeighbourCellIdentityList = 47,
+ HNBAP_ProtocolIE_ID_id_AdditionalNeighbourInfoList = 48,
+ HNBAP_ProtocolIE_ID_id_U_RNTI = 49,
+ HNBAP_ProtocolIE_ID_id_UnknownU_RNTIIndication = 50,
+ HNBAP_ProtocolIE_ID_id_HNB_GWResponse = 51,
+ HNBAP_ProtocolIE_ID_id_URAIdentityList = 52
+} e_HNBAP_ProtocolIE_ID;
+
+/* HNBAP_ProtocolIE-ID */
+typedef long HNBAP_ProtocolIE_ID_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_ProtocolIE_ID;
+asn_struct_free_f HNBAP_ProtocolIE_ID_free;
+asn_struct_print_f HNBAP_ProtocolIE_ID_print;
+asn_constr_check_f HNBAP_ProtocolIE_ID_constraint;
+ber_type_decoder_f HNBAP_ProtocolIE_ID_decode_ber;
+der_type_encoder_f HNBAP_ProtocolIE_ID_encode_der;
+xer_type_decoder_f HNBAP_ProtocolIE_ID_decode_xer;
+xer_type_encoder_f HNBAP_ProtocolIE_ID_encode_xer;
+per_type_decoder_f HNBAP_ProtocolIE_ID_decode_uper;
+per_type_encoder_f HNBAP_ProtocolIE_ID_encode_uper;
+per_type_decoder_f HNBAP_ProtocolIE_ID_decode_aper;
+per_type_encoder_f HNBAP_ProtocolIE_ID_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_ProtocolIE_ID_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_RAB-ID.h b/include/osmocom/hnbap/HNBAP_RAB-ID.h
new file mode 100644
index 0000000..96612c0
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_RAB-ID.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_RAB_ID_H_
+#define _HNBAP_RAB_ID_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <BIT_STRING.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_RAB-ID */
+typedef BIT_STRING_t HNBAP_RAB_ID_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_RAB_ID;
+asn_struct_free_f HNBAP_RAB_ID_free;
+asn_struct_print_f HNBAP_RAB_ID_print;
+asn_constr_check_f HNBAP_RAB_ID_constraint;
+ber_type_decoder_f HNBAP_RAB_ID_decode_ber;
+der_type_encoder_f HNBAP_RAB_ID_encode_der;
+xer_type_decoder_f HNBAP_RAB_ID_decode_xer;
+xer_type_encoder_f HNBAP_RAB_ID_encode_xer;
+per_type_decoder_f HNBAP_RAB_ID_decode_uper;
+per_type_encoder_f HNBAP_RAB_ID_encode_uper;
+per_type_decoder_f HNBAP_RAB_ID_decode_aper;
+per_type_encoder_f HNBAP_RAB_ID_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_RAB_ID_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/URAIdentityList.h b/include/osmocom/hnbap/HNBAP_RABList.h
index 075c375..76d7a1a 100644
--- a/include/osmocom/hnbap/URAIdentityList.h
+++ b/include/osmocom/hnbap/HNBAP_RABList.h
@@ -5,14 +5,14 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _URAIdentityList_H_
-#define _URAIdentityList_H_
+#ifndef _HNBAP_RABList_H_
+#define _HNBAP_RABList_H_
#include <asn_application.h>
/* Including external dependencies */
-#include <osmocom/hnbap/URAIdentity.h>
+#include <osmocom/hnbap/HNBAP_RABListItem.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
@@ -20,20 +20,20 @@
extern "C" {
#endif
-/* URAIdentityList */
-typedef struct URAIdentityList {
- A_SEQUENCE_OF(URAIdentity_t) list;
+/* HNBAP_RABList */
+typedef struct HNBAP_RABList {
+ A_SEQUENCE_OF(HNBAP_RABListItem_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} URAIdentityList_t;
+} HNBAP_RABList_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_URAIdentityList;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_RABList;
#ifdef __cplusplus
}
#endif
-#endif /* _URAIdentityList_H_ */
+#endif /* _HNBAP_RABList_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_RABListItem.h b/include/osmocom/hnbap/HNBAP_RABListItem.h
new file mode 100644
index 0000000..11cc414
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_RABListItem.h
@@ -0,0 +1,49 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_RABListItem_H_
+#define _HNBAP_RABListItem_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_RAB-ID.h>
+#include <osmocom/hnbap/HNBAP_TransportInfo.h>
+#include <osmocom/hnbap/HNBAP_CN-DomainIndicator.h>
+#include <osmocom/hnbap/HNBAP_IE-Extensions.h>
+#include <constr_SEQUENCE.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_RABListItem */
+typedef struct HNBAP_RABListItem {
+ HNBAP_RAB_ID_t rAB_ID;
+ HNBAP_TransportInfo_t old_transport_Info;
+ HNBAP_TransportInfo_t new_transport_Info;
+ HNBAP_CN_DomainIndicator_t cn_domain_indicator;
+ HNBAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
+ /*
+ * This type is extensible,
+ * possible extensions are below.
+ */
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} HNBAP_RABListItem_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_RABListItem;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_RABListItem_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_RAC.h b/include/osmocom/hnbap/HNBAP_RAC.h
new file mode 100644
index 0000000..e1bae72
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_RAC.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_RAC_H_
+#define _HNBAP_RAC_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <OCTET_STRING.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_RAC */
+typedef OCTET_STRING_t HNBAP_RAC_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_RAC;
+asn_struct_free_f HNBAP_RAC_free;
+asn_struct_print_f HNBAP_RAC_print;
+asn_constr_check_f HNBAP_RAC_constraint;
+ber_type_decoder_f HNBAP_RAC_decode_ber;
+der_type_encoder_f HNBAP_RAC_encode_der;
+xer_type_decoder_f HNBAP_RAC_decode_xer;
+xer_type_encoder_f HNBAP_RAC_encode_xer;
+per_type_decoder_f HNBAP_RAC_decode_uper;
+per_type_encoder_f HNBAP_RAC_encode_uper;
+per_type_decoder_f HNBAP_RAC_decode_aper;
+per_type_encoder_f HNBAP_RAC_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_RAC_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/LAI.h b/include/osmocom/hnbap/HNBAP_RAI.h
index 39d2635..eab28b0 100644
--- a/include/osmocom/hnbap/LAI.h
+++ b/include/osmocom/hnbap/HNBAP_RAI.h
@@ -5,25 +5,25 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _LAI_H_
-#define _LAI_H_
+#ifndef _HNBAP_RAI_H_
+#define _HNBAP_RAI_H_
#include <asn_application.h>
/* Including external dependencies */
-#include <osmocom/hnbap/PLMNidentity.h>
-#include <osmocom/hnbap/LAC.h>
+#include <osmocom/hnbap/HNBAP_LAI.h>
+#include <osmocom/hnbap/HNBAP_RAC.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
-/* LAI */
-typedef struct LAI {
- PLMNidentity_t pLMNID;
- LAC_t lAC;
+/* HNBAP_RAI */
+typedef struct HNBAP_RAI {
+ HNBAP_LAI_t lAI;
+ HNBAP_RAC_t rAC;
/*
* This type is extensible,
* possible extensions are below.
@@ -31,14 +31,14 @@ typedef struct LAI {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} LAI_t;
+} HNBAP_RAI_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_LAI;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_RAI;
#ifdef __cplusplus
}
#endif
-#endif /* _LAI_H_ */
+#endif /* _HNBAP_RAI_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_RNC-ID.h b/include/osmocom/hnbap/HNBAP_RNC-ID.h
new file mode 100644
index 0000000..d4c62a6
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_RNC-ID.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_RNC_ID_H_
+#define _HNBAP_RNC_ID_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <NativeInteger.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_RNC-ID */
+typedef long HNBAP_RNC_ID_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_RNC_ID;
+asn_struct_free_f HNBAP_RNC_ID_free;
+asn_struct_print_f HNBAP_RNC_ID_print;
+asn_constr_check_f HNBAP_RNC_ID_constraint;
+ber_type_decoder_f HNBAP_RNC_ID_decode_ber;
+der_type_encoder_f HNBAP_RNC_ID_encode_der;
+xer_type_decoder_f HNBAP_RNC_ID_decode_xer;
+xer_type_encoder_f HNBAP_RNC_ID_encode_xer;
+per_type_decoder_f HNBAP_RNC_ID_decode_uper;
+per_type_encoder_f HNBAP_RNC_ID_encode_uper;
+per_type_decoder_f HNBAP_RNC_ID_decode_aper;
+per_type_encoder_f HNBAP_RNC_ID_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_RNC_ID_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_Registration-Cause.h b/include/osmocom/hnbap/HNBAP_Registration-Cause.h
new file mode 100644
index 0000000..9a5af41
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_Registration-Cause.h
@@ -0,0 +1,53 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_Registration_Cause_H_
+#define _HNBAP_Registration_Cause_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <NativeEnumerated.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_Registration_Cause {
+ HNBAP_Registration_Cause_emergency_call = 0,
+ HNBAP_Registration_Cause_normal = 1,
+ /*
+ * Enumeration is extensible
+ */
+ HNBAP_Registration_Cause_ue_relocation = 2
+} e_HNBAP_Registration_Cause;
+
+/* HNBAP_Registration-Cause */
+typedef long HNBAP_Registration_Cause_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_Registration_Cause;
+asn_struct_free_f HNBAP_Registration_Cause_free;
+asn_struct_print_f HNBAP_Registration_Cause_print;
+asn_constr_check_f HNBAP_Registration_Cause_constraint;
+ber_type_decoder_f HNBAP_Registration_Cause_decode_ber;
+der_type_encoder_f HNBAP_Registration_Cause_encode_der;
+xer_type_decoder_f HNBAP_Registration_Cause_decode_xer;
+xer_type_encoder_f HNBAP_Registration_Cause_encode_xer;
+per_type_decoder_f HNBAP_Registration_Cause_decode_uper;
+per_type_encoder_f HNBAP_Registration_Cause_encode_uper;
+per_type_decoder_f HNBAP_Registration_Cause_decode_aper;
+per_type_encoder_f HNBAP_Registration_Cause_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_Registration_Cause_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/RelocationComplete.h b/include/osmocom/hnbap/HNBAP_RelocationComplete.h
index 78ef66e..f61dbe7 100644
--- a/include/osmocom/hnbap/RelocationComplete.h
+++ b/include/osmocom/hnbap/HNBAP_RelocationComplete.h
@@ -5,13 +5,14 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _RelocationComplete_H_
-#define _RelocationComplete_H_
+#ifndef _HNBAP_RelocationComplete_H_
+#define _HNBAP_RelocationComplete_H_
#include <asn_application.h>
/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
@@ -20,13 +21,10 @@
extern "C" {
#endif
-/* Forward declarations */
-struct IE;
-
-/* RelocationComplete */
-typedef struct RelocationComplete {
+/* HNBAP_RelocationComplete */
+typedef struct HNBAP_RelocationComplete {
struct relocationComplete_ies {
- A_SEQUENCE_OF(struct IE) list;
+ A_SEQUENCE_OF(HNBAP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
@@ -38,17 +36,14 @@ typedef struct RelocationComplete {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} RelocationComplete_t;
+} HNBAP_RelocationComplete_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_RelocationComplete;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_RelocationComplete;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/IE.h>
-
-#endif /* _RelocationComplete_H_ */
+#endif /* _HNBAP_RelocationComplete_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_S-RNTIPrefix.h b/include/osmocom/hnbap/HNBAP_S-RNTIPrefix.h
new file mode 100644
index 0000000..6979520
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_S-RNTIPrefix.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_S_RNTIPrefix_H_
+#define _HNBAP_S_RNTIPrefix_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <BIT_STRING.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_S-RNTIPrefix */
+typedef BIT_STRING_t HNBAP_S_RNTIPrefix_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_S_RNTIPrefix;
+asn_struct_free_f HNBAP_S_RNTIPrefix_free;
+asn_struct_print_f HNBAP_S_RNTIPrefix_print;
+asn_constr_check_f HNBAP_S_RNTIPrefix_constraint;
+ber_type_decoder_f HNBAP_S_RNTIPrefix_decode_ber;
+der_type_encoder_f HNBAP_S_RNTIPrefix_encode_der;
+xer_type_decoder_f HNBAP_S_RNTIPrefix_decode_xer;
+xer_type_encoder_f HNBAP_S_RNTIPrefix_encode_xer;
+per_type_decoder_f HNBAP_S_RNTIPrefix_decode_uper;
+per_type_encoder_f HNBAP_S_RNTIPrefix_encode_uper;
+per_type_decoder_f HNBAP_S_RNTIPrefix_decode_aper;
+per_type_encoder_f HNBAP_S_RNTIPrefix_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_S_RNTIPrefix_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_SAC.h b/include/osmocom/hnbap/HNBAP_SAC.h
new file mode 100644
index 0000000..98696ef
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_SAC.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_SAC_H_
+#define _HNBAP_SAC_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <OCTET_STRING.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_SAC */
+typedef OCTET_STRING_t HNBAP_SAC_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_SAC;
+asn_struct_free_f HNBAP_SAC_free;
+asn_struct_print_f HNBAP_SAC_print;
+asn_constr_check_f HNBAP_SAC_constraint;
+ber_type_decoder_f HNBAP_SAC_decode_ber;
+der_type_encoder_f HNBAP_SAC_encode_der;
+xer_type_decoder_f HNBAP_SAC_decode_xer;
+xer_type_encoder_f HNBAP_SAC_encode_xer;
+per_type_decoder_f HNBAP_SAC_decode_uper;
+per_type_encoder_f HNBAP_SAC_encode_uper;
+per_type_decoder_f HNBAP_SAC_decode_aper;
+per_type_encoder_f HNBAP_SAC_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_SAC_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/SuccessfulOutcome.h b/include/osmocom/hnbap/HNBAP_SuccessfulOutcome.h
index 5ba9263..64f7b5d 100644
--- a/include/osmocom/hnbap/SuccessfulOutcome.h
+++ b/include/osmocom/hnbap/HNBAP_SuccessfulOutcome.h
@@ -5,15 +5,15 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _SuccessfulOutcome_H_
-#define _SuccessfulOutcome_H_
+#ifndef _HNBAP_SuccessfulOutcome_H_
+#define _HNBAP_SuccessfulOutcome_H_
#include <asn_application.h>
/* Including external dependencies */
-#include <osmocom/hnbap/ProcedureCode.h>
-#include <osmocom/hnbap/Criticality.h>
+#include <osmocom/hnbap/HNBAP_ProcedureCode.h>
+#include <osmocom/hnbap/HNBAP_Criticality.h>
#include <ANY.h>
#include <constr_SEQUENCE.h>
@@ -21,22 +21,22 @@
extern "C" {
#endif
-/* SuccessfulOutcome */
-typedef struct SuccessfulOutcome {
- ProcedureCode_t procedureCode;
- Criticality_t criticality;
+/* HNBAP_SuccessfulOutcome */
+typedef struct HNBAP_SuccessfulOutcome {
+ HNBAP_ProcedureCode_t procedureCode;
+ HNBAP_Criticality_t criticality;
ANY_t value;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} SuccessfulOutcome_t;
+} HNBAP_SuccessfulOutcome_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_SuccessfulOutcome;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_SuccessfulOutcome;
#ifdef __cplusplus
}
#endif
-#endif /* _SuccessfulOutcome_H_ */
+#endif /* _HNBAP_SuccessfulOutcome_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_TMSIDS41.h b/include/osmocom/hnbap/HNBAP_TMSIDS41.h
new file mode 100644
index 0000000..8f10577
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_TMSIDS41.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_TMSIDS41_H_
+#define _HNBAP_TMSIDS41_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <OCTET_STRING.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_TMSIDS41 */
+typedef OCTET_STRING_t HNBAP_TMSIDS41_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_TMSIDS41;
+asn_struct_free_f HNBAP_TMSIDS41_free;
+asn_struct_print_f HNBAP_TMSIDS41_print;
+asn_constr_check_f HNBAP_TMSIDS41_constraint;
+ber_type_decoder_f HNBAP_TMSIDS41_decode_ber;
+der_type_encoder_f HNBAP_TMSIDS41_encode_der;
+xer_type_decoder_f HNBAP_TMSIDS41_decode_xer;
+xer_type_encoder_f HNBAP_TMSIDS41_encode_xer;
+per_type_decoder_f HNBAP_TMSIDS41_decode_uper;
+per_type_encoder_f HNBAP_TMSIDS41_encode_uper;
+per_type_decoder_f HNBAP_TMSIDS41_decode_aper;
+per_type_encoder_f HNBAP_TMSIDS41_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_TMSIDS41_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/TMSILAI.h b/include/osmocom/hnbap/HNBAP_TMSILAI.h
index 6364a79..83f697c 100644
--- a/include/osmocom/hnbap/TMSILAI.h
+++ b/include/osmocom/hnbap/HNBAP_TMSILAI.h
@@ -5,36 +5,36 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _TMSILAI_H_
-#define _TMSILAI_H_
+#ifndef _HNBAP_TMSILAI_H_
+#define _HNBAP_TMSILAI_H_
#include <asn_application.h>
/* Including external dependencies */
#include <BIT_STRING.h>
-#include <osmocom/hnbap/LAI.h>
+#include <osmocom/hnbap/HNBAP_LAI.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
-/* TMSILAI */
-typedef struct TMSILAI {
+/* HNBAP_TMSILAI */
+typedef struct HNBAP_TMSILAI {
BIT_STRING_t tMSI;
- LAI_t lAI;
+ HNBAP_LAI_t lAI;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} TMSILAI_t;
+} HNBAP_TMSILAI_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_TMSILAI;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_TMSILAI;
#ifdef __cplusplus
}
#endif
-#endif /* _TMSILAI_H_ */
+#endif /* _HNBAP_TMSILAI_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/TNLUpdateFailure.h b/include/osmocom/hnbap/HNBAP_TNLUpdateFailure.h
index 222f775..44af731 100644
--- a/include/osmocom/hnbap/TNLUpdateFailure.h
+++ b/include/osmocom/hnbap/HNBAP_TNLUpdateFailure.h
@@ -5,13 +5,14 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _TNLUpdateFailure_H_
-#define _TNLUpdateFailure_H_
+#ifndef _HNBAP_TNLUpdateFailure_H_
+#define _HNBAP_TNLUpdateFailure_H_
#include <asn_application.h>
/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
@@ -20,13 +21,10 @@
extern "C" {
#endif
-/* Forward declarations */
-struct IE;
-
-/* TNLUpdateFailure */
-typedef struct TNLUpdateFailure {
+/* HNBAP_TNLUpdateFailure */
+typedef struct HNBAP_TNLUpdateFailure {
struct tnlUpdateFailure_ies {
- A_SEQUENCE_OF(struct IE) list;
+ A_SEQUENCE_OF(HNBAP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
@@ -38,17 +36,14 @@ typedef struct TNLUpdateFailure {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} TNLUpdateFailure_t;
+} HNBAP_TNLUpdateFailure_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_TNLUpdateFailure;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_TNLUpdateFailure;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/IE.h>
-
-#endif /* _TNLUpdateFailure_H_ */
+#endif /* _HNBAP_TNLUpdateFailure_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/TNLUpdateRequest.h b/include/osmocom/hnbap/HNBAP_TNLUpdateRequest.h
index dc85e18..61d77f6 100644
--- a/include/osmocom/hnbap/TNLUpdateRequest.h
+++ b/include/osmocom/hnbap/HNBAP_TNLUpdateRequest.h
@@ -5,13 +5,14 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _TNLUpdateRequest_H_
-#define _TNLUpdateRequest_H_
+#ifndef _HNBAP_TNLUpdateRequest_H_
+#define _HNBAP_TNLUpdateRequest_H_
#include <asn_application.h>
/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
@@ -20,13 +21,10 @@
extern "C" {
#endif
-/* Forward declarations */
-struct IE;
-
-/* TNLUpdateRequest */
-typedef struct TNLUpdateRequest {
+/* HNBAP_TNLUpdateRequest */
+typedef struct HNBAP_TNLUpdateRequest {
struct tnlUpdateRequest_ies {
- A_SEQUENCE_OF(struct IE) list;
+ A_SEQUENCE_OF(HNBAP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
@@ -38,17 +36,14 @@ typedef struct TNLUpdateRequest {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} TNLUpdateRequest_t;
+} HNBAP_TNLUpdateRequest_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_TNLUpdateRequest;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_TNLUpdateRequest;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/IE.h>
-
-#endif /* _TNLUpdateRequest_H_ */
+#endif /* _HNBAP_TNLUpdateRequest_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/TNLUpdateResponse.h b/include/osmocom/hnbap/HNBAP_TNLUpdateResponse.h
index 3d2d11d..62b5e05 100644
--- a/include/osmocom/hnbap/TNLUpdateResponse.h
+++ b/include/osmocom/hnbap/HNBAP_TNLUpdateResponse.h
@@ -5,13 +5,14 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _TNLUpdateResponse_H_
-#define _TNLUpdateResponse_H_
+#ifndef _HNBAP_TNLUpdateResponse_H_
+#define _HNBAP_TNLUpdateResponse_H_
#include <asn_application.h>
/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
@@ -20,13 +21,10 @@
extern "C" {
#endif
-/* Forward declarations */
-struct IE;
-
-/* TNLUpdateResponse */
-typedef struct TNLUpdateResponse {
+/* HNBAP_TNLUpdateResponse */
+typedef struct HNBAP_TNLUpdateResponse {
struct tnlUpdateResponse_ies {
- A_SEQUENCE_OF(struct IE) list;
+ A_SEQUENCE_OF(HNBAP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
@@ -38,17 +36,14 @@ typedef struct TNLUpdateResponse {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} TNLUpdateResponse_t;
+} HNBAP_TNLUpdateResponse_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_TNLUpdateResponse;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_TNLUpdateResponse;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/IE.h>
-
-#endif /* _TNLUpdateResponse_H_ */
+#endif /* _HNBAP_TNLUpdateResponse_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/TransportInfo.h b/include/osmocom/hnbap/HNBAP_TransportInfo.h
index d37dbfa..b20e0d6 100644
--- a/include/osmocom/hnbap/TransportInfo.h
+++ b/include/osmocom/hnbap/HNBAP_TransportInfo.h
@@ -5,16 +5,17 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _TransportInfo_H_
-#define _TransportInfo_H_
+#ifndef _HNBAP_TransportInfo_H_
+#define _HNBAP_TransportInfo_H_
#include <asn_application.h>
/* Including external dependencies */
-#include <osmocom/hnbap/TransportLayerAddress.h>
-#include <osmocom/hnbap/GTP-TEI.h>
-#include <osmocom/hnbap/BindingID.h>
+#include <osmocom/hnbap/HNBAP_TransportLayerAddress.h>
+#include <osmocom/hnbap/HNBAP_IE-Extensions.h>
+#include <osmocom/hnbap/HNBAP_GTP-TEI.h>
+#include <osmocom/hnbap/HNBAP_BindingID.h>
#include <constr_CHOICE.h>
#include <constr_SEQUENCE.h>
@@ -31,17 +32,14 @@ typedef enum transportAssociation_PR {
} transportAssociation_PR;
-/* Forward declarations */
-struct IE_Extensions;
-
-/* TransportInfo */
-typedef struct TransportInfo {
- TransportLayerAddress_t transportLayerAddress;
+/* HNBAP_TransportInfo */
+typedef struct HNBAP_TransportInfo {
+ HNBAP_TransportLayerAddress_t transportLayerAddress;
struct transportAssociation {
transportAssociation_PR present;
- union TransportInfo__transportAssociation_u {
- GTP_TEI_t gtp_TEI;
- BindingID_t bindingID;
+ union HNBAP_TransportInfo__transportAssociation_u {
+ HNBAP_GTP_TEI_t gtp_TEI;
+ HNBAP_BindingID_t bindingID;
/*
* This type is extensible,
* possible extensions are below.
@@ -51,7 +49,7 @@ typedef struct TransportInfo {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} transportAssociation;
- struct IE_Extensions *iE_Extensions /* OPTIONAL */;
+ HNBAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
@@ -59,17 +57,14 @@ typedef struct TransportInfo {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} TransportInfo_t;
+} HNBAP_TransportInfo_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_TransportInfo;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_TransportInfo;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/IE-Extensions.h>
-
-#endif /* _TransportInfo_H_ */
+#endif /* _HNBAP_TransportInfo_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_TransportLayerAddress.h b/include/osmocom/hnbap/HNBAP_TransportLayerAddress.h
new file mode 100644
index 0000000..f66f2dc
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_TransportLayerAddress.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_TransportLayerAddress_H_
+#define _HNBAP_TransportLayerAddress_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <BIT_STRING.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_TransportLayerAddress */
+typedef BIT_STRING_t HNBAP_TransportLayerAddress_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_TransportLayerAddress;
+asn_struct_free_f HNBAP_TransportLayerAddress_free;
+asn_struct_print_f HNBAP_TransportLayerAddress_print;
+asn_constr_check_f HNBAP_TransportLayerAddress_constraint;
+ber_type_decoder_f HNBAP_TransportLayerAddress_decode_ber;
+der_type_encoder_f HNBAP_TransportLayerAddress_encode_der;
+xer_type_decoder_f HNBAP_TransportLayerAddress_decode_xer;
+xer_type_encoder_f HNBAP_TransportLayerAddress_encode_xer;
+per_type_decoder_f HNBAP_TransportLayerAddress_decode_uper;
+per_type_encoder_f HNBAP_TransportLayerAddress_encode_uper;
+per_type_decoder_f HNBAP_TransportLayerAddress_decode_aper;
+per_type_encoder_f HNBAP_TransportLayerAddress_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_TransportLayerAddress_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_TriggeringMessage.h b/include/osmocom/hnbap/HNBAP_TriggeringMessage.h
new file mode 100644
index 0000000..0d349ab
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_TriggeringMessage.h
@@ -0,0 +1,50 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-CommonDataTypes"
+ * found in "../../asn1/hnbap/HNBAP-CommonDataTypes.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_TriggeringMessage_H_
+#define _HNBAP_TriggeringMessage_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <NativeEnumerated.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_TriggeringMessage {
+ HNBAP_TriggeringMessage_initiating_message = 0,
+ HNBAP_TriggeringMessage_successful_outcome = 1,
+ HNBAP_TriggeringMessage_unsuccessful_outcome = 2
+} e_HNBAP_TriggeringMessage;
+
+/* HNBAP_TriggeringMessage */
+typedef long HNBAP_TriggeringMessage_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_TriggeringMessage;
+asn_struct_free_f HNBAP_TriggeringMessage_free;
+asn_struct_print_f HNBAP_TriggeringMessage_print;
+asn_constr_check_f HNBAP_TriggeringMessage_constraint;
+ber_type_decoder_f HNBAP_TriggeringMessage_decode_ber;
+der_type_encoder_f HNBAP_TriggeringMessage_encode_der;
+xer_type_decoder_f HNBAP_TriggeringMessage_decode_xer;
+xer_type_encoder_f HNBAP_TriggeringMessage_encode_xer;
+per_type_decoder_f HNBAP_TriggeringMessage_decode_uper;
+per_type_encoder_f HNBAP_TriggeringMessage_encode_uper;
+per_type_decoder_f HNBAP_TriggeringMessage_decode_aper;
+per_type_encoder_f HNBAP_TriggeringMessage_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_TriggeringMessage_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_Tunnel-Information.h b/include/osmocom/hnbap/HNBAP_Tunnel-Information.h
new file mode 100644
index 0000000..f2ae37a
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_Tunnel-Information.h
@@ -0,0 +1,46 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_Tunnel_Information_H_
+#define _HNBAP_Tunnel_Information_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_IP-Address.h>
+#include <osmocom/hnbap/HNBAP_UDP-Port-Number.h>
+#include <osmocom/hnbap/HNBAP_IE-Extensions.h>
+#include <constr_SEQUENCE.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_Tunnel-Information */
+typedef struct HNBAP_Tunnel_Information {
+ HNBAP_IP_Address_t iP_Address;
+ HNBAP_UDP_Port_Number_t *uDP_Port_Number /* OPTIONAL */;
+ HNBAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
+ /*
+ * This type is extensible,
+ * possible extensions are below.
+ */
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} HNBAP_Tunnel_Information_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_Tunnel_Information;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_Tunnel_Information_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_TypeOfError.h b/include/osmocom/hnbap/HNBAP_TypeOfError.h
new file mode 100644
index 0000000..c97e761
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_TypeOfError.h
@@ -0,0 +1,52 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_TypeOfError_H_
+#define _HNBAP_TypeOfError_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <NativeEnumerated.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_TypeOfError {
+ HNBAP_TypeOfError_not_understood = 0,
+ HNBAP_TypeOfError_missing = 1
+ /*
+ * Enumeration is extensible
+ */
+} e_HNBAP_TypeOfError;
+
+/* HNBAP_TypeOfError */
+typedef long HNBAP_TypeOfError_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_TypeOfError;
+asn_struct_free_f HNBAP_TypeOfError_free;
+asn_struct_print_f HNBAP_TypeOfError_print;
+asn_constr_check_f HNBAP_TypeOfError_constraint;
+ber_type_decoder_f HNBAP_TypeOfError_decode_ber;
+der_type_encoder_f HNBAP_TypeOfError_encode_der;
+xer_type_decoder_f HNBAP_TypeOfError_decode_xer;
+xer_type_encoder_f HNBAP_TypeOfError_encode_xer;
+per_type_decoder_f HNBAP_TypeOfError_decode_uper;
+per_type_encoder_f HNBAP_TypeOfError_encode_uper;
+per_type_decoder_f HNBAP_TypeOfError_decode_aper;
+per_type_encoder_f HNBAP_TypeOfError_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_TypeOfError_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_U-RNTI.h b/include/osmocom/hnbap/HNBAP_U-RNTI.h
new file mode 100644
index 0000000..41ff48e
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_U-RNTI.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_U_RNTI_H_
+#define _HNBAP_U_RNTI_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <BIT_STRING.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_U-RNTI */
+typedef BIT_STRING_t HNBAP_U_RNTI_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_U_RNTI;
+asn_struct_free_f HNBAP_U_RNTI_free;
+asn_struct_print_f HNBAP_U_RNTI_print;
+asn_constr_check_f HNBAP_U_RNTI_constraint;
+ber_type_decoder_f HNBAP_U_RNTI_decode_ber;
+der_type_encoder_f HNBAP_U_RNTI_encode_der;
+xer_type_decoder_f HNBAP_U_RNTI_decode_xer;
+xer_type_encoder_f HNBAP_U_RNTI_encode_xer;
+per_type_decoder_f HNBAP_U_RNTI_decode_uper;
+per_type_encoder_f HNBAP_U_RNTI_encode_uper;
+per_type_decoder_f HNBAP_U_RNTI_decode_aper;
+per_type_encoder_f HNBAP_U_RNTI_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_U_RNTI_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/U-RNTIQueryRequest.h b/include/osmocom/hnbap/HNBAP_U-RNTIQueryRequest.h
index 776d7bb..38fe28a 100644
--- a/include/osmocom/hnbap/U-RNTIQueryRequest.h
+++ b/include/osmocom/hnbap/HNBAP_U-RNTIQueryRequest.h
@@ -5,13 +5,14 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _U_RNTIQueryRequest_H_
-#define _U_RNTIQueryRequest_H_
+#ifndef _HNBAP_U_RNTIQueryRequest_H_
+#define _HNBAP_U_RNTIQueryRequest_H_
#include <asn_application.h>
/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
@@ -20,13 +21,10 @@
extern "C" {
#endif
-/* Forward declarations */
-struct IE;
-
-/* U-RNTIQueryRequest */
-typedef struct U_RNTIQueryRequest {
+/* HNBAP_U-RNTIQueryRequest */
+typedef struct HNBAP_U_RNTIQueryRequest {
struct u_RNTIQueryRequest_ies {
- A_SEQUENCE_OF(struct IE) list;
+ A_SEQUENCE_OF(HNBAP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
@@ -38,17 +36,14 @@ typedef struct U_RNTIQueryRequest {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} U_RNTIQueryRequest_t;
+} HNBAP_U_RNTIQueryRequest_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_U_RNTIQueryRequest;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_U_RNTIQueryRequest;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/IE.h>
-
-#endif /* _U_RNTIQueryRequest_H_ */
+#endif /* _HNBAP_U_RNTIQueryRequest_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/U-RNTIQueryResponse.h b/include/osmocom/hnbap/HNBAP_U-RNTIQueryResponse.h
index 4bf7013..9cc4f9a 100644
--- a/include/osmocom/hnbap/U-RNTIQueryResponse.h
+++ b/include/osmocom/hnbap/HNBAP_U-RNTIQueryResponse.h
@@ -5,13 +5,14 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _U_RNTIQueryResponse_H_
-#define _U_RNTIQueryResponse_H_
+#ifndef _HNBAP_U_RNTIQueryResponse_H_
+#define _HNBAP_U_RNTIQueryResponse_H_
#include <asn_application.h>
/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
@@ -20,13 +21,10 @@
extern "C" {
#endif
-/* Forward declarations */
-struct IE;
-
-/* U-RNTIQueryResponse */
-typedef struct U_RNTIQueryResponse {
+/* HNBAP_U-RNTIQueryResponse */
+typedef struct HNBAP_U_RNTIQueryResponse {
struct u_RNTIQueryResponse_ies {
- A_SEQUENCE_OF(struct IE) list;
+ A_SEQUENCE_OF(HNBAP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
@@ -38,17 +36,14 @@ typedef struct U_RNTIQueryResponse {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} U_RNTIQueryResponse_t;
+} HNBAP_U_RNTIQueryResponse_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_U_RNTIQueryResponse;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_U_RNTIQueryResponse;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/IE.h>
-
-#endif /* _U_RNTIQueryResponse_H_ */
+#endif /* _HNBAP_U_RNTIQueryResponse_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_UDP-Port-Number.h b/include/osmocom/hnbap/HNBAP_UDP-Port-Number.h
new file mode 100644
index 0000000..ecde6e3
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_UDP-Port-Number.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_UDP_Port_Number_H_
+#define _HNBAP_UDP_Port_Number_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <OCTET_STRING.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_UDP-Port-Number */
+typedef OCTET_STRING_t HNBAP_UDP_Port_Number_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_UDP_Port_Number;
+asn_struct_free_f HNBAP_UDP_Port_Number_free;
+asn_struct_print_f HNBAP_UDP_Port_Number_print;
+asn_constr_check_f HNBAP_UDP_Port_Number_constraint;
+ber_type_decoder_f HNBAP_UDP_Port_Number_decode_ber;
+der_type_encoder_f HNBAP_UDP_Port_Number_encode_der;
+xer_type_decoder_f HNBAP_UDP_Port_Number_decode_xer;
+xer_type_encoder_f HNBAP_UDP_Port_Number_encode_xer;
+per_type_decoder_f HNBAP_UDP_Port_Number_decode_uper;
+per_type_encoder_f HNBAP_UDP_Port_Number_encode_uper;
+per_type_decoder_f HNBAP_UDP_Port_Number_decode_aper;
+per_type_encoder_f HNBAP_UDP_Port_Number_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_UDP_Port_Number_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_UE-Capabilities.h b/include/osmocom/hnbap/HNBAP_UE-Capabilities.h
new file mode 100644
index 0000000..86caf2e
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_UE-Capabilities.h
@@ -0,0 +1,46 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_UE_Capabilities_H_
+#define _HNBAP_UE_Capabilities_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_Access-stratum-release-indicator.h>
+#include <osmocom/hnbap/HNBAP_CSG-Capability.h>
+#include <osmocom/hnbap/HNBAP_IE-Extensions.h>
+#include <constr_SEQUENCE.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_UE-Capabilities */
+typedef struct HNBAP_UE_Capabilities {
+ HNBAP_Access_stratum_release_indicator_t access_stratum_release_indicator;
+ HNBAP_CSG_Capability_t csg_capability;
+ HNBAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
+ /*
+ * This type is extensible,
+ * possible extensions are below.
+ */
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} HNBAP_UE_Capabilities_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_UE_Capabilities;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_UE_Capabilities_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_UE-Identity.h b/include/osmocom/hnbap/HNBAP_UE-Identity.h
new file mode 100644
index 0000000..ed2f3e0
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_UE-Identity.h
@@ -0,0 +1,74 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_UE_Identity_H_
+#define _HNBAP_UE_Identity_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_IMSI.h>
+#include <osmocom/hnbap/HNBAP_TMSILAI.h>
+#include <osmocom/hnbap/HNBAP_PTMSIRAI.h>
+#include <osmocom/hnbap/HNBAP_IMEI.h>
+#include <osmocom/hnbap/HNBAP_ESN.h>
+#include <osmocom/hnbap/HNBAP_IMSIDS41.h>
+#include <osmocom/hnbap/HNBAP_IMSIESN.h>
+#include <osmocom/hnbap/HNBAP_TMSIDS41.h>
+#include <constr_CHOICE.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_UE_Identity_PR {
+ HNBAP_UE_Identity_PR_NOTHING, /* No components present */
+ HNBAP_UE_Identity_PR_iMSI,
+ HNBAP_UE_Identity_PR_tMSILAI,
+ HNBAP_UE_Identity_PR_pTMSIRAI,
+ HNBAP_UE_Identity_PR_iMEI,
+ HNBAP_UE_Identity_PR_eSN,
+ HNBAP_UE_Identity_PR_iMSIDS41,
+ HNBAP_UE_Identity_PR_iMSIESN,
+ HNBAP_UE_Identity_PR_tMSIDS41,
+ /* Extensions may appear below */
+
+} HNBAP_UE_Identity_PR;
+
+/* HNBAP_UE-Identity */
+typedef struct HNBAP_UE_Identity {
+ HNBAP_UE_Identity_PR present;
+ union HNBAP_UE_Identity_u {
+ HNBAP_IMSI_t iMSI;
+ HNBAP_TMSILAI_t tMSILAI;
+ HNBAP_PTMSIRAI_t pTMSIRAI;
+ HNBAP_IMEI_t iMEI;
+ HNBAP_ESN_t eSN;
+ HNBAP_IMSIDS41_t iMSIDS41;
+ HNBAP_IMSIESN_t iMSIESN;
+ HNBAP_TMSIDS41_t tMSIDS41;
+ /*
+ * This type is extensible,
+ * possible extensions are below.
+ */
+ } choice;
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} HNBAP_UE_Identity_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_UE_Identity;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_UE_Identity_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/UEDe-Register.h b/include/osmocom/hnbap/HNBAP_UEDe-Register.h
index 7e155e1..d67a461 100644
--- a/include/osmocom/hnbap/UEDe-Register.h
+++ b/include/osmocom/hnbap/HNBAP_UEDe-Register.h
@@ -5,13 +5,14 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _UEDe_Register_H_
-#define _UEDe_Register_H_
+#ifndef _HNBAP_UEDe_Register_H_
+#define _HNBAP_UEDe_Register_H_
#include <asn_application.h>
/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
@@ -20,13 +21,10 @@
extern "C" {
#endif
-/* Forward declarations */
-struct IE;
-
-/* UEDe-Register */
-typedef struct UEDe_Register {
+/* HNBAP_UEDe-Register */
+typedef struct HNBAP_UEDe_Register {
struct ueDe_Register_ies {
- A_SEQUENCE_OF(struct IE) list;
+ A_SEQUENCE_OF(HNBAP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
@@ -38,17 +36,14 @@ typedef struct UEDe_Register {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} UEDe_Register_t;
+} HNBAP_UEDe_Register_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_UEDe_Register;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_UEDe_Register;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/IE.h>
-
-#endif /* _UEDe_Register_H_ */
+#endif /* _HNBAP_UEDe_Register_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/UERegisterAccept.h b/include/osmocom/hnbap/HNBAP_UERegisterAccept.h
index 15d0fde..bc7f077 100644
--- a/include/osmocom/hnbap/UERegisterAccept.h
+++ b/include/osmocom/hnbap/HNBAP_UERegisterAccept.h
@@ -5,13 +5,14 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _UERegisterAccept_H_
-#define _UERegisterAccept_H_
+#ifndef _HNBAP_UERegisterAccept_H_
+#define _HNBAP_UERegisterAccept_H_
#include <asn_application.h>
/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
@@ -20,13 +21,10 @@
extern "C" {
#endif
-/* Forward declarations */
-struct IE;
-
-/* UERegisterAccept */
-typedef struct UERegisterAccept {
+/* HNBAP_UERegisterAccept */
+typedef struct HNBAP_UERegisterAccept {
struct ueRegisterAccept_ies {
- A_SEQUENCE_OF(struct IE) list;
+ A_SEQUENCE_OF(HNBAP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
@@ -38,17 +36,14 @@ typedef struct UERegisterAccept {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} UERegisterAccept_t;
+} HNBAP_UERegisterAccept_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_UERegisterAccept;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_UERegisterAccept;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/IE.h>
-
-#endif /* _UERegisterAccept_H_ */
+#endif /* _HNBAP_UERegisterAccept_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/UERegisterReject.h b/include/osmocom/hnbap/HNBAP_UERegisterReject.h
index b04dfb5..3c5e8ed 100644
--- a/include/osmocom/hnbap/UERegisterReject.h
+++ b/include/osmocom/hnbap/HNBAP_UERegisterReject.h
@@ -5,13 +5,14 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _UERegisterReject_H_
-#define _UERegisterReject_H_
+#ifndef _HNBAP_UERegisterReject_H_
+#define _HNBAP_UERegisterReject_H_
#include <asn_application.h>
/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
@@ -20,13 +21,10 @@
extern "C" {
#endif
-/* Forward declarations */
-struct IE;
-
-/* UERegisterReject */
-typedef struct UERegisterReject {
+/* HNBAP_UERegisterReject */
+typedef struct HNBAP_UERegisterReject {
struct ueRegisterReject_ies {
- A_SEQUENCE_OF(struct IE) list;
+ A_SEQUENCE_OF(HNBAP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
@@ -38,17 +36,14 @@ typedef struct UERegisterReject {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} UERegisterReject_t;
+} HNBAP_UERegisterReject_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_UERegisterReject;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_UERegisterReject;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/IE.h>
-
-#endif /* _UERegisterReject_H_ */
+#endif /* _HNBAP_UERegisterReject_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/UERegisterRequest.h b/include/osmocom/hnbap/HNBAP_UERegisterRequest.h
index 4f415b2..4f5ecc5 100644
--- a/include/osmocom/hnbap/UERegisterRequest.h
+++ b/include/osmocom/hnbap/HNBAP_UERegisterRequest.h
@@ -5,13 +5,14 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _UERegisterRequest_H_
-#define _UERegisterRequest_H_
+#ifndef _HNBAP_UERegisterRequest_H_
+#define _HNBAP_UERegisterRequest_H_
#include <asn_application.h>
/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
@@ -20,13 +21,10 @@
extern "C" {
#endif
-/* Forward declarations */
-struct IE;
-
-/* UERegisterRequest */
-typedef struct UERegisterRequest {
+/* HNBAP_UERegisterRequest */
+typedef struct HNBAP_UERegisterRequest {
struct ueRegisterRequest_ies {
- A_SEQUENCE_OF(struct IE) list;
+ A_SEQUENCE_OF(HNBAP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
@@ -38,17 +36,14 @@ typedef struct UERegisterRequest {
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} UERegisterRequest_t;
+} HNBAP_UERegisterRequest_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_UERegisterRequest;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_UERegisterRequest;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/IE.h>
-
-#endif /* _UERegisterRequest_H_ */
+#endif /* _HNBAP_UERegisterRequest_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_URAIdentity.h b/include/osmocom/hnbap/HNBAP_URAIdentity.h
new file mode 100644
index 0000000..c3514ab
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_URAIdentity.h
@@ -0,0 +1,43 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_URAIdentity_H_
+#define _HNBAP_URAIdentity_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <NativeInteger.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_URAIdentity */
+typedef long HNBAP_URAIdentity_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_URAIdentity;
+asn_struct_free_f HNBAP_URAIdentity_free;
+asn_struct_print_f HNBAP_URAIdentity_print;
+asn_constr_check_f HNBAP_URAIdentity_constraint;
+ber_type_decoder_f HNBAP_URAIdentity_decode_ber;
+der_type_encoder_f HNBAP_URAIdentity_encode_der;
+xer_type_decoder_f HNBAP_URAIdentity_decode_xer;
+xer_type_encoder_f HNBAP_URAIdentity_encode_xer;
+per_type_decoder_f HNBAP_URAIdentity_decode_uper;
+per_type_encoder_f HNBAP_URAIdentity_encode_uper;
+per_type_decoder_f HNBAP_URAIdentity_decode_aper;
+per_type_encoder_f HNBAP_URAIdentity_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_URAIdentity_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/IE-Extensions.h b/include/osmocom/hnbap/HNBAP_URAIdentityList.h
index 46b0bdc..3f4732a 100644
--- a/include/osmocom/hnbap/IE-Extensions.h
+++ b/include/osmocom/hnbap/HNBAP_URAIdentityList.h
@@ -5,13 +5,14 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _IE_Extensions_H_
-#define _IE_Extensions_H_
+#ifndef _HNBAP_URAIdentityList_H_
+#define _HNBAP_URAIdentityList_H_
#include <asn_application.h>
/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_URAIdentity.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
@@ -19,26 +20,20 @@
extern "C" {
#endif
-/* Forward declarations */
-struct IE;
-
-/* IE-Extensions */
-typedef struct IE_Extensions {
- A_SEQUENCE_OF(struct IE) list;
+/* HNBAP_URAIdentityList */
+typedef struct HNBAP_URAIdentityList {
+ A_SEQUENCE_OF(HNBAP_URAIdentity_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} IE_Extensions_t;
+} HNBAP_URAIdentityList_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_IE_Extensions;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_URAIdentityList;
#ifdef __cplusplus
}
#endif
-/* Referred external types */
-#include <osmocom/hnbap/IE.h>
-
-#endif /* _IE_Extensions_H_ */
+#endif /* _HNBAP_URAIdentityList_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_UTRANCellID.h b/include/osmocom/hnbap/HNBAP_UTRANCellID.h
new file mode 100644
index 0000000..a75e4b5
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_UTRANCellID.h
@@ -0,0 +1,46 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_UTRANCellID_H_
+#define _HNBAP_UTRANCellID_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/hnbap/HNBAP_LAC.h>
+#include <osmocom/hnbap/HNBAP_RAC.h>
+#include <osmocom/hnbap/HNBAP_PLMNidentity.h>
+#include <osmocom/hnbap/HNBAP_CellIdentity.h>
+#include <osmocom/hnbap/HNBAP_IE-Extensions.h>
+#include <constr_SEQUENCE.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* HNBAP_UTRANCellID */
+typedef struct HNBAP_UTRANCellID {
+ HNBAP_LAC_t lAC;
+ HNBAP_RAC_t rAC;
+ HNBAP_PLMNidentity_t pLMNidentity;
+ HNBAP_CellIdentity_t uTRANcellID;
+ HNBAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} HNBAP_UTRANCellID_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_UTRANCellID;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_UTRANCellID_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_UnknownU-RNTIIndication.h b/include/osmocom/hnbap/HNBAP_UnknownU-RNTIIndication.h
new file mode 100644
index 0000000..89d7533
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_UnknownU-RNTIIndication.h
@@ -0,0 +1,51 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_UnknownU_RNTIIndication_H_
+#define _HNBAP_UnknownU_RNTIIndication_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <NativeEnumerated.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_UnknownU_RNTIIndication {
+ HNBAP_UnknownU_RNTIIndication_unknown = 0
+ /*
+ * Enumeration is extensible
+ */
+} e_HNBAP_UnknownU_RNTIIndication;
+
+/* HNBAP_UnknownU-RNTIIndication */
+typedef long HNBAP_UnknownU_RNTIIndication_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_UnknownU_RNTIIndication;
+asn_struct_free_f HNBAP_UnknownU_RNTIIndication_free;
+asn_struct_print_f HNBAP_UnknownU_RNTIIndication_print;
+asn_constr_check_f HNBAP_UnknownU_RNTIIndication_constraint;
+ber_type_decoder_f HNBAP_UnknownU_RNTIIndication_decode_ber;
+der_type_encoder_f HNBAP_UnknownU_RNTIIndication_encode_der;
+xer_type_decoder_f HNBAP_UnknownU_RNTIIndication_decode_xer;
+xer_type_encoder_f HNBAP_UnknownU_RNTIIndication_encode_xer;
+per_type_decoder_f HNBAP_UnknownU_RNTIIndication_decode_uper;
+per_type_encoder_f HNBAP_UnknownU_RNTIIndication_encode_uper;
+per_type_decoder_f HNBAP_UnknownU_RNTIIndication_decode_aper;
+per_type_encoder_f HNBAP_UnknownU_RNTIIndication_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_UnknownU_RNTIIndication_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/UnsuccessfulOutcome.h b/include/osmocom/hnbap/HNBAP_UnsuccessfulOutcome.h
index 0e8eefc..ee74b17 100644
--- a/include/osmocom/hnbap/UnsuccessfulOutcome.h
+++ b/include/osmocom/hnbap/HNBAP_UnsuccessfulOutcome.h
@@ -5,15 +5,15 @@
* `asn1c -R -gen-PER`
*/
-#ifndef _UnsuccessfulOutcome_H_
-#define _UnsuccessfulOutcome_H_
+#ifndef _HNBAP_UnsuccessfulOutcome_H_
+#define _HNBAP_UnsuccessfulOutcome_H_
#include <asn_application.h>
/* Including external dependencies */
-#include <osmocom/hnbap/ProcedureCode.h>
-#include <osmocom/hnbap/Criticality.h>
+#include <osmocom/hnbap/HNBAP_ProcedureCode.h>
+#include <osmocom/hnbap/HNBAP_Criticality.h>
#include <ANY.h>
#include <constr_SEQUENCE.h>
@@ -21,22 +21,22 @@
extern "C" {
#endif
-/* UnsuccessfulOutcome */
-typedef struct UnsuccessfulOutcome {
- ProcedureCode_t procedureCode;
- Criticality_t criticality;
+/* HNBAP_UnsuccessfulOutcome */
+typedef struct HNBAP_UnsuccessfulOutcome {
+ HNBAP_ProcedureCode_t procedureCode;
+ HNBAP_Criticality_t criticality;
ANY_t value;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
-} UnsuccessfulOutcome_t;
+} HNBAP_UnsuccessfulOutcome_t;
/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_UnsuccessfulOutcome;
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_UnsuccessfulOutcome;
#ifdef __cplusplus
}
#endif
-#endif /* _UnsuccessfulOutcome_H_ */
+#endif /* _HNBAP_UnsuccessfulOutcome_H_ */
#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBAP_Update-cause.h b/include/osmocom/hnbap/HNBAP_Update-cause.h
new file mode 100644
index 0000000..0f8141d
--- /dev/null
+++ b/include/osmocom/hnbap/HNBAP_Update-cause.h
@@ -0,0 +1,51 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#ifndef _HNBAP_Update_cause_H_
+#define _HNBAP_Update_cause_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <NativeEnumerated.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum HNBAP_Update_cause {
+ HNBAP_Update_cause_relocation_preparation = 0
+ /*
+ * Enumeration is extensible
+ */
+} e_HNBAP_Update_cause;
+
+/* HNBAP_Update-cause */
+typedef long HNBAP_Update_cause_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_HNBAP_Update_cause;
+asn_struct_free_f HNBAP_Update_cause_free;
+asn_struct_print_f HNBAP_Update_cause_print;
+asn_constr_check_f HNBAP_Update_cause_constraint;
+ber_type_decoder_f HNBAP_Update_cause_decode_ber;
+der_type_encoder_f HNBAP_Update_cause_encode_der;
+xer_type_decoder_f HNBAP_Update_cause_decode_xer;
+xer_type_encoder_f HNBAP_Update_cause_encode_xer;
+per_type_decoder_f HNBAP_Update_cause_decode_uper;
+per_type_encoder_f HNBAP_Update_cause_encode_uper;
+per_type_decoder_f HNBAP_Update_cause_decode_aper;
+per_type_encoder_f HNBAP_Update_cause_encode_aper;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HNBAP_Update_cause_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBCapacity.h b/include/osmocom/hnbap/HNBCapacity.h
deleted file mode 100644
index d81a0b1..0000000
--- a/include/osmocom/hnbap/HNBCapacity.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _HNBCapacity_H_
-#define _HNBCapacity_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <NativeInteger.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* HNBCapacity */
-typedef long HNBCapacity_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_HNBCapacity;
-asn_struct_free_f HNBCapacity_free;
-asn_struct_print_f HNBCapacity_print;
-asn_constr_check_f HNBCapacity_constraint;
-ber_type_decoder_f HNBCapacity_decode_ber;
-der_type_encoder_f HNBCapacity_encode_der;
-xer_type_decoder_f HNBCapacity_decode_xer;
-xer_type_encoder_f HNBCapacity_encode_xer;
-per_type_decoder_f HNBCapacity_decode_uper;
-per_type_encoder_f HNBCapacity_encode_uper;
-per_type_decoder_f HNBCapacity_decode_aper;
-per_type_encoder_f HNBCapacity_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _HNBCapacity_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBConfigInfo.h b/include/osmocom/hnbap/HNBConfigInfo.h
deleted file mode 100644
index b27e023..0000000
--- a/include/osmocom/hnbap/HNBConfigInfo.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _HNBConfigInfo_H_
-#define _HNBConfigInfo_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <osmocom/hnbap/HNB-RNL-Identity.h>
-#include <osmocom/hnbap/ConfigurationInformation.h>
-#include <constr_SEQUENCE.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Forward declarations */
-struct IE_Extensions;
-
-/* HNBConfigInfo */
-typedef struct HNBConfigInfo {
- HNB_RNL_Identity_t hnb_RNL_Identity;
- ConfigurationInformation_t configurationInformation;
- struct IE_Extensions *iE_Extensions /* OPTIONAL */;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
-} HNBConfigInfo_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_HNBConfigInfo;
-
-#ifdef __cplusplus
-}
-#endif
-
-/* Referred external types */
-#include <osmocom/hnbap/IE-Extensions.h>
-
-#endif /* _HNBConfigInfo_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBConfigurationInformationMissing.h b/include/osmocom/hnbap/HNBConfigurationInformationMissing.h
deleted file mode 100644
index b8a27d7..0000000
--- a/include/osmocom/hnbap/HNBConfigurationInformationMissing.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _HNBConfigurationInformationMissing_H_
-#define _HNBConfigurationInformationMissing_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <osmocom/hnbap/Cause.h>
-#include <constr_SEQUENCE.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Forward declarations */
-struct IE_Extensions;
-
-/* HNBConfigurationInformationMissing */
-typedef struct HNBConfigurationInformationMissing {
- Cause_t cause;
- struct IE_Extensions *iE_Extensions /* OPTIONAL */;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
-} HNBConfigurationInformationMissing_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_HNBConfigurationInformationMissing;
-
-#ifdef __cplusplus
-}
-#endif
-
-/* Referred external types */
-#include <osmocom/hnbap/IE-Extensions.h>
-
-#endif /* _HNBConfigurationInformationMissing_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/HNBConfigurationInformationProvided.h b/include/osmocom/hnbap/HNBConfigurationInformationProvided.h
deleted file mode 100644
index 688ef3c..0000000
--- a/include/osmocom/hnbap/HNBConfigurationInformationProvided.h
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _HNBConfigurationInformationProvided_H_
-#define _HNBConfigurationInformationProvided_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <osmocom/hnbap/PSC.h>
-#include <osmocom/hnbap/CSG-ID.h>
-#include <osmocom/hnbap/HNB-Cell-Access-Mode.h>
-#include <osmocom/hnbap/Iurh-Signalling-TNL-AddressList.h>
-#include <constr_SEQUENCE.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Forward declarations */
-struct IE_Extensions;
-
-/* HNBConfigurationInformationProvided */
-typedef struct HNBConfigurationInformationProvided {
- PSC_t *psc /* OPTIONAL */;
- CSG_ID_t *cSG_ID /* OPTIONAL */;
- HNB_Cell_Access_Mode_t hNB_Cell_Access_Mode;
- Iurh_Signalling_TNL_AddressList_t iurh_Signalling_TNL_AddressList;
- struct IE_Extensions *iE_Extensions /* OPTIONAL */;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
-} HNBConfigurationInformationProvided_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_HNBConfigurationInformationProvided;
-
-#ifdef __cplusplus
-}
-#endif
-
-/* Referred external types */
-#include <osmocom/hnbap/IE-Extensions.h>
-
-#endif /* _HNBConfigurationInformationProvided_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/IMEI.h b/include/osmocom/hnbap/IMEI.h
deleted file mode 100644
index 0b38c4e..0000000
--- a/include/osmocom/hnbap/IMEI.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _IMEI_H_
-#define _IMEI_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <BIT_STRING.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* IMEI */
-typedef BIT_STRING_t IMEI_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_IMEI;
-asn_struct_free_f IMEI_free;
-asn_struct_print_f IMEI_print;
-asn_constr_check_f IMEI_constraint;
-ber_type_decoder_f IMEI_decode_ber;
-der_type_encoder_f IMEI_encode_der;
-xer_type_decoder_f IMEI_decode_xer;
-xer_type_encoder_f IMEI_encode_xer;
-per_type_decoder_f IMEI_decode_uper;
-per_type_encoder_f IMEI_encode_uper;
-per_type_decoder_f IMEI_decode_aper;
-per_type_encoder_f IMEI_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _IMEI_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/IMSI.h b/include/osmocom/hnbap/IMSI.h
deleted file mode 100644
index 7d2d40c..0000000
--- a/include/osmocom/hnbap/IMSI.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _IMSI_H_
-#define _IMSI_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <OCTET_STRING.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* IMSI */
-typedef OCTET_STRING_t IMSI_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_IMSI;
-asn_struct_free_f IMSI_free;
-asn_struct_print_f IMSI_print;
-asn_constr_check_f IMSI_constraint;
-ber_type_decoder_f IMSI_decode_ber;
-der_type_encoder_f IMSI_encode_der;
-xer_type_decoder_f IMSI_decode_xer;
-xer_type_encoder_f IMSI_encode_xer;
-per_type_decoder_f IMSI_decode_uper;
-per_type_encoder_f IMSI_encode_uper;
-per_type_decoder_f IMSI_decode_aper;
-per_type_encoder_f IMSI_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _IMSI_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/IMSIDS41.h b/include/osmocom/hnbap/IMSIDS41.h
deleted file mode 100644
index 321755c..0000000
--- a/include/osmocom/hnbap/IMSIDS41.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _IMSIDS41_H_
-#define _IMSIDS41_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <OCTET_STRING.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* IMSIDS41 */
-typedef OCTET_STRING_t IMSIDS41_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_IMSIDS41;
-asn_struct_free_f IMSIDS41_free;
-asn_struct_print_f IMSIDS41_print;
-asn_constr_check_f IMSIDS41_constraint;
-ber_type_decoder_f IMSIDS41_decode_ber;
-der_type_encoder_f IMSIDS41_encode_der;
-xer_type_decoder_f IMSIDS41_decode_xer;
-xer_type_encoder_f IMSIDS41_encode_xer;
-per_type_decoder_f IMSIDS41_decode_uper;
-per_type_encoder_f IMSIDS41_encode_uper;
-per_type_decoder_f IMSIDS41_decode_aper;
-per_type_encoder_f IMSIDS41_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _IMSIDS41_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/Ipv4Address.h b/include/osmocom/hnbap/Ipv4Address.h
deleted file mode 100644
index 569471c..0000000
--- a/include/osmocom/hnbap/Ipv4Address.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _Ipv4Address_H_
-#define _Ipv4Address_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <OCTET_STRING.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Ipv4Address */
-typedef OCTET_STRING_t Ipv4Address_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_Ipv4Address;
-asn_struct_free_f Ipv4Address_free;
-asn_struct_print_f Ipv4Address_print;
-asn_constr_check_f Ipv4Address_constraint;
-ber_type_decoder_f Ipv4Address_decode_ber;
-der_type_encoder_f Ipv4Address_encode_der;
-xer_type_decoder_f Ipv4Address_decode_xer;
-xer_type_encoder_f Ipv4Address_encode_xer;
-per_type_decoder_f Ipv4Address_decode_uper;
-per_type_encoder_f Ipv4Address_encode_uper;
-per_type_decoder_f Ipv4Address_decode_aper;
-per_type_encoder_f Ipv4Address_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _Ipv4Address_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/Ipv6Address.h b/include/osmocom/hnbap/Ipv6Address.h
deleted file mode 100644
index 764ced2..0000000
--- a/include/osmocom/hnbap/Ipv6Address.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _Ipv6Address_H_
-#define _Ipv6Address_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <OCTET_STRING.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Ipv6Address */
-typedef OCTET_STRING_t Ipv6Address_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_Ipv6Address;
-asn_struct_free_f Ipv6Address_free;
-asn_struct_print_f Ipv6Address_print;
-asn_constr_check_f Ipv6Address_constraint;
-ber_type_decoder_f Ipv6Address_decode_ber;
-der_type_encoder_f Ipv6Address_encode_der;
-xer_type_decoder_f Ipv6Address_decode_xer;
-xer_type_encoder_f Ipv6Address_encode_xer;
-per_type_decoder_f Ipv6Address_decode_uper;
-per_type_encoder_f Ipv6Address_encode_uper;
-per_type_decoder_f Ipv6Address_decode_aper;
-per_type_encoder_f Ipv6Address_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _Ipv6Address_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/Iurh-Signalling-TNL-AddressList.h b/include/osmocom/hnbap/Iurh-Signalling-TNL-AddressList.h
deleted file mode 100644
index 09c4c0d..0000000
--- a/include/osmocom/hnbap/Iurh-Signalling-TNL-AddressList.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _Iurh_Signalling_TNL_AddressList_H_
-#define _Iurh_Signalling_TNL_AddressList_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <asn_SEQUENCE_OF.h>
-#include <constr_SEQUENCE_OF.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Forward declarations */
-struct IP_Address;
-
-/* Iurh-Signalling-TNL-AddressList */
-typedef struct Iurh_Signalling_TNL_AddressList {
- A_SEQUENCE_OF(struct IP_Address) list;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
-} Iurh_Signalling_TNL_AddressList_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_Iurh_Signalling_TNL_AddressList;
-
-#ifdef __cplusplus
-}
-#endif
-
-/* Referred external types */
-#include <osmocom/hnbap/IP-Address.h>
-
-#endif /* _Iurh_Signalling_TNL_AddressList_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/LAC.h b/include/osmocom/hnbap/LAC.h
deleted file mode 100644
index b4aa3bb..0000000
--- a/include/osmocom/hnbap/LAC.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _LAC_H_
-#define _LAC_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <OCTET_STRING.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* LAC */
-typedef OCTET_STRING_t LAC_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_LAC;
-asn_struct_free_f LAC_free;
-asn_struct_print_f LAC_print;
-asn_constr_check_f LAC_constraint;
-ber_type_decoder_f LAC_decode_ber;
-der_type_encoder_f LAC_encode_der;
-xer_type_decoder_f LAC_decode_xer;
-xer_type_encoder_f LAC_encode_xer;
-per_type_decoder_f LAC_decode_uper;
-per_type_encoder_f LAC_encode_uper;
-per_type_decoder_f LAC_decode_aper;
-per_type_encoder_f LAC_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _LAC_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/MacroCellID.h b/include/osmocom/hnbap/MacroCellID.h
deleted file mode 100644
index d29af94..0000000
--- a/include/osmocom/hnbap/MacroCellID.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _MacroCellID_H_
-#define _MacroCellID_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <osmocom/hnbap/UTRANCellID.h>
-#include <osmocom/hnbap/CGI.h>
-#include <constr_CHOICE.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum MacroCellID_PR {
- MacroCellID_PR_NOTHING, /* No components present */
- MacroCellID_PR_uTRANCellID,
- MacroCellID_PR_gERANCellID,
- /* Extensions may appear below */
-
-} MacroCellID_PR;
-
-/* MacroCellID */
-typedef struct MacroCellID {
- MacroCellID_PR present;
- union MacroCellID_u {
- UTRANCellID_t uTRANCellID;
- CGI_t gERANCellID;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
- } choice;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
-} MacroCellID_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_MacroCellID;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _MacroCellID_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/MacroCoverageInformation.h b/include/osmocom/hnbap/MacroCoverageInformation.h
deleted file mode 100644
index 2c92b72..0000000
--- a/include/osmocom/hnbap/MacroCoverageInformation.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _MacroCoverageInformation_H_
-#define _MacroCoverageInformation_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <osmocom/hnbap/MacroCellID.h>
-#include <constr_SEQUENCE.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Forward declarations */
-struct IE_Extensions;
-
-/* MacroCoverageInformation */
-typedef struct MacroCoverageInformation {
- MacroCellID_t cellIdentity;
- struct IE_Extensions *iE_Extensions /* OPTIONAL */;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
-} MacroCoverageInformation_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_MacroCoverageInformation;
-
-#ifdef __cplusplus
-}
-#endif
-
-/* Referred external types */
-#include <osmocom/hnbap/IE-Extensions.h>
-
-#endif /* _MacroCoverageInformation_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/Makefile.am b/include/osmocom/hnbap/Makefile.am
index 871549e..88cd970 100644
--- a/include/osmocom/hnbap/Makefile.am
+++ b/include/osmocom/hnbap/Makefile.am
@@ -1,120 +1,120 @@
hnbap_HEADERS = \
hnbap_common.h hnbap_ies_defs.h \
- AccessResult.h \
- Access-stratum-release-indicator.h \
- AdditionalNeighbourInfoList.h \
- AltitudeAndDirection.h \
- BackoffTimer.h \
- BindingID.h \
- Cause.h \
- CauseMisc.h \
- CauseProtocol.h \
- CauseRadioNetwork.h \
- CauseTransport.h \
- CELL-FACHMobilitySupport.h \
- CellIdentity.h \
- CGI.h \
- CI.h \
- CN-DomainIndicator.h \
- ConfigurationInformation.h \
- Context-ID.h \
- CriticalityDiagnostics.h \
- CriticalityDiagnostics-IE-List.h \
- Criticality.h \
- CSG-Capability.h \
- CSG-ID.h \
- CSGMembershipStatus.h \
- CSGMembershipUpdate.h \
- ErrorIndication.h \
- ESN.h \
- GeographicalCoordinates.h \
- GeographicalLocation.h \
- GTP-TEI.h \
- HNBAP-PDU.h \
- HNBCapacity.h \
- HNB-Cell-Access-Mode.h \
- HNB-Cell-Identifier.h \
- HNBConfigInfo.h \
- HNBConfigTransferRequest.h \
- HNBConfigTransferResponse.h \
- HNBConfigurationInformationMissing.h \
- HNBConfigurationInformationProvided.h \
- HNBDe-Register.h \
- HNB-GWResponse.h \
- HNB-Identity.h \
- HNB-Identity-Info.h \
- HNB-Location-Information.h \
- HNBRegisterAccept.h \
- HNBRegisterReject.h \
- HNBRegisterRequest.h \
- HNB-RNL-Identity.h \
- IE-Extensions.h \
- IE.h \
- IMEI.h \
- IMSIDS41.h \
- IMSIESN.h \
- IMSI.h \
- InitiatingMessage.h \
- IP-Address.h \
- Ipv4Address.h \
- Ipv6Address.h \
- Iurh-Signalling-TNL-AddressList.h \
- LAC.h \
- LAI.h \
- MacroCellID.h \
- MacroCoverageInformation.h \
- MuxPortNumber.h \
- NeighbourCellIdentityList.h \
- NeighbourIdentity.h \
- NeighbourInfoList.h \
- NeighbourInfoRequestItem.h \
- NeighbourInfoRequestList.h \
- PLMNidentity.h \
- Presence.h \
- PrivateIE-ID.h \
- PrivateMessage.h \
- ProcedureCode.h \
- ProtocolIE-ID.h \
- PSC.h \
- PTMSI.h \
- PTMSIRAI.h \
- RAB-ID.h \
- RABList.h \
- RABListItem.h \
- RAC.h \
- RAI.h \
- Registration-Cause.h \
- RelocationComplete.h \
- RNC-ID.h \
- SAC.h \
- S-RNTIPrefix.h \
- SuccessfulOutcome.h \
- TMSIDS41.h \
- TMSILAI.h \
- TNLUpdateFailure.h \
- TNLUpdateRequest.h \
- TNLUpdateResponse.h \
- TransportInfo.h \
- TransportLayerAddress.h \
- TriggeringMessage.h \
- Tunnel-Information.h \
- TypeOfError.h \
- UDP-Port-Number.h \
- UE-Capabilities.h \
- UEDe-Register.h \
- UE-Identity.h \
- UERegisterAccept.h \
- UERegisterReject.h \
- UERegisterRequest.h \
- UnknownU-RNTIIndication.h \
- UnsuccessfulOutcome.h \
- Update-cause.h \
- URAIdentity.h \
- URAIdentityList.h \
- U-RNTI.h \
- U-RNTIQueryRequest.h \
- U-RNTIQueryResponse.h \
- UTRANCellID.h
+ HNBAP_AccessResult.h \
+ HNBAP_Access-stratum-release-indicator.h \
+ HNBAP_AdditionalNeighbourInfoList.h \
+ HNBAP_AltitudeAndDirection.h \
+ HNBAP_BackoffTimer.h \
+ HNBAP_BindingID.h \
+ HNBAP_Cause.h \
+ HNBAP_CauseMisc.h \
+ HNBAP_CauseProtocol.h \
+ HNBAP_CauseRadioNetwork.h \
+ HNBAP_CauseTransport.h \
+ HNBAP_CELL-FACHMobilitySupport.h \
+ HNBAP_CellIdentity.h \
+ HNBAP_CGI.h \
+ HNBAP_CI.h \
+ HNBAP_CN-DomainIndicator.h \
+ HNBAP_ConfigurationInformation.h \
+ HNBAP_Context-ID.h \
+ HNBAP_CriticalityDiagnostics.h \
+ HNBAP_CriticalityDiagnostics-IE-List.h \
+ HNBAP_Criticality.h \
+ HNBAP_CSG-Capability.h \
+ HNBAP_CSG-ID.h \
+ HNBAP_CSGMembershipStatus.h \
+ HNBAP_CSGMembershipUpdate.h \
+ HNBAP_ErrorIndication.h \
+ HNBAP_ESN.h \
+ HNBAP_GeographicalCoordinates.h \
+ HNBAP_GeographicalLocation.h \
+ HNBAP_GTP-TEI.h \
+ HNBAP_HNBAP-PDU.h \
+ HNBAP_HNBCapacity.h \
+ HNBAP_HNB-Cell-Access-Mode.h \
+ HNBAP_HNB-Cell-Identifier.h \
+ HNBAP_HNBConfigInfo.h \
+ HNBAP_HNBConfigTransferRequest.h \
+ HNBAP_HNBConfigTransferResponse.h \
+ HNBAP_HNBConfigurationInformationMissing.h \
+ HNBAP_HNBConfigurationInformationProvided.h \
+ HNBAP_HNBDe-Register.h \
+ HNBAP_HNB-GWResponse.h \
+ HNBAP_HNB-Identity.h \
+ HNBAP_HNB-Identity-Info.h \
+ HNBAP_HNB-Location-Information.h \
+ HNBAP_HNBRegisterAccept.h \
+ HNBAP_HNBRegisterReject.h \
+ HNBAP_HNBRegisterRequest.h \
+ HNBAP_HNB-RNL-Identity.h \
+ HNBAP_IE-Extensions.h \
+ HNBAP_IE.h \
+ HNBAP_IMEI.h \
+ HNBAP_IMSIDS41.h \
+ HNBAP_IMSIESN.h \
+ HNBAP_IMSI.h \
+ HNBAP_InitiatingMessage.h \
+ HNBAP_IP-Address.h \
+ HNBAP_Ipv4Address.h \
+ HNBAP_Ipv6Address.h \
+ HNBAP_Iurh-Signalling-TNL-AddressList.h \
+ HNBAP_LAC.h \
+ HNBAP_LAI.h \
+ HNBAP_MacroCellID.h \
+ HNBAP_MacroCoverageInformation.h \
+ HNBAP_MuxPortNumber.h \
+ HNBAP_NeighbourCellIdentityList.h \
+ HNBAP_NeighbourIdentity.h \
+ HNBAP_NeighbourInfoList.h \
+ HNBAP_NeighbourInfoRequestItem.h \
+ HNBAP_NeighbourInfoRequestList.h \
+ HNBAP_PLMNidentity.h \
+ HNBAP_Presence.h \
+ HNBAP_PrivateIE-ID.h \
+ HNBAP_PrivateMessage.h \
+ HNBAP_ProcedureCode.h \
+ HNBAP_ProtocolIE-ID.h \
+ HNBAP_PSC.h \
+ HNBAP_PTMSI.h \
+ HNBAP_PTMSIRAI.h \
+ HNBAP_RAB-ID.h \
+ HNBAP_RABList.h \
+ HNBAP_RABListItem.h \
+ HNBAP_RAC.h \
+ HNBAP_RAI.h \
+ HNBAP_Registration-Cause.h \
+ HNBAP_RelocationComplete.h \
+ HNBAP_RNC-ID.h \
+ HNBAP_SAC.h \
+ HNBAP_S-RNTIPrefix.h \
+ HNBAP_SuccessfulOutcome.h \
+ HNBAP_TMSIDS41.h \
+ HNBAP_TMSILAI.h \
+ HNBAP_TNLUpdateFailure.h \
+ HNBAP_TNLUpdateRequest.h \
+ HNBAP_TNLUpdateResponse.h \
+ HNBAP_TransportInfo.h \
+ HNBAP_TransportLayerAddress.h \
+ HNBAP_TriggeringMessage.h \
+ HNBAP_Tunnel-Information.h \
+ HNBAP_TypeOfError.h \
+ HNBAP_UDP-Port-Number.h \
+ HNBAP_UE-Capabilities.h \
+ HNBAP_UEDe-Register.h \
+ HNBAP_UE-Identity.h \
+ HNBAP_UERegisterAccept.h \
+ HNBAP_UERegisterReject.h \
+ HNBAP_UERegisterRequest.h \
+ HNBAP_UnknownU-RNTIIndication.h \
+ HNBAP_UnsuccessfulOutcome.h \
+ HNBAP_Update-cause.h \
+ HNBAP_URAIdentity.h \
+ HNBAP_URAIdentityList.h \
+ HNBAP_U-RNTI.h \
+ HNBAP_U-RNTIQueryRequest.h \
+ HNBAP_U-RNTIQueryResponse.h \
+ HNBAP_UTRANCellID.h
hnbapdir = $(includedir)/osmocom/hnbap
diff --git a/include/osmocom/hnbap/MuxPortNumber.h b/include/osmocom/hnbap/MuxPortNumber.h
deleted file mode 100644
index 946ee8a..0000000
--- a/include/osmocom/hnbap/MuxPortNumber.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _MuxPortNumber_H_
-#define _MuxPortNumber_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <NativeInteger.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* MuxPortNumber */
-typedef long MuxPortNumber_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_MuxPortNumber;
-asn_struct_free_f MuxPortNumber_free;
-asn_struct_print_f MuxPortNumber_print;
-asn_constr_check_f MuxPortNumber_constraint;
-ber_type_decoder_f MuxPortNumber_decode_ber;
-der_type_encoder_f MuxPortNumber_encode_der;
-xer_type_decoder_f MuxPortNumber_decode_xer;
-xer_type_encoder_f MuxPortNumber_encode_xer;
-per_type_decoder_f MuxPortNumber_decode_uper;
-per_type_encoder_f MuxPortNumber_encode_uper;
-per_type_decoder_f MuxPortNumber_decode_aper;
-per_type_encoder_f MuxPortNumber_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _MuxPortNumber_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/NeighbourCellIdentityList.h b/include/osmocom/hnbap/NeighbourCellIdentityList.h
deleted file mode 100644
index c6ff914..0000000
--- a/include/osmocom/hnbap/NeighbourCellIdentityList.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _NeighbourCellIdentityList_H_
-#define _NeighbourCellIdentityList_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <asn_SEQUENCE_OF.h>
-#include <constr_SEQUENCE_OF.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Forward declarations */
-struct NeighbourIdentity;
-
-/* NeighbourCellIdentityList */
-typedef struct NeighbourCellIdentityList {
- A_SEQUENCE_OF(struct NeighbourIdentity) list;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
-} NeighbourCellIdentityList_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_NeighbourCellIdentityList;
-
-#ifdef __cplusplus
-}
-#endif
-
-/* Referred external types */
-#include <osmocom/hnbap/NeighbourIdentity.h>
-
-#endif /* _NeighbourCellIdentityList_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/NeighbourIdentity.h b/include/osmocom/hnbap/NeighbourIdentity.h
deleted file mode 100644
index 56af695..0000000
--- a/include/osmocom/hnbap/NeighbourIdentity.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _NeighbourIdentity_H_
-#define _NeighbourIdentity_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <osmocom/hnbap/HNB-RNL-Identity.h>
-#include <osmocom/hnbap/CellIdentity.h>
-#include <constr_CHOICE.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum NeighbourIdentity_PR {
- NeighbourIdentity_PR_NOTHING, /* No components present */
- NeighbourIdentity_PR_hNB_RNL_Identity,
- NeighbourIdentity_PR_cell_ID,
- /* Extensions may appear below */
-
-} NeighbourIdentity_PR;
-
-/* NeighbourIdentity */
-typedef struct NeighbourIdentity {
- NeighbourIdentity_PR present;
- union NeighbourIdentity_u {
- HNB_RNL_Identity_t hNB_RNL_Identity;
- CellIdentity_t cell_ID;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
- } choice;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
-} NeighbourIdentity_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_NeighbourIdentity;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _NeighbourIdentity_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/NeighbourInfoRequestItem.h b/include/osmocom/hnbap/NeighbourInfoRequestItem.h
deleted file mode 100644
index fda0cbf..0000000
--- a/include/osmocom/hnbap/NeighbourInfoRequestItem.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _NeighbourInfoRequestItem_H_
-#define _NeighbourInfoRequestItem_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <osmocom/hnbap/HNB-RNL-Identity.h>
-#include <constr_SEQUENCE.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Forward declarations */
-struct IE_Extensions;
-
-/* NeighbourInfoRequestItem */
-typedef struct NeighbourInfoRequestItem {
- HNB_RNL_Identity_t hnb_RNL_Identity;
- struct IE_Extensions *iE_Extensions /* OPTIONAL */;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
-} NeighbourInfoRequestItem_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_NeighbourInfoRequestItem;
-
-#ifdef __cplusplus
-}
-#endif
-
-/* Referred external types */
-#include <osmocom/hnbap/IE-Extensions.h>
-
-#endif /* _NeighbourInfoRequestItem_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/NeighbourInfoRequestList.h b/include/osmocom/hnbap/NeighbourInfoRequestList.h
deleted file mode 100644
index daf2258..0000000
--- a/include/osmocom/hnbap/NeighbourInfoRequestList.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _NeighbourInfoRequestList_H_
-#define _NeighbourInfoRequestList_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <asn_SEQUENCE_OF.h>
-#include <constr_SEQUENCE_OF.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Forward declarations */
-struct NeighbourInfoRequestItem;
-
-/* NeighbourInfoRequestList */
-typedef struct NeighbourInfoRequestList {
- A_SEQUENCE_OF(struct NeighbourInfoRequestItem) list;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
-} NeighbourInfoRequestList_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_NeighbourInfoRequestList;
-
-#ifdef __cplusplus
-}
-#endif
-
-/* Referred external types */
-#include <osmocom/hnbap/NeighbourInfoRequestItem.h>
-
-#endif /* _NeighbourInfoRequestList_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/PLMNidentity.h b/include/osmocom/hnbap/PLMNidentity.h
deleted file mode 100644
index 422e113..0000000
--- a/include/osmocom/hnbap/PLMNidentity.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _PLMNidentity_H_
-#define _PLMNidentity_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <OCTET_STRING.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* PLMNidentity */
-typedef OCTET_STRING_t PLMNidentity_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_PLMNidentity;
-asn_struct_free_f PLMNidentity_free;
-asn_struct_print_f PLMNidentity_print;
-asn_constr_check_f PLMNidentity_constraint;
-ber_type_decoder_f PLMNidentity_decode_ber;
-der_type_encoder_f PLMNidentity_encode_der;
-xer_type_decoder_f PLMNidentity_decode_xer;
-xer_type_encoder_f PLMNidentity_encode_xer;
-per_type_decoder_f PLMNidentity_decode_uper;
-per_type_encoder_f PLMNidentity_encode_uper;
-per_type_decoder_f PLMNidentity_decode_aper;
-per_type_encoder_f PLMNidentity_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _PLMNidentity_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/PSC.h b/include/osmocom/hnbap/PSC.h
deleted file mode 100644
index 25273c4..0000000
--- a/include/osmocom/hnbap/PSC.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _PSC_H_
-#define _PSC_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <BIT_STRING.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* PSC */
-typedef BIT_STRING_t PSC_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_PSC;
-asn_struct_free_f PSC_free;
-asn_struct_print_f PSC_print;
-asn_constr_check_f PSC_constraint;
-ber_type_decoder_f PSC_decode_ber;
-der_type_encoder_f PSC_encode_der;
-xer_type_decoder_f PSC_decode_xer;
-xer_type_encoder_f PSC_encode_xer;
-per_type_decoder_f PSC_decode_uper;
-per_type_encoder_f PSC_encode_uper;
-per_type_decoder_f PSC_decode_aper;
-per_type_encoder_f PSC_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _PSC_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/PTMSI.h b/include/osmocom/hnbap/PTMSI.h
deleted file mode 100644
index 45ddddc..0000000
--- a/include/osmocom/hnbap/PTMSI.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _PTMSI_H_
-#define _PTMSI_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <BIT_STRING.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* PTMSI */
-typedef BIT_STRING_t PTMSI_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_PTMSI;
-asn_struct_free_f PTMSI_free;
-asn_struct_print_f PTMSI_print;
-asn_constr_check_f PTMSI_constraint;
-ber_type_decoder_f PTMSI_decode_ber;
-der_type_encoder_f PTMSI_encode_der;
-xer_type_decoder_f PTMSI_decode_xer;
-xer_type_encoder_f PTMSI_encode_xer;
-per_type_decoder_f PTMSI_decode_uper;
-per_type_encoder_f PTMSI_encode_uper;
-per_type_decoder_f PTMSI_decode_aper;
-per_type_encoder_f PTMSI_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _PTMSI_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/Presence.h b/include/osmocom/hnbap/Presence.h
deleted file mode 100644
index 576a324..0000000
--- a/include/osmocom/hnbap/Presence.h
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-CommonDataTypes"
- * found in "../../asn1/hnbap/HNBAP-CommonDataTypes.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _Presence_H_
-#define _Presence_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <NativeEnumerated.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum Presence {
- Presence_optional = 0,
- Presence_conditional = 1,
- Presence_mandatory = 2
-} e_Presence;
-
-/* Presence */
-typedef long Presence_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_Presence;
-asn_struct_free_f Presence_free;
-asn_struct_print_f Presence_print;
-asn_constr_check_f Presence_constraint;
-ber_type_decoder_f Presence_decode_ber;
-der_type_encoder_f Presence_encode_der;
-xer_type_decoder_f Presence_decode_xer;
-xer_type_encoder_f Presence_encode_xer;
-per_type_decoder_f Presence_decode_uper;
-per_type_encoder_f Presence_encode_uper;
-per_type_decoder_f Presence_decode_aper;
-per_type_encoder_f Presence_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _Presence_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/ProcedureCode.h b/include/osmocom/hnbap/ProcedureCode.h
deleted file mode 100644
index 9d7bc52..0000000
--- a/include/osmocom/hnbap/ProcedureCode.h
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-CommonDataTypes"
- * found in "../../asn1/hnbap/HNBAP-CommonDataTypes.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _ProcedureCode_H_
-#define _ProcedureCode_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <NativeInteger.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum ProcedureCode {
- ProcedureCode_id_HNBRegister = 1,
- ProcedureCode_id_HNBDe_Register = 2,
- ProcedureCode_id_UERegister = 3,
- ProcedureCode_id_UEDe_Register = 4,
- ProcedureCode_id_ErrorIndication = 5,
- ProcedureCode_id_privateMessage = 6,
- ProcedureCode_id_CSGMembershipUpdate = 7,
- ProcedureCode_id_TNLUpdate = 9,
- ProcedureCode_id_HNBConfigTransfer = 10,
- ProcedureCode_id_RelocationComplete = 11,
- ProcedureCode_id_U_RNTIQuery = 14
-} e_ProcedureCode;
-
-/* ProcedureCode */
-typedef long ProcedureCode_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_ProcedureCode;
-asn_struct_free_f ProcedureCode_free;
-asn_struct_print_f ProcedureCode_print;
-asn_constr_check_f ProcedureCode_constraint;
-ber_type_decoder_f ProcedureCode_decode_ber;
-der_type_encoder_f ProcedureCode_encode_der;
-xer_type_decoder_f ProcedureCode_decode_xer;
-xer_type_encoder_f ProcedureCode_encode_xer;
-per_type_decoder_f ProcedureCode_decode_uper;
-per_type_encoder_f ProcedureCode_encode_uper;
-per_type_decoder_f ProcedureCode_decode_aper;
-per_type_encoder_f ProcedureCode_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _ProcedureCode_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/ProtocolIE-ID.h b/include/osmocom/hnbap/ProtocolIE-ID.h
deleted file mode 100644
index ef61b81..0000000
--- a/include/osmocom/hnbap/ProtocolIE-ID.h
+++ /dev/null
@@ -1,89 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-CommonDataTypes"
- * found in "../../asn1/hnbap/HNBAP-CommonDataTypes.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _ProtocolIE_ID_H_
-#define _ProtocolIE_ID_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <NativeInteger.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum ProtocolIE_ID {
- ProtocolIE_ID_id_Cause = 1,
- ProtocolIE_ID_id_CriticalityDiagnostics = 2,
- ProtocolIE_ID_id_HNB_Identity = 3,
- ProtocolIE_ID_id_Context_ID = 4,
- ProtocolIE_ID_id_UE_Identity = 5,
- ProtocolIE_ID_id_LAC = 6,
- ProtocolIE_ID_id_RAC = 7,
- ProtocolIE_ID_id_HNB_Location_Information = 8,
- ProtocolIE_ID_id_PLMNidentity = 9,
- ProtocolIE_ID_id_SAC = 10,
- ProtocolIE_ID_id_CellIdentity = 11,
- ProtocolIE_ID_id_Registration_Cause = 12,
- ProtocolIE_ID_id_UE_Capabilities = 13,
- ProtocolIE_ID_id_RNC_ID = 14,
- ProtocolIE_ID_id_CSG_ID = 15,
- ProtocolIE_ID_id_BackoffTimer = 16,
- ProtocolIE_ID_id_HNB_Internet_Information = 17,
- ProtocolIE_ID_id_HNB_Cell_Access_Mode = 18,
- ProtocolIE_ID_id_MuxPortNumber = 19,
- ProtocolIE_ID_id_Service_Area_For_Broadcast = 20,
- ProtocolIE_ID_id_CSGMembershipStatus = 21,
- ProtocolIE_ID_id_RABList = 22,
- ProtocolIE_ID_id_HNBConfigInfo = 23,
- ProtocolIE_ID_id_AccessResult = 25,
- ProtocolIE_ID_id_Update_cause = 26,
- ProtocolIE_ID_id_NeighbourInfoList = 27,
- ProtocolIE_ID_id_NeighbourInfoRequestList = 28,
- ProtocolIE_ID_id_Iurh_Signalling_TNL_Address = 29,
- ProtocolIE_ID_id_PSC = 30,
- ProtocolIE_ID_id_HNB_Cell_Identifier = 31,
- ProtocolIE_ID_id_Tunnel_Information = 41,
- ProtocolIE_ID_id_CELL_FACHMobilitySupport = 42,
- ProtocolIE_ID_id_S_RNTIPrefix = 43,
- ProtocolIE_ID_id_URAIdentity = 44,
- ProtocolIE_ID_id_NeighbourIdentity = 45,
- ProtocolIE_ID_id_HNBCapacity = 46,
- ProtocolIE_ID_id_NeighbourCellIdentityList = 47,
- ProtocolIE_ID_id_AdditionalNeighbourInfoList = 48,
- ProtocolIE_ID_id_U_RNTI = 49,
- ProtocolIE_ID_id_UnknownU_RNTIIndication = 50,
- ProtocolIE_ID_id_HNB_GWResponse = 51,
- ProtocolIE_ID_id_URAIdentityList = 52
-} e_ProtocolIE_ID;
-
-/* ProtocolIE-ID */
-typedef long ProtocolIE_ID_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_ID;
-asn_struct_free_f ProtocolIE_ID_free;
-asn_struct_print_f ProtocolIE_ID_print;
-asn_constr_check_f ProtocolIE_ID_constraint;
-ber_type_decoder_f ProtocolIE_ID_decode_ber;
-der_type_encoder_f ProtocolIE_ID_encode_der;
-xer_type_decoder_f ProtocolIE_ID_decode_xer;
-xer_type_encoder_f ProtocolIE_ID_encode_xer;
-per_type_decoder_f ProtocolIE_ID_decode_uper;
-per_type_encoder_f ProtocolIE_ID_encode_uper;
-per_type_decoder_f ProtocolIE_ID_decode_aper;
-per_type_encoder_f ProtocolIE_ID_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _ProtocolIE_ID_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/RAB-ID.h b/include/osmocom/hnbap/RAB-ID.h
deleted file mode 100644
index 69581f7..0000000
--- a/include/osmocom/hnbap/RAB-ID.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _RAB_ID_H_
-#define _RAB_ID_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <BIT_STRING.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* RAB-ID */
-typedef BIT_STRING_t RAB_ID_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_RAB_ID;
-asn_struct_free_f RAB_ID_free;
-asn_struct_print_f RAB_ID_print;
-asn_constr_check_f RAB_ID_constraint;
-ber_type_decoder_f RAB_ID_decode_ber;
-der_type_encoder_f RAB_ID_encode_der;
-xer_type_decoder_f RAB_ID_decode_xer;
-xer_type_encoder_f RAB_ID_encode_xer;
-per_type_decoder_f RAB_ID_decode_uper;
-per_type_encoder_f RAB_ID_encode_uper;
-per_type_decoder_f RAB_ID_decode_aper;
-per_type_encoder_f RAB_ID_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _RAB_ID_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/RABListItem.h b/include/osmocom/hnbap/RABListItem.h
deleted file mode 100644
index 046915c..0000000
--- a/include/osmocom/hnbap/RABListItem.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _RABListItem_H_
-#define _RABListItem_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <osmocom/hnbap/RAB-ID.h>
-#include <osmocom/hnbap/TransportInfo.h>
-#include <osmocom/hnbap/CN-DomainIndicator.h>
-#include <constr_SEQUENCE.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Forward declarations */
-struct IE_Extensions;
-
-/* RABListItem */
-typedef struct RABListItem {
- RAB_ID_t rAB_ID;
- TransportInfo_t old_transport_Info;
- TransportInfo_t new_transport_Info;
- CN_DomainIndicator_t cn_domain_indicator;
- struct IE_Extensions *iE_Extensions /* OPTIONAL */;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
-} RABListItem_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_RABListItem;
-
-#ifdef __cplusplus
-}
-#endif
-
-/* Referred external types */
-#include <osmocom/hnbap/IE-Extensions.h>
-
-#endif /* _RABListItem_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/RAC.h b/include/osmocom/hnbap/RAC.h
deleted file mode 100644
index e7435ca..0000000
--- a/include/osmocom/hnbap/RAC.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _RAC_H_
-#define _RAC_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <OCTET_STRING.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* RAC */
-typedef OCTET_STRING_t RAC_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_RAC;
-asn_struct_free_f RAC_free;
-asn_struct_print_f RAC_print;
-asn_constr_check_f RAC_constraint;
-ber_type_decoder_f RAC_decode_ber;
-der_type_encoder_f RAC_encode_der;
-xer_type_decoder_f RAC_decode_xer;
-xer_type_encoder_f RAC_encode_xer;
-per_type_decoder_f RAC_decode_uper;
-per_type_encoder_f RAC_encode_uper;
-per_type_decoder_f RAC_decode_aper;
-per_type_encoder_f RAC_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _RAC_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/RNC-ID.h b/include/osmocom/hnbap/RNC-ID.h
deleted file mode 100644
index 5a3c34d..0000000
--- a/include/osmocom/hnbap/RNC-ID.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _RNC_ID_H_
-#define _RNC_ID_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <NativeInteger.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* RNC-ID */
-typedef long RNC_ID_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_RNC_ID;
-asn_struct_free_f RNC_ID_free;
-asn_struct_print_f RNC_ID_print;
-asn_constr_check_f RNC_ID_constraint;
-ber_type_decoder_f RNC_ID_decode_ber;
-der_type_encoder_f RNC_ID_encode_der;
-xer_type_decoder_f RNC_ID_decode_xer;
-xer_type_encoder_f RNC_ID_encode_xer;
-per_type_decoder_f RNC_ID_decode_uper;
-per_type_encoder_f RNC_ID_encode_uper;
-per_type_decoder_f RNC_ID_decode_aper;
-per_type_encoder_f RNC_ID_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _RNC_ID_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/Registration-Cause.h b/include/osmocom/hnbap/Registration-Cause.h
deleted file mode 100644
index 5c12a6b..0000000
--- a/include/osmocom/hnbap/Registration-Cause.h
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _Registration_Cause_H_
-#define _Registration_Cause_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <NativeEnumerated.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum Registration_Cause {
- Registration_Cause_emergency_call = 0,
- Registration_Cause_normal = 1,
- /*
- * Enumeration is extensible
- */
- Registration_Cause_ue_relocation = 2
-} e_Registration_Cause;
-
-/* Registration-Cause */
-typedef long Registration_Cause_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_Registration_Cause;
-asn_struct_free_f Registration_Cause_free;
-asn_struct_print_f Registration_Cause_print;
-asn_constr_check_f Registration_Cause_constraint;
-ber_type_decoder_f Registration_Cause_decode_ber;
-der_type_encoder_f Registration_Cause_encode_der;
-xer_type_decoder_f Registration_Cause_decode_xer;
-xer_type_encoder_f Registration_Cause_encode_xer;
-per_type_decoder_f Registration_Cause_decode_uper;
-per_type_encoder_f Registration_Cause_encode_uper;
-per_type_decoder_f Registration_Cause_decode_aper;
-per_type_encoder_f Registration_Cause_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _Registration_Cause_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/S-RNTIPrefix.h b/include/osmocom/hnbap/S-RNTIPrefix.h
deleted file mode 100644
index 0341622..0000000
--- a/include/osmocom/hnbap/S-RNTIPrefix.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _S_RNTIPrefix_H_
-#define _S_RNTIPrefix_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <BIT_STRING.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* S-RNTIPrefix */
-typedef BIT_STRING_t S_RNTIPrefix_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_S_RNTIPrefix;
-asn_struct_free_f S_RNTIPrefix_free;
-asn_struct_print_f S_RNTIPrefix_print;
-asn_constr_check_f S_RNTIPrefix_constraint;
-ber_type_decoder_f S_RNTIPrefix_decode_ber;
-der_type_encoder_f S_RNTIPrefix_encode_der;
-xer_type_decoder_f S_RNTIPrefix_decode_xer;
-xer_type_encoder_f S_RNTIPrefix_encode_xer;
-per_type_decoder_f S_RNTIPrefix_decode_uper;
-per_type_encoder_f S_RNTIPrefix_encode_uper;
-per_type_decoder_f S_RNTIPrefix_decode_aper;
-per_type_encoder_f S_RNTIPrefix_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _S_RNTIPrefix_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/SAC.h b/include/osmocom/hnbap/SAC.h
deleted file mode 100644
index ee98806..0000000
--- a/include/osmocom/hnbap/SAC.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _SAC_H_
-#define _SAC_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <OCTET_STRING.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* SAC */
-typedef OCTET_STRING_t SAC_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_SAC;
-asn_struct_free_f SAC_free;
-asn_struct_print_f SAC_print;
-asn_constr_check_f SAC_constraint;
-ber_type_decoder_f SAC_decode_ber;
-der_type_encoder_f SAC_encode_der;
-xer_type_decoder_f SAC_decode_xer;
-xer_type_encoder_f SAC_encode_xer;
-per_type_decoder_f SAC_decode_uper;
-per_type_encoder_f SAC_encode_uper;
-per_type_decoder_f SAC_decode_aper;
-per_type_encoder_f SAC_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _SAC_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/TMSIDS41.h b/include/osmocom/hnbap/TMSIDS41.h
deleted file mode 100644
index 6634879..0000000
--- a/include/osmocom/hnbap/TMSIDS41.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _TMSIDS41_H_
-#define _TMSIDS41_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <OCTET_STRING.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* TMSIDS41 */
-typedef OCTET_STRING_t TMSIDS41_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_TMSIDS41;
-asn_struct_free_f TMSIDS41_free;
-asn_struct_print_f TMSIDS41_print;
-asn_constr_check_f TMSIDS41_constraint;
-ber_type_decoder_f TMSIDS41_decode_ber;
-der_type_encoder_f TMSIDS41_encode_der;
-xer_type_decoder_f TMSIDS41_decode_xer;
-xer_type_encoder_f TMSIDS41_encode_xer;
-per_type_decoder_f TMSIDS41_decode_uper;
-per_type_encoder_f TMSIDS41_encode_uper;
-per_type_decoder_f TMSIDS41_decode_aper;
-per_type_encoder_f TMSIDS41_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _TMSIDS41_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/TransportLayerAddress.h b/include/osmocom/hnbap/TransportLayerAddress.h
deleted file mode 100644
index d45370b..0000000
--- a/include/osmocom/hnbap/TransportLayerAddress.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _TransportLayerAddress_H_
-#define _TransportLayerAddress_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <BIT_STRING.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* TransportLayerAddress */
-typedef BIT_STRING_t TransportLayerAddress_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_TransportLayerAddress;
-asn_struct_free_f TransportLayerAddress_free;
-asn_struct_print_f TransportLayerAddress_print;
-asn_constr_check_f TransportLayerAddress_constraint;
-ber_type_decoder_f TransportLayerAddress_decode_ber;
-der_type_encoder_f TransportLayerAddress_encode_der;
-xer_type_decoder_f TransportLayerAddress_decode_xer;
-xer_type_encoder_f TransportLayerAddress_encode_xer;
-per_type_decoder_f TransportLayerAddress_decode_uper;
-per_type_encoder_f TransportLayerAddress_encode_uper;
-per_type_decoder_f TransportLayerAddress_decode_aper;
-per_type_encoder_f TransportLayerAddress_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _TransportLayerAddress_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/TriggeringMessage.h b/include/osmocom/hnbap/TriggeringMessage.h
deleted file mode 100644
index 9533b76..0000000
--- a/include/osmocom/hnbap/TriggeringMessage.h
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-CommonDataTypes"
- * found in "../../asn1/hnbap/HNBAP-CommonDataTypes.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _TriggeringMessage_H_
-#define _TriggeringMessage_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <NativeEnumerated.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum TriggeringMessage {
- TriggeringMessage_initiating_message = 0,
- TriggeringMessage_successful_outcome = 1,
- TriggeringMessage_unsuccessful_outcome = 2
-} e_TriggeringMessage;
-
-/* TriggeringMessage */
-typedef long TriggeringMessage_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_TriggeringMessage;
-asn_struct_free_f TriggeringMessage_free;
-asn_struct_print_f TriggeringMessage_print;
-asn_constr_check_f TriggeringMessage_constraint;
-ber_type_decoder_f TriggeringMessage_decode_ber;
-der_type_encoder_f TriggeringMessage_encode_der;
-xer_type_decoder_f TriggeringMessage_decode_xer;
-xer_type_encoder_f TriggeringMessage_encode_xer;
-per_type_decoder_f TriggeringMessage_decode_uper;
-per_type_encoder_f TriggeringMessage_encode_uper;
-per_type_decoder_f TriggeringMessage_decode_aper;
-per_type_encoder_f TriggeringMessage_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _TriggeringMessage_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/Tunnel-Information.h b/include/osmocom/hnbap/Tunnel-Information.h
deleted file mode 100644
index 55e956e..0000000
--- a/include/osmocom/hnbap/Tunnel-Information.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _Tunnel_Information_H_
-#define _Tunnel_Information_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <osmocom/hnbap/IP-Address.h>
-#include <osmocom/hnbap/UDP-Port-Number.h>
-#include <constr_SEQUENCE.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Forward declarations */
-struct IE_Extensions;
-
-/* Tunnel-Information */
-typedef struct Tunnel_Information {
- IP_Address_t iP_Address;
- UDP_Port_Number_t *uDP_Port_Number /* OPTIONAL */;
- struct IE_Extensions *iE_Extensions /* OPTIONAL */;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
-} Tunnel_Information_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_Tunnel_Information;
-
-#ifdef __cplusplus
-}
-#endif
-
-/* Referred external types */
-#include <osmocom/hnbap/IE-Extensions.h>
-
-#endif /* _Tunnel_Information_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/TypeOfError.h b/include/osmocom/hnbap/TypeOfError.h
deleted file mode 100644
index 18a487c..0000000
--- a/include/osmocom/hnbap/TypeOfError.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _TypeOfError_H_
-#define _TypeOfError_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <NativeEnumerated.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum TypeOfError {
- TypeOfError_not_understood = 0,
- TypeOfError_missing = 1
- /*
- * Enumeration is extensible
- */
-} e_TypeOfError;
-
-/* TypeOfError */
-typedef long TypeOfError_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_TypeOfError;
-asn_struct_free_f TypeOfError_free;
-asn_struct_print_f TypeOfError_print;
-asn_constr_check_f TypeOfError_constraint;
-ber_type_decoder_f TypeOfError_decode_ber;
-der_type_encoder_f TypeOfError_encode_der;
-xer_type_decoder_f TypeOfError_decode_xer;
-xer_type_encoder_f TypeOfError_encode_xer;
-per_type_decoder_f TypeOfError_decode_uper;
-per_type_encoder_f TypeOfError_encode_uper;
-per_type_decoder_f TypeOfError_decode_aper;
-per_type_encoder_f TypeOfError_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _TypeOfError_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/U-RNTI.h b/include/osmocom/hnbap/U-RNTI.h
deleted file mode 100644
index bc3e335..0000000
--- a/include/osmocom/hnbap/U-RNTI.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _U_RNTI_H_
-#define _U_RNTI_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <BIT_STRING.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* U-RNTI */
-typedef BIT_STRING_t U_RNTI_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_U_RNTI;
-asn_struct_free_f U_RNTI_free;
-asn_struct_print_f U_RNTI_print;
-asn_constr_check_f U_RNTI_constraint;
-ber_type_decoder_f U_RNTI_decode_ber;
-der_type_encoder_f U_RNTI_encode_der;
-xer_type_decoder_f U_RNTI_decode_xer;
-xer_type_encoder_f U_RNTI_encode_xer;
-per_type_decoder_f U_RNTI_decode_uper;
-per_type_encoder_f U_RNTI_encode_uper;
-per_type_decoder_f U_RNTI_decode_aper;
-per_type_encoder_f U_RNTI_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _U_RNTI_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/UDP-Port-Number.h b/include/osmocom/hnbap/UDP-Port-Number.h
deleted file mode 100644
index f07bc10..0000000
--- a/include/osmocom/hnbap/UDP-Port-Number.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _UDP_Port_Number_H_
-#define _UDP_Port_Number_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <OCTET_STRING.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* UDP-Port-Number */
-typedef OCTET_STRING_t UDP_Port_Number_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_UDP_Port_Number;
-asn_struct_free_f UDP_Port_Number_free;
-asn_struct_print_f UDP_Port_Number_print;
-asn_constr_check_f UDP_Port_Number_constraint;
-ber_type_decoder_f UDP_Port_Number_decode_ber;
-der_type_encoder_f UDP_Port_Number_encode_der;
-xer_type_decoder_f UDP_Port_Number_decode_xer;
-xer_type_encoder_f UDP_Port_Number_encode_xer;
-per_type_decoder_f UDP_Port_Number_decode_uper;
-per_type_encoder_f UDP_Port_Number_encode_uper;
-per_type_decoder_f UDP_Port_Number_decode_aper;
-per_type_encoder_f UDP_Port_Number_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _UDP_Port_Number_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/UE-Capabilities.h b/include/osmocom/hnbap/UE-Capabilities.h
deleted file mode 100644
index 3c90aee..0000000
--- a/include/osmocom/hnbap/UE-Capabilities.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _UE_Capabilities_H_
-#define _UE_Capabilities_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <osmocom/hnbap/Access-stratum-release-indicator.h>
-#include <osmocom/hnbap/CSG-Capability.h>
-#include <constr_SEQUENCE.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Forward declarations */
-struct IE_Extensions;
-
-/* UE-Capabilities */
-typedef struct UE_Capabilities {
- Access_stratum_release_indicator_t access_stratum_release_indicator;
- CSG_Capability_t csg_capability;
- struct IE_Extensions *iE_Extensions /* OPTIONAL */;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
-} UE_Capabilities_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_UE_Capabilities;
-
-#ifdef __cplusplus
-}
-#endif
-
-/* Referred external types */
-#include <osmocom/hnbap/IE-Extensions.h>
-
-#endif /* _UE_Capabilities_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/UE-Identity.h b/include/osmocom/hnbap/UE-Identity.h
deleted file mode 100644
index 5633e65..0000000
--- a/include/osmocom/hnbap/UE-Identity.h
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _UE_Identity_H_
-#define _UE_Identity_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <osmocom/hnbap/IMSI.h>
-#include <osmocom/hnbap/TMSILAI.h>
-#include <osmocom/hnbap/PTMSIRAI.h>
-#include <osmocom/hnbap/IMEI.h>
-#include <osmocom/hnbap/ESN.h>
-#include <osmocom/hnbap/IMSIDS41.h>
-#include <osmocom/hnbap/IMSIESN.h>
-#include <osmocom/hnbap/TMSIDS41.h>
-#include <constr_CHOICE.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum UE_Identity_PR {
- UE_Identity_PR_NOTHING, /* No components present */
- UE_Identity_PR_iMSI,
- UE_Identity_PR_tMSILAI,
- UE_Identity_PR_pTMSIRAI,
- UE_Identity_PR_iMEI,
- UE_Identity_PR_eSN,
- UE_Identity_PR_iMSIDS41,
- UE_Identity_PR_iMSIESN,
- UE_Identity_PR_tMSIDS41,
- /* Extensions may appear below */
-
-} UE_Identity_PR;
-
-/* UE-Identity */
-typedef struct UE_Identity {
- UE_Identity_PR present;
- union UE_Identity_u {
- IMSI_t iMSI;
- TMSILAI_t tMSILAI;
- PTMSIRAI_t pTMSIRAI;
- IMEI_t iMEI;
- ESN_t eSN;
- IMSIDS41_t iMSIDS41;
- IMSIESN_t iMSIESN;
- TMSIDS41_t tMSIDS41;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
- } choice;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
-} UE_Identity_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_UE_Identity;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _UE_Identity_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/URAIdentity.h b/include/osmocom/hnbap/URAIdentity.h
deleted file mode 100644
index 187427c..0000000
--- a/include/osmocom/hnbap/URAIdentity.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _URAIdentity_H_
-#define _URAIdentity_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <NativeInteger.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* URAIdentity */
-typedef long URAIdentity_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_URAIdentity;
-asn_struct_free_f URAIdentity_free;
-asn_struct_print_f URAIdentity_print;
-asn_constr_check_f URAIdentity_constraint;
-ber_type_decoder_f URAIdentity_decode_ber;
-der_type_encoder_f URAIdentity_encode_der;
-xer_type_decoder_f URAIdentity_decode_xer;
-xer_type_encoder_f URAIdentity_encode_xer;
-per_type_decoder_f URAIdentity_decode_uper;
-per_type_encoder_f URAIdentity_encode_uper;
-per_type_decoder_f URAIdentity_decode_aper;
-per_type_encoder_f URAIdentity_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _URAIdentity_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/UTRANCellID.h b/include/osmocom/hnbap/UTRANCellID.h
deleted file mode 100644
index f0b1b40..0000000
--- a/include/osmocom/hnbap/UTRANCellID.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _UTRANCellID_H_
-#define _UTRANCellID_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <osmocom/hnbap/LAC.h>
-#include <osmocom/hnbap/RAC.h>
-#include <osmocom/hnbap/PLMNidentity.h>
-#include <osmocom/hnbap/CellIdentity.h>
-#include <constr_SEQUENCE.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Forward declarations */
-struct IE_Extensions;
-
-/* UTRANCellID */
-typedef struct UTRANCellID {
- LAC_t lAC;
- RAC_t rAC;
- PLMNidentity_t pLMNidentity;
- CellIdentity_t uTRANcellID;
- struct IE_Extensions *iE_Extensions /* OPTIONAL */;
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
-} UTRANCellID_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_UTRANCellID;
-
-#ifdef __cplusplus
-}
-#endif
-
-/* Referred external types */
-#include <osmocom/hnbap/IE-Extensions.h>
-
-#endif /* _UTRANCellID_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/UnknownU-RNTIIndication.h b/include/osmocom/hnbap/UnknownU-RNTIIndication.h
deleted file mode 100644
index 48b5384..0000000
--- a/include/osmocom/hnbap/UnknownU-RNTIIndication.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _UnknownU_RNTIIndication_H_
-#define _UnknownU_RNTIIndication_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <NativeEnumerated.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum UnknownU_RNTIIndication {
- UnknownU_RNTIIndication_unknown = 0
- /*
- * Enumeration is extensible
- */
-} e_UnknownU_RNTIIndication;
-
-/* UnknownU-RNTIIndication */
-typedef long UnknownU_RNTIIndication_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_UnknownU_RNTIIndication;
-asn_struct_free_f UnknownU_RNTIIndication_free;
-asn_struct_print_f UnknownU_RNTIIndication_print;
-asn_constr_check_f UnknownU_RNTIIndication_constraint;
-ber_type_decoder_f UnknownU_RNTIIndication_decode_ber;
-der_type_encoder_f UnknownU_RNTIIndication_encode_der;
-xer_type_decoder_f UnknownU_RNTIIndication_decode_xer;
-xer_type_encoder_f UnknownU_RNTIIndication_encode_xer;
-per_type_decoder_f UnknownU_RNTIIndication_decode_uper;
-per_type_encoder_f UnknownU_RNTIIndication_encode_uper;
-per_type_decoder_f UnknownU_RNTIIndication_decode_aper;
-per_type_encoder_f UnknownU_RNTIIndication_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _UnknownU_RNTIIndication_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/Update-cause.h b/include/osmocom/hnbap/Update-cause.h
deleted file mode 100644
index 18b528c..0000000
--- a/include/osmocom/hnbap/Update-cause.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#ifndef _Update_cause_H_
-#define _Update_cause_H_
-
-
-#include <asn_application.h>
-
-/* Including external dependencies */
-#include <NativeEnumerated.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Dependencies */
-typedef enum Update_cause {
- Update_cause_relocation_preparation = 0
- /*
- * Enumeration is extensible
- */
-} e_Update_cause;
-
-/* Update-cause */
-typedef long Update_cause_t;
-
-/* Implementation */
-extern asn_TYPE_descriptor_t asn_DEF_Update_cause;
-asn_struct_free_f Update_cause_free;
-asn_struct_print_f Update_cause_print;
-asn_constr_check_f Update_cause_constraint;
-ber_type_decoder_f Update_cause_decode_ber;
-der_type_encoder_f Update_cause_encode_der;
-xer_type_decoder_f Update_cause_decode_xer;
-xer_type_encoder_f Update_cause_encode_xer;
-per_type_decoder_f Update_cause_decode_uper;
-per_type_encoder_f Update_cause_encode_uper;
-per_type_decoder_f Update_cause_decode_aper;
-per_type_encoder_f Update_cause_encode_aper;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _Update_cause_H_ */
-#include <asn_internal.h>
diff --git a/include/osmocom/hnbap/hnbap_common.h b/include/osmocom/hnbap/hnbap_common.h
index 25cb2f0..69a5383 100644
--- a/include/osmocom/hnbap/hnbap_common.h
+++ b/include/osmocom/hnbap/hnbap_common.h
@@ -1,130 +1,122 @@
#pragma once
-#include "asn_application.h"
+#include <asn1c/asn_application.h>
-#include <ANY.h>
-#include <BIT_STRING.h>
-#include <INTEGER.h>
-#include <NativeEnumerated.h>
-#include <NativeInteger.h>
-#include <OBJECT_IDENTIFIER.h>
-#include <OCTET_STRING.h>
-
-#include <osmocom/hnbap/Access-stratum-release-indicator.h>
-#include <osmocom/hnbap/AccessResult.h>
-#include <osmocom/hnbap/AdditionalNeighbourInfoList.h>
-#include <osmocom/hnbap/AltitudeAndDirection.h>
-#include <osmocom/hnbap/BackoffTimer.h>
-#include <osmocom/hnbap/BindingID.h>
-#include <osmocom/hnbap/CELL-FACHMobilitySupport.h>
-#include <osmocom/hnbap/CGI.h>
-#include <osmocom/hnbap/CI.h>
-#include <osmocom/hnbap/CN-DomainIndicator.h>
-#include <osmocom/hnbap/CSG-Capability.h>
-#include <osmocom/hnbap/CSG-ID.h>
-#include <osmocom/hnbap/CSGMembershipStatus.h>
-#include <osmocom/hnbap/CSGMembershipUpdate.h>
-#include <osmocom/hnbap/Cause.h>
-#include <osmocom/hnbap/CauseMisc.h>
-#include <osmocom/hnbap/CauseProtocol.h>
-#include <osmocom/hnbap/CauseRadioNetwork.h>
-#include <osmocom/hnbap/CauseTransport.h>
-#include <osmocom/hnbap/CellIdentity.h>
-#include <osmocom/hnbap/ConfigurationInformation.h>
-#include <osmocom/hnbap/Context-ID.h>
-#include <osmocom/hnbap/Criticality.h>
-#include <osmocom/hnbap/CriticalityDiagnostics-IE-List.h>
-#include <osmocom/hnbap/CriticalityDiagnostics.h>
-#include <osmocom/hnbap/ESN.h>
-#include <osmocom/hnbap/ErrorIndication.h>
-#include <osmocom/hnbap/GTP-TEI.h>
-#include <osmocom/hnbap/GeographicalCoordinates.h>
-#include <osmocom/hnbap/GeographicalLocation.h>
-#include <osmocom/hnbap/HNB-Cell-Access-Mode.h>
-#include <osmocom/hnbap/HNB-Cell-Identifier.h>
-#include <osmocom/hnbap/HNB-GWResponse.h>
-#include <osmocom/hnbap/HNB-Identity-Info.h>
-#include <osmocom/hnbap/HNB-Identity.h>
-#include <osmocom/hnbap/HNB-Location-Information.h>
-#include <osmocom/hnbap/HNB-RNL-Identity.h>
-#include <osmocom/hnbap/HNBAP-PDU.h>
-#include <osmocom/hnbap/HNBCapacity.h>
-#include <osmocom/hnbap/HNBConfigInfo.h>
-#include <osmocom/hnbap/HNBConfigTransferRequest.h>
-#include <osmocom/hnbap/HNBConfigTransferResponse.h>
-#include <osmocom/hnbap/HNBConfigurationInformationMissing.h>
-#include <osmocom/hnbap/HNBConfigurationInformationProvided.h>
-#include <osmocom/hnbap/HNBDe-Register.h>
-#include <osmocom/hnbap/HNBRegisterAccept.h>
-#include <osmocom/hnbap/HNBRegisterReject.h>
-#include <osmocom/hnbap/HNBRegisterRequest.h>
-#include <osmocom/hnbap/IE-Extensions.h>
-#include <osmocom/hnbap/IE.h>
-#include <osmocom/hnbap/IMEI.h>
-#include <osmocom/hnbap/IMSI.h>
-#include <osmocom/hnbap/IMSIDS41.h>
-#include <osmocom/hnbap/IMSIESN.h>
-#include <osmocom/hnbap/IP-Address.h>
-#include <osmocom/hnbap/InitiatingMessage.h>
-#include <osmocom/hnbap/Ipv4Address.h>
-#include <osmocom/hnbap/Ipv6Address.h>
-#include <osmocom/hnbap/Iurh-Signalling-TNL-AddressList.h>
-#include <osmocom/hnbap/LAC.h>
-#include <osmocom/hnbap/LAI.h>
-#include <osmocom/hnbap/MacroCellID.h>
-#include <osmocom/hnbap/MacroCoverageInformation.h>
-#include <osmocom/hnbap/MuxPortNumber.h>
-#include <osmocom/hnbap/NeighbourCellIdentityList.h>
-#include <osmocom/hnbap/NeighbourIdentity.h>
-#include <osmocom/hnbap/NeighbourInfoList.h>
-#include <osmocom/hnbap/NeighbourInfoRequestItem.h>
-#include <osmocom/hnbap/NeighbourInfoRequestList.h>
-#include <osmocom/hnbap/PLMNidentity.h>
-#include <osmocom/hnbap/PSC.h>
-#include <osmocom/hnbap/PTMSI.h>
-#include <osmocom/hnbap/PTMSIRAI.h>
-#include <osmocom/hnbap/Presence.h>
-#include <osmocom/hnbap/PrivateIE-ID.h>
-#include <osmocom/hnbap/PrivateMessage.h>
-#include <osmocom/hnbap/ProcedureCode.h>
-#include <osmocom/hnbap/ProtocolIE-ID.h>
-#include <osmocom/hnbap/RAB-ID.h>
-#include <osmocom/hnbap/RABList.h>
-#include <osmocom/hnbap/RABListItem.h>
-#include <osmocom/hnbap/RAC.h>
-#include <osmocom/hnbap/RAI.h>
-#include <osmocom/hnbap/RNC-ID.h>
-#include <osmocom/hnbap/Registration-Cause.h>
-#include <osmocom/hnbap/RelocationComplete.h>
-#include <osmocom/hnbap/S-RNTIPrefix.h>
-#include <osmocom/hnbap/SAC.h>
-#include <osmocom/hnbap/SuccessfulOutcome.h>
-#include <osmocom/hnbap/TMSIDS41.h>
-#include <osmocom/hnbap/TMSILAI.h>
-#include <osmocom/hnbap/TNLUpdateFailure.h>
-#include <osmocom/hnbap/TNLUpdateRequest.h>
-#include <osmocom/hnbap/TNLUpdateResponse.h>
-#include <osmocom/hnbap/TransportInfo.h>
-#include <osmocom/hnbap/TransportLayerAddress.h>
-#include <osmocom/hnbap/TriggeringMessage.h>
-#include <osmocom/hnbap/Tunnel-Information.h>
-#include <osmocom/hnbap/TypeOfError.h>
-#include <osmocom/hnbap/U-RNTI.h>
-#include <osmocom/hnbap/U-RNTIQueryRequest.h>
-#include <osmocom/hnbap/U-RNTIQueryResponse.h>
-#include <osmocom/hnbap/UDP-Port-Number.h>
-#include <osmocom/hnbap/UE-Capabilities.h>
-#include <osmocom/hnbap/UE-Identity.h>
-#include <osmocom/hnbap/UEDe-Register.h>
-#include <osmocom/hnbap/UERegisterAccept.h>
-#include <osmocom/hnbap/UERegisterReject.h>
-#include <osmocom/hnbap/UERegisterRequest.h>
-#include <osmocom/hnbap/URAIdentity.h>
-#include <osmocom/hnbap/URAIdentityList.h>
-#include <osmocom/hnbap/UTRANCellID.h>
-#include <osmocom/hnbap/UnknownU-RNTIIndication.h>
-#include <osmocom/hnbap/UnsuccessfulOutcome.h>
-#include <osmocom/hnbap/Update-cause.h>
+#include <osmocom/hnbap/HNBAP_Access-stratum-release-indicator.h>
+#include <osmocom/hnbap/HNBAP_AccessResult.h>
+#include <osmocom/hnbap/HNBAP_AdditionalNeighbourInfoList.h>
+#include <osmocom/hnbap/HNBAP_AltitudeAndDirection.h>
+#include <osmocom/hnbap/HNBAP_BackoffTimer.h>
+#include <osmocom/hnbap/HNBAP_BindingID.h>
+#include <osmocom/hnbap/HNBAP_CELL-FACHMobilitySupport.h>
+#include <osmocom/hnbap/HNBAP_CGI.h>
+#include <osmocom/hnbap/HNBAP_CI.h>
+#include <osmocom/hnbap/HNBAP_CN-DomainIndicator.h>
+#include <osmocom/hnbap/HNBAP_CSG-Capability.h>
+#include <osmocom/hnbap/HNBAP_CSG-ID.h>
+#include <osmocom/hnbap/HNBAP_CSGMembershipStatus.h>
+#include <osmocom/hnbap/HNBAP_CSGMembershipUpdate.h>
+#include <osmocom/hnbap/HNBAP_Cause.h>
+#include <osmocom/hnbap/HNBAP_CauseMisc.h>
+#include <osmocom/hnbap/HNBAP_CauseProtocol.h>
+#include <osmocom/hnbap/HNBAP_CauseRadioNetwork.h>
+#include <osmocom/hnbap/HNBAP_CauseTransport.h>
+#include <osmocom/hnbap/HNBAP_CellIdentity.h>
+#include <osmocom/hnbap/HNBAP_ConfigurationInformation.h>
+#include <osmocom/hnbap/HNBAP_Context-ID.h>
+#include <osmocom/hnbap/HNBAP_Criticality.h>
+#include <osmocom/hnbap/HNBAP_CriticalityDiagnostics-IE-List.h>
+#include <osmocom/hnbap/HNBAP_CriticalityDiagnostics.h>
+#include <osmocom/hnbap/HNBAP_ESN.h>
+#include <osmocom/hnbap/HNBAP_ErrorIndication.h>
+#include <osmocom/hnbap/HNBAP_GTP-TEI.h>
+#include <osmocom/hnbap/HNBAP_GeographicalCoordinates.h>
+#include <osmocom/hnbap/HNBAP_GeographicalLocation.h>
+#include <osmocom/hnbap/HNBAP_HNB-Cell-Access-Mode.h>
+#include <osmocom/hnbap/HNBAP_HNB-Cell-Identifier.h>
+#include <osmocom/hnbap/HNBAP_HNB-GWResponse.h>
+#include <osmocom/hnbap/HNBAP_HNB-Identity-Info.h>
+#include <osmocom/hnbap/HNBAP_HNB-Identity.h>
+#include <osmocom/hnbap/HNBAP_HNB-Location-Information.h>
+#include <osmocom/hnbap/HNBAP_HNB-RNL-Identity.h>
+#include <osmocom/hnbap/HNBAP_HNBAP-PDU.h>
+#include <osmocom/hnbap/HNBAP_HNBCapacity.h>
+#include <osmocom/hnbap/HNBAP_HNBConfigInfo.h>
+#include <osmocom/hnbap/HNBAP_HNBConfigTransferRequest.h>
+#include <osmocom/hnbap/HNBAP_HNBConfigTransferResponse.h>
+#include <osmocom/hnbap/HNBAP_HNBConfigurationInformationMissing.h>
+#include <osmocom/hnbap/HNBAP_HNBConfigurationInformationProvided.h>
+#include <osmocom/hnbap/HNBAP_HNBDe-Register.h>
+#include <osmocom/hnbap/HNBAP_HNBRegisterAccept.h>
+#include <osmocom/hnbap/HNBAP_HNBRegisterReject.h>
+#include <osmocom/hnbap/HNBAP_HNBRegisterRequest.h>
+#include <osmocom/hnbap/HNBAP_IE-Extensions.h>
+#include <osmocom/hnbap/HNBAP_IE.h>
+#include <osmocom/hnbap/HNBAP_IMEI.h>
+#include <osmocom/hnbap/HNBAP_IMSI.h>
+#include <osmocom/hnbap/HNBAP_IMSIDS41.h>
+#include <osmocom/hnbap/HNBAP_IMSIESN.h>
+#include <osmocom/hnbap/HNBAP_IP-Address.h>
+#include <osmocom/hnbap/HNBAP_InitiatingMessage.h>
+#include <osmocom/hnbap/HNBAP_Ipv4Address.h>
+#include <osmocom/hnbap/HNBAP_Ipv6Address.h>
+#include <osmocom/hnbap/HNBAP_Iurh-Signalling-TNL-AddressList.h>
+#include <osmocom/hnbap/HNBAP_LAC.h>
+#include <osmocom/hnbap/HNBAP_LAI.h>
+#include <osmocom/hnbap/HNBAP_MacroCellID.h>
+#include <osmocom/hnbap/HNBAP_MacroCoverageInformation.h>
+#include <osmocom/hnbap/HNBAP_MuxPortNumber.h>
+#include <osmocom/hnbap/HNBAP_NeighbourCellIdentityList.h>
+#include <osmocom/hnbap/HNBAP_NeighbourIdentity.h>
+#include <osmocom/hnbap/HNBAP_NeighbourInfoList.h>
+#include <osmocom/hnbap/HNBAP_NeighbourInfoRequestItem.h>
+#include <osmocom/hnbap/HNBAP_NeighbourInfoRequestList.h>
+#include <osmocom/hnbap/HNBAP_PLMNidentity.h>
+#include <osmocom/hnbap/HNBAP_PSC.h>
+#include <osmocom/hnbap/HNBAP_PTMSI.h>
+#include <osmocom/hnbap/HNBAP_PTMSIRAI.h>
+#include <osmocom/hnbap/HNBAP_Presence.h>
+#include <osmocom/hnbap/HNBAP_PrivateIE-ID.h>
+#include <osmocom/hnbap/HNBAP_PrivateMessage.h>
+#include <osmocom/hnbap/HNBAP_ProcedureCode.h>
+#include <osmocom/hnbap/HNBAP_ProtocolIE-ID.h>
+#include <osmocom/hnbap/HNBAP_RAB-ID.h>
+#include <osmocom/hnbap/HNBAP_RABList.h>
+#include <osmocom/hnbap/HNBAP_RABListItem.h>
+#include <osmocom/hnbap/HNBAP_RAC.h>
+#include <osmocom/hnbap/HNBAP_RAI.h>
+#include <osmocom/hnbap/HNBAP_RNC-ID.h>
+#include <osmocom/hnbap/HNBAP_Registration-Cause.h>
+#include <osmocom/hnbap/HNBAP_RelocationComplete.h>
+#include <osmocom/hnbap/HNBAP_S-RNTIPrefix.h>
+#include <osmocom/hnbap/HNBAP_SAC.h>
+#include <osmocom/hnbap/HNBAP_SuccessfulOutcome.h>
+#include <osmocom/hnbap/HNBAP_TMSIDS41.h>
+#include <osmocom/hnbap/HNBAP_TMSILAI.h>
+#include <osmocom/hnbap/HNBAP_TNLUpdateFailure.h>
+#include <osmocom/hnbap/HNBAP_TNLUpdateRequest.h>
+#include <osmocom/hnbap/HNBAP_TNLUpdateResponse.h>
+#include <osmocom/hnbap/HNBAP_TransportInfo.h>
+#include <osmocom/hnbap/HNBAP_TransportLayerAddress.h>
+#include <osmocom/hnbap/HNBAP_TriggeringMessage.h>
+#include <osmocom/hnbap/HNBAP_Tunnel-Information.h>
+#include <osmocom/hnbap/HNBAP_TypeOfError.h>
+#include <osmocom/hnbap/HNBAP_U-RNTI.h>
+#include <osmocom/hnbap/HNBAP_U-RNTIQueryRequest.h>
+#include <osmocom/hnbap/HNBAP_U-RNTIQueryResponse.h>
+#include <osmocom/hnbap/HNBAP_UDP-Port-Number.h>
+#include <osmocom/hnbap/HNBAP_UE-Capabilities.h>
+#include <osmocom/hnbap/HNBAP_UE-Identity.h>
+#include <osmocom/hnbap/HNBAP_UEDe-Register.h>
+#include <osmocom/hnbap/HNBAP_UERegisterAccept.h>
+#include <osmocom/hnbap/HNBAP_UERegisterReject.h>
+#include <osmocom/hnbap/HNBAP_UERegisterRequest.h>
+#include <osmocom/hnbap/HNBAP_URAIdentity.h>
+#include <osmocom/hnbap/HNBAP_URAIdentityList.h>
+#include <osmocom/hnbap/HNBAP_UTRANCellID.h>
+#include <osmocom/hnbap/HNBAP_UnknownU-RNTIIndication.h>
+#include <osmocom/hnbap/HNBAP_UnsuccessfulOutcome.h>
+#include <osmocom/hnbap/HNBAP_Update-cause.h>
#if (ASN1C_ENVIRONMENT_VERSION < 924)
# error "You are compiling with the wrong version of ASN1C"
@@ -137,23 +129,23 @@
extern int asn1_xer_print;
struct msgb *hnbap_generate_initiating_message(
- e_ProcedureCode procedureCode,
- Criticality_t criticality,
+ e_HNBAP_ProcedureCode procedureCode,
+ HNBAP_Criticality_t criticality,
asn_TYPE_descriptor_t * td, void *sptr);
struct msgb *hnbap_generate_successful_outcome(
- e_ProcedureCode procedureCode,
- Criticality_t criticality,
+ e_HNBAP_ProcedureCode procedureCode,
+ HNBAP_Criticality_t criticality,
asn_TYPE_descriptor_t * td,
void *sptr);
struct msgb *hnbap_generate_unsuccessful_outcome(
- e_ProcedureCode procedureCode,
- Criticality_t criticality,
+ e_HNBAP_ProcedureCode procedureCode,
+ HNBAP_Criticality_t criticality,
asn_TYPE_descriptor_t * td,
void *sptr);
-IE_t *hnbap_new_ie(ProtocolIE_ID_t id, Criticality_t criticality,
+HNBAP_IE_t *hnbap_new_ie(HNBAP_ProtocolIE_ID_t id, HNBAP_Criticality_t criticality,
asn_TYPE_descriptor_t *type, void *sptr);
-char *hnbap_cause_str(Cause_t *cause);
+char *hnbap_cause_str(HNBAP_Cause_t *cause);
diff --git a/src/Makefile.am b/src/Makefile.am
index c1508ad..6a8e7f4 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -7,7 +7,7 @@ BUILT_SOURCES = hnbap_decoder.c hnbap_encoder.c rua_decoder.c rua_encoder.c sabp
gen_hnbap.stamp gen_rua.stamp gen_ranap.stamp gen_sabp.stamp
gen_hnbap.stamp: $(ASN1_ROOT)/hnbap/HNBAP-PDU-Contents.asn $(ASN1TOSTRUCT)
- $(ASN1TOSTRUCT) -f $<
+ $(ASN1TOSTRUCT) -p HNBAP_ -f $<
# We also need to replace the include in the newly generated .c files:
sed -i 's,^#include "hnbap_ies_defs.h",#include <osmocom/hnbap/hnbap_ies_defs.h>,' hnbap_encoder.c hnbap_decoder.c
sed -i 's,^#include "hnbap_common.h",#include <osmocom/hnbap/hnbap_common.h>,' hnbap_encoder.c hnbap_decoder.c hnbap_ies_defs.h
diff --git a/src/hnbap/AccessResult.c b/src/hnbap/AccessResult.c
deleted file mode 100644
index 0e69c87..0000000
--- a/src/hnbap/AccessResult.c
+++ /dev/null
@@ -1,168 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#include <osmocom/hnbap/AccessResult.h>
-
-int
-AccessResult_constraint(asn_TYPE_descriptor_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
-AccessResult_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->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;
- td->aper_decoder = asn_DEF_NativeEnumerated.aper_decoder;
- td->aper_encoder = asn_DEF_NativeEnumerated.aper_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
-AccessResult_free(asn_TYPE_descriptor_t *td,
- void *struct_ptr, int contents_only) {
- AccessResult_1_inherit_TYPE_descriptor(td);
- td->free_struct(td, struct_ptr, contents_only);
-}
-
-int
-AccessResult_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
- int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- AccessResult_1_inherit_TYPE_descriptor(td);
- return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
-}
-
-asn_dec_rval_t
-AccessResult_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const void *bufptr, size_t size, int tag_mode) {
- AccessResult_1_inherit_TYPE_descriptor(td);
- return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
-}
-
-asn_enc_rval_t
-AccessResult_encode_der(asn_TYPE_descriptor_t *td,
- void *structure, int tag_mode, ber_tlv_tag_t tag,
- asn_app_consume_bytes_f *cb, void *app_key) {
- AccessResult_1_inherit_TYPE_descriptor(td);
- return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
-}
-
-asn_dec_rval_t
-AccessResult_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- AccessResult_1_inherit_TYPE_descriptor(td);
- return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
-}
-
-asn_enc_rval_t
-AccessResult_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
- int ilevel, enum xer_encoder_flags_e flags,
- asn_app_consume_bytes_f *cb, void *app_key) {
- AccessResult_1_inherit_TYPE_descriptor(td);
- return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
-}
-
-asn_dec_rval_t
-AccessResult_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- AccessResult_1_inherit_TYPE_descriptor(td);
- return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
-}
-
-asn_enc_rval_t
-AccessResult_encode_uper(asn_TYPE_descriptor_t *td,
- asn_per_constraints_t *constraints,
- void *structure, asn_per_outp_t *per_out) {
- AccessResult_1_inherit_TYPE_descriptor(td);
- return td->uper_encoder(td, constraints, structure, per_out);
-}
-
-asn_enc_rval_t
-AccessResult_encode_aper(asn_TYPE_descriptor_t *td,
- asn_per_constraints_t *constraints,
- void *structure, asn_per_outp_t *per_out) {
- AccessResult_1_inherit_TYPE_descriptor(td);
- return td->aper_encoder(td, constraints, structure, per_out);
-}
-
-asn_dec_rval_t
-AccessResult_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- AccessResult_1_inherit_TYPE_descriptor(td);
- return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
-}
-
-static asn_per_constraints_t asn_PER_type_AccessResult_constr_1 GCC_NOTUSED = {
- { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0l, 1l } /* (0..1,...) */,
- { APC_UNCONSTRAINED, -1, -1, 0, 0 },
- 0, 0 /* No PER value map */
-};
-static const asn_INTEGER_enum_map_t asn_MAP_AccessResult_value2enum_1[] = {
- { 0, 7, "allowed" },
- { 1, 10, "notAllowed" }
- /* This list is extensible */
-};
-static const unsigned int asn_MAP_AccessResult_enum2value_1[] = {
- 0, /* allowed(0) */
- 1 /* notAllowed(1) */
- /* This list is extensible */
-};
-static const asn_INTEGER_specifics_t asn_SPC_AccessResult_specs_1 = {
- asn_MAP_AccessResult_value2enum_1, /* "tag" => N; sorted by tag */
- asn_MAP_AccessResult_enum2value_1, /* N => "tag"; sorted by N */
- 2, /* Number of elements in the maps */
- 3, /* Extensions before this member */
- 1, /* Strict enumeration */
- 0, /* Native long size */
- 0
-};
-static const ber_tlv_tag_t asn_DEF_AccessResult_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
-};
-asn_TYPE_descriptor_t asn_DEF_AccessResult = {
- "AccessResult",
- "AccessResult",
- AccessResult_free,
- AccessResult_print,
- AccessResult_constraint,
- AccessResult_decode_ber,
- AccessResult_encode_der,
- AccessResult_decode_xer,
- AccessResult_encode_xer,
- AccessResult_decode_uper,
- AccessResult_encode_uper,
- AccessResult_decode_aper,
- AccessResult_encode_aper,
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_AccessResult_tags_1,
- sizeof(asn_DEF_AccessResult_tags_1)
- /sizeof(asn_DEF_AccessResult_tags_1[0]), /* 1 */
- asn_DEF_AccessResult_tags_1, /* Same as above */
- sizeof(asn_DEF_AccessResult_tags_1)
- /sizeof(asn_DEF_AccessResult_tags_1[0]), /* 1 */
- &asn_PER_type_AccessResult_constr_1,
- 0, 0, /* Defined elsewhere */
- &asn_SPC_AccessResult_specs_1 /* Additional specs */
-};
-
diff --git a/src/hnbap/AdditionalNeighbourInfoList.c b/src/hnbap/AdditionalNeighbourInfoList.c
deleted file mode 100644
index 57e8d5b..0000000
--- a/src/hnbap/AdditionalNeighbourInfoList.c
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#include <osmocom/hnbap/AdditionalNeighbourInfoList.h>
-
-static asn_per_constraints_t asn_PER_type_AdditionalNeighbourInfoList_constr_1 GCC_NOTUSED = {
- { APC_UNCONSTRAINED, -1, -1, 0, 0 },
- { APC_CONSTRAINED, 7, 7, 1l, 128l } /* (SIZE(1..128)) */,
- 0, 0 /* No PER value map */
-};
-static asn_TYPE_member_t asn_MBR_AdditionalNeighbourInfoList_1[] = {
- { ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
- 0,
- &asn_DEF_HNBConfigInfo,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- ""
- },
-};
-static const ber_tlv_tag_t asn_DEF_AdditionalNeighbourInfoList_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_SET_OF_specifics_t asn_SPC_AdditionalNeighbourInfoList_specs_1 = {
- sizeof(struct AdditionalNeighbourInfoList),
- offsetof(struct AdditionalNeighbourInfoList, _asn_ctx),
- 0, /* XER encoding is XMLDelimitedItemList */
-};
-asn_TYPE_descriptor_t asn_DEF_AdditionalNeighbourInfoList = {
- "AdditionalNeighbourInfoList",
- "AdditionalNeighbourInfoList",
- 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,
- SEQUENCE_OF_decode_aper,
- SEQUENCE_OF_encode_aper,
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_AdditionalNeighbourInfoList_tags_1,
- sizeof(asn_DEF_AdditionalNeighbourInfoList_tags_1)
- /sizeof(asn_DEF_AdditionalNeighbourInfoList_tags_1[0]), /* 1 */
- asn_DEF_AdditionalNeighbourInfoList_tags_1, /* Same as above */
- sizeof(asn_DEF_AdditionalNeighbourInfoList_tags_1)
- /sizeof(asn_DEF_AdditionalNeighbourInfoList_tags_1[0]), /* 1 */
- &asn_PER_type_AdditionalNeighbourInfoList_constr_1,
- asn_MBR_AdditionalNeighbourInfoList_1,
- 1, /* Single element */
- &asn_SPC_AdditionalNeighbourInfoList_specs_1 /* Additional specs */
-};
-
diff --git a/src/hnbap/BindingID.c b/src/hnbap/BindingID.c
deleted file mode 100644
index 78bd570..0000000
--- a/src/hnbap/BindingID.c
+++ /dev/null
@@ -1,167 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#include <osmocom/hnbap/BindingID.h>
-
-int
-BindingID_constraint(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 >= 1l && size <= 4l)) {
- /* 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 OCTET_STRING,
- * so here we adjust the DEF accordingly.
- */
-static void
-BindingID_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->check_constraints = asn_DEF_OCTET_STRING.check_constraints;
- 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;
- td->aper_decoder = asn_DEF_OCTET_STRING.aper_decoder;
- td->aper_encoder = asn_DEF_OCTET_STRING.aper_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
-BindingID_free(asn_TYPE_descriptor_t *td,
- void *struct_ptr, int contents_only) {
- BindingID_1_inherit_TYPE_descriptor(td);
- td->free_struct(td, struct_ptr, contents_only);
-}
-
-int
-BindingID_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
- int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- BindingID_1_inherit_TYPE_descriptor(td);
- return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
-}
-
-asn_dec_rval_t
-BindingID_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const void *bufptr, size_t size, int tag_mode) {
- BindingID_1_inherit_TYPE_descriptor(td);
- return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
-}
-
-asn_enc_rval_t
-BindingID_encode_der(asn_TYPE_descriptor_t *td,
- void *structure, int tag_mode, ber_tlv_tag_t tag,
- asn_app_consume_bytes_f *cb, void *app_key) {
- BindingID_1_inherit_TYPE_descriptor(td);
- return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
-}
-
-asn_dec_rval_t
-BindingID_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- BindingID_1_inherit_TYPE_descriptor(td);
- return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
-}
-
-asn_enc_rval_t
-BindingID_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
- int ilevel, enum xer_encoder_flags_e flags,
- asn_app_consume_bytes_f *cb, void *app_key) {
- BindingID_1_inherit_TYPE_descriptor(td);
- return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
-}
-
-asn_dec_rval_t
-BindingID_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- BindingID_1_inherit_TYPE_descriptor(td);
- return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
-}
-
-asn_enc_rval_t
-BindingID_encode_uper(asn_TYPE_descriptor_t *td,
- asn_per_constraints_t *constraints,
- void *structure, asn_per_outp_t *per_out) {
- BindingID_1_inherit_TYPE_descriptor(td);
- return td->uper_encoder(td, constraints, structure, per_out);
-}
-
-asn_enc_rval_t
-BindingID_encode_aper(asn_TYPE_descriptor_t *td,
- asn_per_constraints_t *constraints,
- void *structure, asn_per_outp_t *per_out) {
- BindingID_1_inherit_TYPE_descriptor(td);
- return td->aper_encoder(td, constraints, structure, per_out);
-}
-
-asn_dec_rval_t
-BindingID_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- BindingID_1_inherit_TYPE_descriptor(td);
- return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
-}
-
-static asn_per_constraints_t asn_PER_type_BindingID_constr_1 GCC_NOTUSED = {
- { APC_UNCONSTRAINED, -1, -1, 0, 0 },
- { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 1l, 4l } /* (SIZE(1..4,...)) */,
- 0, 0 /* No PER value map */
-};
-static const ber_tlv_tag_t asn_DEF_BindingID_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
-};
-asn_TYPE_descriptor_t asn_DEF_BindingID = {
- "BindingID",
- "BindingID",
- BindingID_free,
- BindingID_print,
- BindingID_constraint,
- BindingID_decode_ber,
- BindingID_encode_der,
- BindingID_decode_xer,
- BindingID_encode_xer,
- BindingID_decode_uper,
- BindingID_encode_uper,
- BindingID_decode_aper,
- BindingID_encode_aper,
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_BindingID_tags_1,
- sizeof(asn_DEF_BindingID_tags_1)
- /sizeof(asn_DEF_BindingID_tags_1[0]), /* 1 */
- asn_DEF_BindingID_tags_1, /* Same as above */
- sizeof(asn_DEF_BindingID_tags_1)
- /sizeof(asn_DEF_BindingID_tags_1[0]), /* 1 */
- &asn_PER_type_BindingID_constr_1,
- 0, 0, /* No members */
- 0 /* No specifics */
-};
-
diff --git a/src/hnbap/GeographicalLocation.c b/src/hnbap/GeographicalLocation.c
deleted file mode 100644
index 480682d..0000000
--- a/src/hnbap/GeographicalLocation.c
+++ /dev/null
@@ -1,84 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#include <osmocom/hnbap/GeographicalLocation.h>
-
-static asn_TYPE_member_t asn_MBR_GeographicalLocation_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct GeographicalLocation, geographicalCoordinates),
- (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_GeographicalCoordinates,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- "geographicalCoordinates"
- },
- { ATF_NOFLAGS, 0, offsetof(struct GeographicalLocation, altitudeAndDirection),
- (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_AltitudeAndDirection,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- "altitudeAndDirection"
- },
- { ATF_POINTER, 1, offsetof(struct GeographicalLocation, iE_Extensions),
- (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_IE_Extensions,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- "iE-Extensions"
- },
-};
-static const int asn_MAP_GeographicalLocation_oms_1[] = { 2 };
-static const ber_tlv_tag_t asn_DEF_GeographicalLocation_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static const asn_TYPE_tag2member_t asn_MAP_GeographicalLocation_tag2el_1[] = {
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* geographicalCoordinates */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* altitudeAndDirection */
- { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_GeographicalLocation_specs_1 = {
- sizeof(struct GeographicalLocation),
- offsetof(struct GeographicalLocation, _asn_ctx),
- asn_MAP_GeographicalLocation_tag2el_1,
- 3, /* Count of tags in the map */
- asn_MAP_GeographicalLocation_oms_1, /* Optional members */
- 1, 0, /* Root/Additions */
- 2, /* Start extensions */
- 4 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_GeographicalLocation = {
- "GeographicalLocation",
- "GeographicalLocation",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- SEQUENCE_decode_uper,
- SEQUENCE_encode_uper,
- SEQUENCE_decode_aper,
- SEQUENCE_encode_aper,
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_GeographicalLocation_tags_1,
- sizeof(asn_DEF_GeographicalLocation_tags_1)
- /sizeof(asn_DEF_GeographicalLocation_tags_1[0]), /* 1 */
- asn_DEF_GeographicalLocation_tags_1, /* Same as above */
- sizeof(asn_DEF_GeographicalLocation_tags_1)
- /sizeof(asn_DEF_GeographicalLocation_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_GeographicalLocation_1,
- 3, /* Elements count */
- &asn_SPC_GeographicalLocation_specs_1 /* Additional specs */
-};
-
diff --git a/src/hnbap/HNB-Cell-Identifier.c b/src/hnbap/HNB-Cell-Identifier.c
deleted file mode 100644
index d78333d..0000000
--- a/src/hnbap/HNB-Cell-Identifier.c
+++ /dev/null
@@ -1,84 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#include <osmocom/hnbap/HNB-Cell-Identifier.h>
-
-static asn_TYPE_member_t asn_MBR_HNB_Cell_Identifier_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct HNB_Cell_Identifier, pLMNidentity),
- (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_PLMNidentity,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- "pLMNidentity"
- },
- { ATF_NOFLAGS, 0, offsetof(struct HNB_Cell_Identifier, 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"
- },
- { ATF_POINTER, 1, offsetof(struct HNB_Cell_Identifier, iE_Extensions),
- (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_IE_Extensions,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- "iE-Extensions"
- },
-};
-static const int asn_MAP_HNB_Cell_Identifier_oms_1[] = { 2 };
-static const ber_tlv_tag_t asn_DEF_HNB_Cell_Identifier_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static const asn_TYPE_tag2member_t asn_MAP_HNB_Cell_Identifier_tag2el_1[] = {
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pLMNidentity */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* cellIdentity */
- { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_HNB_Cell_Identifier_specs_1 = {
- sizeof(struct HNB_Cell_Identifier),
- offsetof(struct HNB_Cell_Identifier, _asn_ctx),
- asn_MAP_HNB_Cell_Identifier_tag2el_1,
- 3, /* Count of tags in the map */
- asn_MAP_HNB_Cell_Identifier_oms_1, /* Optional members */
- 1, 0, /* Root/Additions */
- 2, /* Start extensions */
- 4 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_HNB_Cell_Identifier = {
- "HNB-Cell-Identifier",
- "HNB-Cell-Identifier",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- SEQUENCE_decode_uper,
- SEQUENCE_encode_uper,
- SEQUENCE_decode_aper,
- SEQUENCE_encode_aper,
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_HNB_Cell_Identifier_tags_1,
- sizeof(asn_DEF_HNB_Cell_Identifier_tags_1)
- /sizeof(asn_DEF_HNB_Cell_Identifier_tags_1[0]), /* 1 */
- asn_DEF_HNB_Cell_Identifier_tags_1, /* Same as above */
- sizeof(asn_DEF_HNB_Cell_Identifier_tags_1)
- /sizeof(asn_DEF_HNB_Cell_Identifier_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_HNB_Cell_Identifier_1,
- 3, /* Elements count */
- &asn_SPC_HNB_Cell_Identifier_specs_1 /* Additional specs */
-};
-
diff --git a/src/hnbap/HNB-Identity.c b/src/hnbap/HNB-Identity.c
deleted file mode 100644
index 1f00199..0000000
--- a/src/hnbap/HNB-Identity.c
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#include <osmocom/hnbap/HNB-Identity.h>
-
-static asn_TYPE_member_t asn_MBR_HNB_Identity_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct HNB_Identity, hNB_Identity_Info),
- (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_HNB_Identity_Info,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- "hNB-Identity-Info"
- },
- { ATF_POINTER, 1, offsetof(struct HNB_Identity, iE_Extensions),
- (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_IE_Extensions,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- "iE-Extensions"
- },
-};
-static const int asn_MAP_HNB_Identity_oms_1[] = { 1 };
-static const ber_tlv_tag_t asn_DEF_HNB_Identity_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static const asn_TYPE_tag2member_t asn_MAP_HNB_Identity_tag2el_1[] = {
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* hNB-Identity-Info */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* iE-Extensions */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_HNB_Identity_specs_1 = {
- sizeof(struct HNB_Identity),
- offsetof(struct HNB_Identity, _asn_ctx),
- asn_MAP_HNB_Identity_tag2el_1,
- 2, /* Count of tags in the map */
- asn_MAP_HNB_Identity_oms_1, /* Optional members */
- 1, 0, /* Root/Additions */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_HNB_Identity = {
- "HNB-Identity",
- "HNB-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,
- SEQUENCE_decode_aper,
- SEQUENCE_encode_aper,
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_HNB_Identity_tags_1,
- sizeof(asn_DEF_HNB_Identity_tags_1)
- /sizeof(asn_DEF_HNB_Identity_tags_1[0]), /* 1 */
- asn_DEF_HNB_Identity_tags_1, /* Same as above */
- sizeof(asn_DEF_HNB_Identity_tags_1)
- /sizeof(asn_DEF_HNB_Identity_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_HNB_Identity_1,
- 2, /* Elements count */
- &asn_SPC_HNB_Identity_specs_1 /* Additional specs */
-};
-
diff --git a/src/hnbap/HNB-Location-Information.c b/src/hnbap/HNB-Location-Information.c
deleted file mode 100644
index dcc2166..0000000
--- a/src/hnbap/HNB-Location-Information.c
+++ /dev/null
@@ -1,84 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#include <osmocom/hnbap/HNB-Location-Information.h>
-
-static asn_TYPE_member_t asn_MBR_HNB_Location_Information_1[] = {
- { ATF_POINTER, 3, offsetof(struct HNB_Location_Information, macroCoverageInfo),
- (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_MacroCoverageInformation,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- "macroCoverageInfo"
- },
- { ATF_POINTER, 2, offsetof(struct HNB_Location_Information, geographicalCoordinates),
- (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_GeographicalLocation,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- "geographicalCoordinates"
- },
- { ATF_POINTER, 1, offsetof(struct HNB_Location_Information, iE_Extensions),
- (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_IE_Extensions,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- "iE-Extensions"
- },
-};
-static const int asn_MAP_HNB_Location_Information_oms_1[] = { 0, 1, 2 };
-static const ber_tlv_tag_t asn_DEF_HNB_Location_Information_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static const asn_TYPE_tag2member_t asn_MAP_HNB_Location_Information_tag2el_1[] = {
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* macroCoverageInfo */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* geographicalCoordinates */
- { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_HNB_Location_Information_specs_1 = {
- sizeof(struct HNB_Location_Information),
- offsetof(struct HNB_Location_Information, _asn_ctx),
- asn_MAP_HNB_Location_Information_tag2el_1,
- 3, /* Count of tags in the map */
- asn_MAP_HNB_Location_Information_oms_1, /* Optional members */
- 3, 0, /* Root/Additions */
- 2, /* Start extensions */
- 4 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_HNB_Location_Information = {
- "HNB-Location-Information",
- "HNB-Location-Information",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- SEQUENCE_decode_uper,
- SEQUENCE_encode_uper,
- SEQUENCE_decode_aper,
- SEQUENCE_encode_aper,
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_HNB_Location_Information_tags_1,
- sizeof(asn_DEF_HNB_Location_Information_tags_1)
- /sizeof(asn_DEF_HNB_Location_Information_tags_1[0]), /* 1 */
- asn_DEF_HNB_Location_Information_tags_1, /* Same as above */
- sizeof(asn_DEF_HNB_Location_Information_tags_1)
- /sizeof(asn_DEF_HNB_Location_Information_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_HNB_Location_Information_1,
- 3, /* Elements count */
- &asn_SPC_HNB_Location_Information_specs_1 /* Additional specs */
-};
-
diff --git a/src/hnbap/Access-stratum-release-indicator.c b/src/hnbap/HNBAP_Access-stratum-release-indicator.c
index 880a12d..b94711d 100644
--- a/src/hnbap/Access-stratum-release-indicator.c
+++ b/src/hnbap/HNBAP_Access-stratum-release-indicator.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/Access-stratum-release-indicator.h>
+#include <osmocom/hnbap/HNBAP_Access-stratum-release-indicator.h>
int
-Access_stratum_release_indicator_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_Access_stratum_release_indicator_constraint(asn_TYPE_descriptor_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;
@@ -20,7 +20,7 @@ Access_stratum_release_indicator_constraint(asn_TYPE_descriptor_t *td, const voi
* so here we adjust the DEF accordingly.
*/
static void
-Access_stratum_release_indicator_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_Access_stratum_release_indicator_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->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
@@ -40,85 +40,85 @@ Access_stratum_release_indicator_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t
}
void
-Access_stratum_release_indicator_free(asn_TYPE_descriptor_t *td,
+HNBAP_Access_stratum_release_indicator_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- Access_stratum_release_indicator_1_inherit_TYPE_descriptor(td);
+ HNBAP_Access_stratum_release_indicator_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-Access_stratum_release_indicator_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_Access_stratum_release_indicator_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- Access_stratum_release_indicator_1_inherit_TYPE_descriptor(td);
+ HNBAP_Access_stratum_release_indicator_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-Access_stratum_release_indicator_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Access_stratum_release_indicator_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- Access_stratum_release_indicator_1_inherit_TYPE_descriptor(td);
+ HNBAP_Access_stratum_release_indicator_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-Access_stratum_release_indicator_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_Access_stratum_release_indicator_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- Access_stratum_release_indicator_1_inherit_TYPE_descriptor(td);
+ HNBAP_Access_stratum_release_indicator_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-Access_stratum_release_indicator_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Access_stratum_release_indicator_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- Access_stratum_release_indicator_1_inherit_TYPE_descriptor(td);
+ HNBAP_Access_stratum_release_indicator_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-Access_stratum_release_indicator_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_Access_stratum_release_indicator_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- Access_stratum_release_indicator_1_inherit_TYPE_descriptor(td);
+ HNBAP_Access_stratum_release_indicator_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-Access_stratum_release_indicator_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Access_stratum_release_indicator_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- Access_stratum_release_indicator_1_inherit_TYPE_descriptor(td);
+ HNBAP_Access_stratum_release_indicator_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-Access_stratum_release_indicator_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_Access_stratum_release_indicator_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- Access_stratum_release_indicator_1_inherit_TYPE_descriptor(td);
+ HNBAP_Access_stratum_release_indicator_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-Access_stratum_release_indicator_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_Access_stratum_release_indicator_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- Access_stratum_release_indicator_1_inherit_TYPE_descriptor(td);
+ HNBAP_Access_stratum_release_indicator_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-Access_stratum_release_indicator_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Access_stratum_release_indicator_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- Access_stratum_release_indicator_1_inherit_TYPE_descriptor(td);
+ HNBAP_Access_stratum_release_indicator_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_Access_stratum_release_indicator_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_Access_stratum_release_indicator_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0l, 5l } /* (0..5,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static const asn_INTEGER_enum_map_t asn_MAP_Access_stratum_release_indicator_value2enum_1[] = {
+static const asn_INTEGER_enum_map_t asn_MAP_HNBAP_Access_stratum_release_indicator_value2enum_1[] = {
{ 0, 3, "r99" },
{ 1, 5, "rel-4" },
{ 2, 5, "rel-5" },
@@ -127,7 +127,7 @@ static const asn_INTEGER_enum_map_t asn_MAP_Access_stratum_release_indicator_val
{ 5, 16, "rel-8-and-beyond" }
/* This list is extensible */
};
-static const unsigned int asn_MAP_Access_stratum_release_indicator_enum2value_1[] = {
+static const unsigned int asn_MAP_HNBAP_Access_stratum_release_indicator_enum2value_1[] = {
0, /* r99(0) */
1, /* rel-4(1) */
2, /* rel-5(2) */
@@ -136,41 +136,41 @@ static const unsigned int asn_MAP_Access_stratum_release_indicator_enum2value_1[
5 /* rel-8-and-beyond(5) */
/* This list is extensible */
};
-static const asn_INTEGER_specifics_t asn_SPC_Access_stratum_release_indicator_specs_1 = {
- asn_MAP_Access_stratum_release_indicator_value2enum_1, /* "tag" => N; sorted by tag */
- asn_MAP_Access_stratum_release_indicator_enum2value_1, /* N => "tag"; sorted by N */
+static const asn_INTEGER_specifics_t asn_SPC_HNBAP_Access_stratum_release_indicator_specs_1 = {
+ asn_MAP_HNBAP_Access_stratum_release_indicator_value2enum_1, /* "tag" => N; sorted by tag */
+ asn_MAP_HNBAP_Access_stratum_release_indicator_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 const ber_tlv_tag_t asn_DEF_Access_stratum_release_indicator_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_Access_stratum_release_indicator_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_Access_stratum_release_indicator = {
- "Access-stratum-release-indicator",
- "Access-stratum-release-indicator",
- Access_stratum_release_indicator_free,
- Access_stratum_release_indicator_print,
- Access_stratum_release_indicator_constraint,
- Access_stratum_release_indicator_decode_ber,
- Access_stratum_release_indicator_encode_der,
- Access_stratum_release_indicator_decode_xer,
- Access_stratum_release_indicator_encode_xer,
- Access_stratum_release_indicator_decode_uper,
- Access_stratum_release_indicator_encode_uper,
- Access_stratum_release_indicator_decode_aper,
- Access_stratum_release_indicator_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_Access_stratum_release_indicator = {
+ "HNBAP_Access-stratum-release-indicator",
+ "HNBAP_Access-stratum-release-indicator",
+ HNBAP_Access_stratum_release_indicator_free,
+ HNBAP_Access_stratum_release_indicator_print,
+ HNBAP_Access_stratum_release_indicator_constraint,
+ HNBAP_Access_stratum_release_indicator_decode_ber,
+ HNBAP_Access_stratum_release_indicator_encode_der,
+ HNBAP_Access_stratum_release_indicator_decode_xer,
+ HNBAP_Access_stratum_release_indicator_encode_xer,
+ HNBAP_Access_stratum_release_indicator_decode_uper,
+ HNBAP_Access_stratum_release_indicator_encode_uper,
+ HNBAP_Access_stratum_release_indicator_decode_aper,
+ HNBAP_Access_stratum_release_indicator_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_Access_stratum_release_indicator_tags_1,
- sizeof(asn_DEF_Access_stratum_release_indicator_tags_1)
- /sizeof(asn_DEF_Access_stratum_release_indicator_tags_1[0]), /* 1 */
- asn_DEF_Access_stratum_release_indicator_tags_1, /* Same as above */
- sizeof(asn_DEF_Access_stratum_release_indicator_tags_1)
- /sizeof(asn_DEF_Access_stratum_release_indicator_tags_1[0]), /* 1 */
- &asn_PER_type_Access_stratum_release_indicator_constr_1,
+ asn_DEF_HNBAP_Access_stratum_release_indicator_tags_1,
+ sizeof(asn_DEF_HNBAP_Access_stratum_release_indicator_tags_1)
+ /sizeof(asn_DEF_HNBAP_Access_stratum_release_indicator_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_Access_stratum_release_indicator_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_Access_stratum_release_indicator_tags_1)
+ /sizeof(asn_DEF_HNBAP_Access_stratum_release_indicator_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_Access_stratum_release_indicator_constr_1,
0, 0, /* Defined elsewhere */
- &asn_SPC_Access_stratum_release_indicator_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_Access_stratum_release_indicator_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/Registration-Cause.c b/src/hnbap/HNBAP_AccessResult.c
index bb2b269..a8e7ee6 100644
--- a/src/hnbap/Registration-Cause.c
+++ b/src/hnbap/HNBAP_AccessResult.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/Registration-Cause.h>
+#include <osmocom/hnbap/HNBAP_AccessResult.h>
int
-Registration_Cause_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_AccessResult_constraint(asn_TYPE_descriptor_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;
@@ -20,7 +20,7 @@ Registration_Cause_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-Registration_Cause_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_AccessResult_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->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
@@ -40,131 +40,129 @@ Registration_Cause_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-Registration_Cause_free(asn_TYPE_descriptor_t *td,
+HNBAP_AccessResult_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- Registration_Cause_1_inherit_TYPE_descriptor(td);
+ HNBAP_AccessResult_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-Registration_Cause_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_AccessResult_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- Registration_Cause_1_inherit_TYPE_descriptor(td);
+ HNBAP_AccessResult_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-Registration_Cause_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_AccessResult_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- Registration_Cause_1_inherit_TYPE_descriptor(td);
+ HNBAP_AccessResult_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-Registration_Cause_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_AccessResult_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- Registration_Cause_1_inherit_TYPE_descriptor(td);
+ HNBAP_AccessResult_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-Registration_Cause_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_AccessResult_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- Registration_Cause_1_inherit_TYPE_descriptor(td);
+ HNBAP_AccessResult_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-Registration_Cause_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_AccessResult_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- Registration_Cause_1_inherit_TYPE_descriptor(td);
+ HNBAP_AccessResult_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-Registration_Cause_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_AccessResult_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- Registration_Cause_1_inherit_TYPE_descriptor(td);
+ HNBAP_AccessResult_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-Registration_Cause_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_AccessResult_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- Registration_Cause_1_inherit_TYPE_descriptor(td);
+ HNBAP_AccessResult_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-Registration_Cause_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_AccessResult_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- Registration_Cause_1_inherit_TYPE_descriptor(td);
+ HNBAP_AccessResult_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-Registration_Cause_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_AccessResult_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- Registration_Cause_1_inherit_TYPE_descriptor(td);
+ HNBAP_AccessResult_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_Registration_Cause_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_AccessResult_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0l, 1l } /* (0..1,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static const asn_INTEGER_enum_map_t asn_MAP_Registration_Cause_value2enum_1[] = {
- { 0, 14, "emergency-call" },
- { 1, 6, "normal" },
- { 2, 13, "ue-relocation" }
+static const asn_INTEGER_enum_map_t asn_MAP_HNBAP_AccessResult_value2enum_1[] = {
+ { 0, 7, "allowed" },
+ { 1, 10, "notAllowed" }
/* This list is extensible */
};
-static const unsigned int asn_MAP_Registration_Cause_enum2value_1[] = {
- 0, /* emergency-call(0) */
- 1, /* normal(1) */
- 2 /* ue-relocation(2) */
+static const unsigned int asn_MAP_HNBAP_AccessResult_enum2value_1[] = {
+ 0, /* allowed(0) */
+ 1 /* notAllowed(1) */
/* This list is extensible */
};
-static const asn_INTEGER_specifics_t asn_SPC_Registration_Cause_specs_1 = {
- asn_MAP_Registration_Cause_value2enum_1, /* "tag" => N; sorted by tag */
- asn_MAP_Registration_Cause_enum2value_1, /* N => "tag"; sorted by N */
- 3, /* Number of elements in the maps */
+static const asn_INTEGER_specifics_t asn_SPC_HNBAP_AccessResult_specs_1 = {
+ asn_MAP_HNBAP_AccessResult_value2enum_1, /* "tag" => N; sorted by tag */
+ asn_MAP_HNBAP_AccessResult_enum2value_1, /* N => "tag"; sorted by N */
+ 2, /* Number of elements in the maps */
3, /* Extensions before this member */
1, /* Strict enumeration */
0, /* Native long size */
0
};
-static const ber_tlv_tag_t asn_DEF_Registration_Cause_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_AccessResult_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_Registration_Cause = {
- "Registration-Cause",
- "Registration-Cause",
- Registration_Cause_free,
- Registration_Cause_print,
- Registration_Cause_constraint,
- Registration_Cause_decode_ber,
- Registration_Cause_encode_der,
- Registration_Cause_decode_xer,
- Registration_Cause_encode_xer,
- Registration_Cause_decode_uper,
- Registration_Cause_encode_uper,
- Registration_Cause_decode_aper,
- Registration_Cause_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_AccessResult = {
+ "HNBAP_AccessResult",
+ "HNBAP_AccessResult",
+ HNBAP_AccessResult_free,
+ HNBAP_AccessResult_print,
+ HNBAP_AccessResult_constraint,
+ HNBAP_AccessResult_decode_ber,
+ HNBAP_AccessResult_encode_der,
+ HNBAP_AccessResult_decode_xer,
+ HNBAP_AccessResult_encode_xer,
+ HNBAP_AccessResult_decode_uper,
+ HNBAP_AccessResult_encode_uper,
+ HNBAP_AccessResult_decode_aper,
+ HNBAP_AccessResult_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_Registration_Cause_tags_1,
- sizeof(asn_DEF_Registration_Cause_tags_1)
- /sizeof(asn_DEF_Registration_Cause_tags_1[0]), /* 1 */
- asn_DEF_Registration_Cause_tags_1, /* Same as above */
- sizeof(asn_DEF_Registration_Cause_tags_1)
- /sizeof(asn_DEF_Registration_Cause_tags_1[0]), /* 1 */
- &asn_PER_type_Registration_Cause_constr_1,
+ asn_DEF_HNBAP_AccessResult_tags_1,
+ sizeof(asn_DEF_HNBAP_AccessResult_tags_1)
+ /sizeof(asn_DEF_HNBAP_AccessResult_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_AccessResult_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_AccessResult_tags_1)
+ /sizeof(asn_DEF_HNBAP_AccessResult_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_AccessResult_constr_1,
0, 0, /* Defined elsewhere */
- &asn_SPC_Registration_Cause_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_AccessResult_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/HNBAP_AdditionalNeighbourInfoList.c b/src/hnbap/HNBAP_AdditionalNeighbourInfoList.c
new file mode 100644
index 0000000..229f6e8
--- /dev/null
+++ b/src/hnbap/HNBAP_AdditionalNeighbourInfoList.c
@@ -0,0 +1,60 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#include <osmocom/hnbap/HNBAP_AdditionalNeighbourInfoList.h>
+
+static asn_per_constraints_t asn_PER_type_HNBAP_AdditionalNeighbourInfoList_constr_1 GCC_NOTUSED = {
+ { APC_UNCONSTRAINED, -1, -1, 0, 0 },
+ { APC_CONSTRAINED, 7, 7, 1l, 128l } /* (SIZE(1..128)) */,
+ 0, 0 /* No PER value map */
+};
+static asn_TYPE_member_t asn_MBR_HNBAP_AdditionalNeighbourInfoList_1[] = {
+ { ATF_POINTER, 0, 0,
+ -1 /* Ambiguous tag (CHOICE?) */,
+ 0,
+ &asn_DEF_HNBAP_HNBConfigInfo,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ ""
+ },
+};
+static const ber_tlv_tag_t asn_DEF_HNBAP_AdditionalNeighbourInfoList_tags_1[] = {
+ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
+};
+static asn_SET_OF_specifics_t asn_SPC_HNBAP_AdditionalNeighbourInfoList_specs_1 = {
+ sizeof(struct HNBAP_AdditionalNeighbourInfoList),
+ offsetof(struct HNBAP_AdditionalNeighbourInfoList, _asn_ctx),
+ 0, /* XER encoding is XMLDelimitedItemList */
+};
+asn_TYPE_descriptor_t asn_DEF_HNBAP_AdditionalNeighbourInfoList = {
+ "HNBAP_AdditionalNeighbourInfoList",
+ "HNBAP_AdditionalNeighbourInfoList",
+ 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,
+ SEQUENCE_OF_decode_aper,
+ SEQUENCE_OF_encode_aper,
+ 0, /* Use generic outmost tag fetcher */
+ asn_DEF_HNBAP_AdditionalNeighbourInfoList_tags_1,
+ sizeof(asn_DEF_HNBAP_AdditionalNeighbourInfoList_tags_1)
+ /sizeof(asn_DEF_HNBAP_AdditionalNeighbourInfoList_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_AdditionalNeighbourInfoList_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_AdditionalNeighbourInfoList_tags_1)
+ /sizeof(asn_DEF_HNBAP_AdditionalNeighbourInfoList_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_AdditionalNeighbourInfoList_constr_1,
+ asn_MBR_HNBAP_AdditionalNeighbourInfoList_1,
+ 1, /* Single element */
+ &asn_SPC_HNBAP_AdditionalNeighbourInfoList_specs_1 /* Additional specs */
+};
+
diff --git a/src/hnbap/AltitudeAndDirection.c b/src/hnbap/HNBAP_AltitudeAndDirection.c
index c6d0b24..9b5558a 100644
--- a/src/hnbap/AltitudeAndDirection.c
+++ b/src/hnbap/HNBAP_AltitudeAndDirection.c
@@ -5,7 +5,7 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/AltitudeAndDirection.h>
+#include <osmocom/hnbap/HNBAP_AltitudeAndDirection.h>
static int
directionOfAltitude_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
@@ -196,8 +196,8 @@ asn_TYPE_descriptor_t asn_DEF_directionOfAltitude_2 = {
&asn_SPC_directionOfAltitude_specs_2 /* Additional specs */
};
-static asn_TYPE_member_t asn_MBR_AltitudeAndDirection_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct AltitudeAndDirection, directionOfAltitude),
+static asn_TYPE_member_t asn_MBR_HNBAP_AltitudeAndDirection_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_AltitudeAndDirection, directionOfAltitude),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_directionOfAltitude_2,
@@ -206,7 +206,7 @@ static asn_TYPE_member_t asn_MBR_AltitudeAndDirection_1[] = {
0,
"directionOfAltitude"
},
- { ATF_NOFLAGS, 0, offsetof(struct AltitudeAndDirection, altitude),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_AltitudeAndDirection, altitude),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_NativeInteger,
@@ -216,25 +216,25 @@ static asn_TYPE_member_t asn_MBR_AltitudeAndDirection_1[] = {
"altitude"
},
};
-static const ber_tlv_tag_t asn_DEF_AltitudeAndDirection_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_AltitudeAndDirection_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_AltitudeAndDirection_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_AltitudeAndDirection_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* directionOfAltitude */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* altitude */
};
-static asn_SEQUENCE_specifics_t asn_SPC_AltitudeAndDirection_specs_1 = {
- sizeof(struct AltitudeAndDirection),
- offsetof(struct AltitudeAndDirection, _asn_ctx),
- asn_MAP_AltitudeAndDirection_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_AltitudeAndDirection_specs_1 = {
+ sizeof(struct HNBAP_AltitudeAndDirection),
+ offsetof(struct HNBAP_AltitudeAndDirection, _asn_ctx),
+ asn_MAP_HNBAP_AltitudeAndDirection_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_AltitudeAndDirection = {
- "AltitudeAndDirection",
- "AltitudeAndDirection",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_AltitudeAndDirection = {
+ "HNBAP_AltitudeAndDirection",
+ "HNBAP_AltitudeAndDirection",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -247,15 +247,15 @@ asn_TYPE_descriptor_t asn_DEF_AltitudeAndDirection = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_AltitudeAndDirection_tags_1,
- sizeof(asn_DEF_AltitudeAndDirection_tags_1)
- /sizeof(asn_DEF_AltitudeAndDirection_tags_1[0]), /* 1 */
- asn_DEF_AltitudeAndDirection_tags_1, /* Same as above */
- sizeof(asn_DEF_AltitudeAndDirection_tags_1)
- /sizeof(asn_DEF_AltitudeAndDirection_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_AltitudeAndDirection_tags_1,
+ sizeof(asn_DEF_HNBAP_AltitudeAndDirection_tags_1)
+ /sizeof(asn_DEF_HNBAP_AltitudeAndDirection_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_AltitudeAndDirection_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_AltitudeAndDirection_tags_1)
+ /sizeof(asn_DEF_HNBAP_AltitudeAndDirection_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_AltitudeAndDirection_1,
+ asn_MBR_HNBAP_AltitudeAndDirection_1,
2, /* Elements count */
- &asn_SPC_AltitudeAndDirection_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_AltitudeAndDirection_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/BackoffTimer.c b/src/hnbap/HNBAP_BackoffTimer.c
index c40bee8..059b2e5 100644
--- a/src/hnbap/BackoffTimer.c
+++ b/src/hnbap/HNBAP_BackoffTimer.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/BackoffTimer.h>
+#include <osmocom/hnbap/HNBAP_BackoffTimer.h>
int
-BackoffTimer_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_BackoffTimer_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
long value;
@@ -37,7 +37,7 @@ BackoffTimer_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-BackoffTimer_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_BackoffTimer_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->check_constraints = asn_DEF_NativeInteger.check_constraints;
@@ -57,109 +57,109 @@ BackoffTimer_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-BackoffTimer_free(asn_TYPE_descriptor_t *td,
+HNBAP_BackoffTimer_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- BackoffTimer_1_inherit_TYPE_descriptor(td);
+ HNBAP_BackoffTimer_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-BackoffTimer_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_BackoffTimer_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- BackoffTimer_1_inherit_TYPE_descriptor(td);
+ HNBAP_BackoffTimer_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-BackoffTimer_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_BackoffTimer_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- BackoffTimer_1_inherit_TYPE_descriptor(td);
+ HNBAP_BackoffTimer_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-BackoffTimer_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_BackoffTimer_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- BackoffTimer_1_inherit_TYPE_descriptor(td);
+ HNBAP_BackoffTimer_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-BackoffTimer_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_BackoffTimer_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- BackoffTimer_1_inherit_TYPE_descriptor(td);
+ HNBAP_BackoffTimer_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-BackoffTimer_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_BackoffTimer_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- BackoffTimer_1_inherit_TYPE_descriptor(td);
+ HNBAP_BackoffTimer_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-BackoffTimer_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_BackoffTimer_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- BackoffTimer_1_inherit_TYPE_descriptor(td);
+ HNBAP_BackoffTimer_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-BackoffTimer_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_BackoffTimer_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- BackoffTimer_1_inherit_TYPE_descriptor(td);
+ HNBAP_BackoffTimer_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-BackoffTimer_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_BackoffTimer_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- BackoffTimer_1_inherit_TYPE_descriptor(td);
+ HNBAP_BackoffTimer_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-BackoffTimer_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_BackoffTimer_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- BackoffTimer_1_inherit_TYPE_descriptor(td);
+ HNBAP_BackoffTimer_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_BackoffTimer_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_BackoffTimer_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED, 12, 12, 0l, 3600l } /* (0..3600) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_BackoffTimer_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_BackoffTimer_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_BackoffTimer = {
- "BackoffTimer",
- "BackoffTimer",
- BackoffTimer_free,
- BackoffTimer_print,
- BackoffTimer_constraint,
- BackoffTimer_decode_ber,
- BackoffTimer_encode_der,
- BackoffTimer_decode_xer,
- BackoffTimer_encode_xer,
- BackoffTimer_decode_uper,
- BackoffTimer_encode_uper,
- BackoffTimer_decode_aper,
- BackoffTimer_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_BackoffTimer = {
+ "HNBAP_BackoffTimer",
+ "HNBAP_BackoffTimer",
+ HNBAP_BackoffTimer_free,
+ HNBAP_BackoffTimer_print,
+ HNBAP_BackoffTimer_constraint,
+ HNBAP_BackoffTimer_decode_ber,
+ HNBAP_BackoffTimer_encode_der,
+ HNBAP_BackoffTimer_decode_xer,
+ HNBAP_BackoffTimer_encode_xer,
+ HNBAP_BackoffTimer_decode_uper,
+ HNBAP_BackoffTimer_encode_uper,
+ HNBAP_BackoffTimer_decode_aper,
+ HNBAP_BackoffTimer_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_BackoffTimer_tags_1,
- sizeof(asn_DEF_BackoffTimer_tags_1)
- /sizeof(asn_DEF_BackoffTimer_tags_1[0]), /* 1 */
- asn_DEF_BackoffTimer_tags_1, /* Same as above */
- sizeof(asn_DEF_BackoffTimer_tags_1)
- /sizeof(asn_DEF_BackoffTimer_tags_1[0]), /* 1 */
- &asn_PER_type_BackoffTimer_constr_1,
+ asn_DEF_HNBAP_BackoffTimer_tags_1,
+ sizeof(asn_DEF_HNBAP_BackoffTimer_tags_1)
+ /sizeof(asn_DEF_HNBAP_BackoffTimer_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_BackoffTimer_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_BackoffTimer_tags_1)
+ /sizeof(asn_DEF_HNBAP_BackoffTimer_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_BackoffTimer_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/UDP-Port-Number.c b/src/hnbap/HNBAP_BindingID.c
index a8b4948..3635f35 100644
--- a/src/hnbap/UDP-Port-Number.c
+++ b/src/hnbap/HNBAP_BindingID.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/UDP-Port-Number.h>
+#include <osmocom/hnbap/HNBAP_BindingID.h>
int
-UDP_Port_Number_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_BindingID_constraint(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;
@@ -22,7 +22,7 @@ UDP_Port_Number_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
size = st->size;
- if((size == 2l)) {
+ if((size >= 1l && size <= 4l)) {
/* Constraint check succeeded */
return 0;
} else {
@@ -38,7 +38,7 @@ UDP_Port_Number_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-UDP_Port_Number_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_BindingID_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->check_constraints = asn_DEF_OCTET_STRING.check_constraints;
@@ -58,109 +58,109 @@ UDP_Port_Number_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-UDP_Port_Number_free(asn_TYPE_descriptor_t *td,
+HNBAP_BindingID_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- UDP_Port_Number_1_inherit_TYPE_descriptor(td);
+ HNBAP_BindingID_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-UDP_Port_Number_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_BindingID_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- UDP_Port_Number_1_inherit_TYPE_descriptor(td);
+ HNBAP_BindingID_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-UDP_Port_Number_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_BindingID_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- UDP_Port_Number_1_inherit_TYPE_descriptor(td);
+ HNBAP_BindingID_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-UDP_Port_Number_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_BindingID_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- UDP_Port_Number_1_inherit_TYPE_descriptor(td);
+ HNBAP_BindingID_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-UDP_Port_Number_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_BindingID_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- UDP_Port_Number_1_inherit_TYPE_descriptor(td);
+ HNBAP_BindingID_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-UDP_Port_Number_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_BindingID_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- UDP_Port_Number_1_inherit_TYPE_descriptor(td);
+ HNBAP_BindingID_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-UDP_Port_Number_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_BindingID_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- UDP_Port_Number_1_inherit_TYPE_descriptor(td);
+ HNBAP_BindingID_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-UDP_Port_Number_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_BindingID_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- UDP_Port_Number_1_inherit_TYPE_descriptor(td);
+ HNBAP_BindingID_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-UDP_Port_Number_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_BindingID_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- UDP_Port_Number_1_inherit_TYPE_descriptor(td);
+ HNBAP_BindingID_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-UDP_Port_Number_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_BindingID_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- UDP_Port_Number_1_inherit_TYPE_descriptor(td);
+ HNBAP_BindingID_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_UDP_Port_Number_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_BindingID_constr_1 GCC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
- { APC_CONSTRAINED, 0, 0, 2l, 2l } /* (SIZE(2..2)) */,
+ { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 1l, 4l } /* (SIZE(1..4,...)) */,
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_UDP_Port_Number_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_BindingID_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_UDP_Port_Number = {
- "UDP-Port-Number",
- "UDP-Port-Number",
- UDP_Port_Number_free,
- UDP_Port_Number_print,
- UDP_Port_Number_constraint,
- UDP_Port_Number_decode_ber,
- UDP_Port_Number_encode_der,
- UDP_Port_Number_decode_xer,
- UDP_Port_Number_encode_xer,
- UDP_Port_Number_decode_uper,
- UDP_Port_Number_encode_uper,
- UDP_Port_Number_decode_aper,
- UDP_Port_Number_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_BindingID = {
+ "HNBAP_BindingID",
+ "HNBAP_BindingID",
+ HNBAP_BindingID_free,
+ HNBAP_BindingID_print,
+ HNBAP_BindingID_constraint,
+ HNBAP_BindingID_decode_ber,
+ HNBAP_BindingID_encode_der,
+ HNBAP_BindingID_decode_xer,
+ HNBAP_BindingID_encode_xer,
+ HNBAP_BindingID_decode_uper,
+ HNBAP_BindingID_encode_uper,
+ HNBAP_BindingID_decode_aper,
+ HNBAP_BindingID_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_UDP_Port_Number_tags_1,
- sizeof(asn_DEF_UDP_Port_Number_tags_1)
- /sizeof(asn_DEF_UDP_Port_Number_tags_1[0]), /* 1 */
- asn_DEF_UDP_Port_Number_tags_1, /* Same as above */
- sizeof(asn_DEF_UDP_Port_Number_tags_1)
- /sizeof(asn_DEF_UDP_Port_Number_tags_1[0]), /* 1 */
- &asn_PER_type_UDP_Port_Number_constr_1,
+ asn_DEF_HNBAP_BindingID_tags_1,
+ sizeof(asn_DEF_HNBAP_BindingID_tags_1)
+ /sizeof(asn_DEF_HNBAP_BindingID_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_BindingID_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_BindingID_tags_1)
+ /sizeof(asn_DEF_HNBAP_BindingID_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_BindingID_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/HNBAP_CELL-FACHMobilitySupport.c b/src/hnbap/HNBAP_CELL-FACHMobilitySupport.c
new file mode 100644
index 0000000..96d5f30
--- /dev/null
+++ b/src/hnbap/HNBAP_CELL-FACHMobilitySupport.c
@@ -0,0 +1,166 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#include <osmocom/hnbap/HNBAP_CELL-FACHMobilitySupport.h>
+
+int
+HNBAP_CELL_FACHMobilitySupport_constraint(asn_TYPE_descriptor_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
+HNBAP_CELL_FACHMobilitySupport_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->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;
+ td->aper_decoder = asn_DEF_NativeEnumerated.aper_decoder;
+ td->aper_encoder = asn_DEF_NativeEnumerated.aper_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
+HNBAP_CELL_FACHMobilitySupport_free(asn_TYPE_descriptor_t *td,
+ void *struct_ptr, int contents_only) {
+ HNBAP_CELL_FACHMobilitySupport_1_inherit_TYPE_descriptor(td);
+ td->free_struct(td, struct_ptr, contents_only);
+}
+
+int
+HNBAP_CELL_FACHMobilitySupport_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+ int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
+ HNBAP_CELL_FACHMobilitySupport_1_inherit_TYPE_descriptor(td);
+ return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
+}
+
+asn_dec_rval_t
+HNBAP_CELL_FACHMobilitySupport_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+ void **structure, const void *bufptr, size_t size, int tag_mode) {
+ HNBAP_CELL_FACHMobilitySupport_1_inherit_TYPE_descriptor(td);
+ return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
+}
+
+asn_enc_rval_t
+HNBAP_CELL_FACHMobilitySupport_encode_der(asn_TYPE_descriptor_t *td,
+ void *structure, int tag_mode, ber_tlv_tag_t tag,
+ asn_app_consume_bytes_f *cb, void *app_key) {
+ HNBAP_CELL_FACHMobilitySupport_1_inherit_TYPE_descriptor(td);
+ return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
+}
+
+asn_dec_rval_t
+HNBAP_CELL_FACHMobilitySupport_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+ void **structure, const char *opt_mname, const void *bufptr, size_t size) {
+ HNBAP_CELL_FACHMobilitySupport_1_inherit_TYPE_descriptor(td);
+ return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
+}
+
+asn_enc_rval_t
+HNBAP_CELL_FACHMobilitySupport_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+ int ilevel, enum xer_encoder_flags_e flags,
+ asn_app_consume_bytes_f *cb, void *app_key) {
+ HNBAP_CELL_FACHMobilitySupport_1_inherit_TYPE_descriptor(td);
+ return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
+}
+
+asn_dec_rval_t
+HNBAP_CELL_FACHMobilitySupport_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
+ HNBAP_CELL_FACHMobilitySupport_1_inherit_TYPE_descriptor(td);
+ return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
+}
+
+asn_enc_rval_t
+HNBAP_CELL_FACHMobilitySupport_encode_uper(asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints,
+ void *structure, asn_per_outp_t *per_out) {
+ HNBAP_CELL_FACHMobilitySupport_1_inherit_TYPE_descriptor(td);
+ return td->uper_encoder(td, constraints, structure, per_out);
+}
+
+asn_enc_rval_t
+HNBAP_CELL_FACHMobilitySupport_encode_aper(asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints,
+ void *structure, asn_per_outp_t *per_out) {
+ HNBAP_CELL_FACHMobilitySupport_1_inherit_TYPE_descriptor(td);
+ return td->aper_encoder(td, constraints, structure, per_out);
+}
+
+asn_dec_rval_t
+HNBAP_CELL_FACHMobilitySupport_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
+ HNBAP_CELL_FACHMobilitySupport_1_inherit_TYPE_descriptor(td);
+ return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
+}
+
+static asn_per_constraints_t asn_PER_type_HNBAP_CELL_FACHMobilitySupport_constr_1 GCC_NOTUSED = {
+ { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0l, 0l } /* (0..0,...) */,
+ { APC_UNCONSTRAINED, -1, -1, 0, 0 },
+ 0, 0 /* No PER value map */
+};
+static const asn_INTEGER_enum_map_t asn_MAP_HNBAP_CELL_FACHMobilitySupport_value2enum_1[] = {
+ { 0, 9, "supported" }
+ /* This list is extensible */
+};
+static const unsigned int asn_MAP_HNBAP_CELL_FACHMobilitySupport_enum2value_1[] = {
+ 0 /* supported(0) */
+ /* This list is extensible */
+};
+static const asn_INTEGER_specifics_t asn_SPC_HNBAP_CELL_FACHMobilitySupport_specs_1 = {
+ asn_MAP_HNBAP_CELL_FACHMobilitySupport_value2enum_1, /* "tag" => N; sorted by tag */
+ asn_MAP_HNBAP_CELL_FACHMobilitySupport_enum2value_1, /* N => "tag"; sorted by N */
+ 1, /* Number of elements in the maps */
+ 2, /* Extensions before this member */
+ 1, /* Strict enumeration */
+ 0, /* Native long size */
+ 0
+};
+static const ber_tlv_tag_t asn_DEF_HNBAP_CELL_FACHMobilitySupport_tags_1[] = {
+ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
+};
+asn_TYPE_descriptor_t asn_DEF_HNBAP_CELL_FACHMobilitySupport = {
+ "HNBAP_CELL-FACHMobilitySupport",
+ "HNBAP_CELL-FACHMobilitySupport",
+ HNBAP_CELL_FACHMobilitySupport_free,
+ HNBAP_CELL_FACHMobilitySupport_print,
+ HNBAP_CELL_FACHMobilitySupport_constraint,
+ HNBAP_CELL_FACHMobilitySupport_decode_ber,
+ HNBAP_CELL_FACHMobilitySupport_encode_der,
+ HNBAP_CELL_FACHMobilitySupport_decode_xer,
+ HNBAP_CELL_FACHMobilitySupport_encode_xer,
+ HNBAP_CELL_FACHMobilitySupport_decode_uper,
+ HNBAP_CELL_FACHMobilitySupport_encode_uper,
+ HNBAP_CELL_FACHMobilitySupport_decode_aper,
+ HNBAP_CELL_FACHMobilitySupport_encode_aper,
+ 0, /* Use generic outmost tag fetcher */
+ asn_DEF_HNBAP_CELL_FACHMobilitySupport_tags_1,
+ sizeof(asn_DEF_HNBAP_CELL_FACHMobilitySupport_tags_1)
+ /sizeof(asn_DEF_HNBAP_CELL_FACHMobilitySupport_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_CELL_FACHMobilitySupport_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_CELL_FACHMobilitySupport_tags_1)
+ /sizeof(asn_DEF_HNBAP_CELL_FACHMobilitySupport_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_CELL_FACHMobilitySupport_constr_1,
+ 0, 0, /* Defined elsewhere */
+ &asn_SPC_HNBAP_CELL_FACHMobilitySupport_specs_1 /* Additional specs */
+};
+
diff --git a/src/hnbap/CGI.c b/src/hnbap/HNBAP_CGI.c
index 3c7cbbc..06b3732 100644
--- a/src/hnbap/CGI.c
+++ b/src/hnbap/HNBAP_CGI.c
@@ -5,69 +5,69 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/CGI.h>
+#include <osmocom/hnbap/HNBAP_CGI.h>
-static asn_TYPE_member_t asn_MBR_CGI_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct CGI, pLMNidentity),
+static asn_TYPE_member_t asn_MBR_HNBAP_CGI_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_CGI, pLMNidentity),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_PLMNidentity,
+ &asn_DEF_HNBAP_PLMNidentity,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"pLMNidentity"
},
- { ATF_NOFLAGS, 0, offsetof(struct CGI, lAC),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_CGI, lAC),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_LAC,
+ &asn_DEF_HNBAP_LAC,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"lAC"
},
- { ATF_NOFLAGS, 0, offsetof(struct CGI, cI),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_CGI, cI),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_CI,
+ &asn_DEF_HNBAP_CI,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"cI"
},
- { ATF_POINTER, 1, offsetof(struct CGI, iE_Extensions),
+ { ATF_POINTER, 1, offsetof(struct HNBAP_CGI, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_IE_Extensions,
+ &asn_DEF_HNBAP_IE_Extensions,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"iE-Extensions"
},
};
-static const int asn_MAP_CGI_oms_1[] = { 3 };
-static const ber_tlv_tag_t asn_DEF_CGI_tags_1[] = {
+static const int asn_MAP_HNBAP_CGI_oms_1[] = { 3 };
+static const ber_tlv_tag_t asn_DEF_HNBAP_CGI_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_CGI_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_CGI_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pLMNidentity */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* lAC */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* cI */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* iE-Extensions */
};
-static asn_SEQUENCE_specifics_t asn_SPC_CGI_specs_1 = {
- sizeof(struct CGI),
- offsetof(struct CGI, _asn_ctx),
- asn_MAP_CGI_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_CGI_specs_1 = {
+ sizeof(struct HNBAP_CGI),
+ offsetof(struct HNBAP_CGI, _asn_ctx),
+ asn_MAP_HNBAP_CGI_tag2el_1,
4, /* Count of tags in the map */
- asn_MAP_CGI_oms_1, /* Optional members */
+ asn_MAP_HNBAP_CGI_oms_1, /* Optional members */
1, 0, /* Root/Additions */
-1, /* Start extensions */
-1 /* Stop extensions */
};
-asn_TYPE_descriptor_t asn_DEF_CGI = {
- "CGI",
- "CGI",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_CGI = {
+ "HNBAP_CGI",
+ "HNBAP_CGI",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -80,15 +80,15 @@ asn_TYPE_descriptor_t asn_DEF_CGI = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_CGI_tags_1,
- sizeof(asn_DEF_CGI_tags_1)
- /sizeof(asn_DEF_CGI_tags_1[0]), /* 1 */
- asn_DEF_CGI_tags_1, /* Same as above */
- sizeof(asn_DEF_CGI_tags_1)
- /sizeof(asn_DEF_CGI_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_CGI_tags_1,
+ sizeof(asn_DEF_HNBAP_CGI_tags_1)
+ /sizeof(asn_DEF_HNBAP_CGI_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_CGI_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_CGI_tags_1)
+ /sizeof(asn_DEF_HNBAP_CGI_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_CGI_1,
+ asn_MBR_HNBAP_CGI_1,
4, /* Elements count */
- &asn_SPC_CGI_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_CGI_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/SAC.c b/src/hnbap/HNBAP_CI.c
index 3a87a8a..4143b8b 100644
--- a/src/hnbap/SAC.c
+++ b/src/hnbap/HNBAP_CI.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/SAC.h>
+#include <osmocom/hnbap/HNBAP_CI.h>
int
-SAC_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_CI_constraint(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;
@@ -38,7 +38,7 @@ SAC_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-SAC_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_CI_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->check_constraints = asn_DEF_OCTET_STRING.check_constraints;
@@ -58,109 +58,109 @@ SAC_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-SAC_free(asn_TYPE_descriptor_t *td,
+HNBAP_CI_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- SAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_CI_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-SAC_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_CI_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- SAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_CI_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-SAC_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CI_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- SAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_CI_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-SAC_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_CI_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- SAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_CI_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-SAC_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CI_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- SAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_CI_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-SAC_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_CI_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- SAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_CI_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-SAC_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CI_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- SAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_CI_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-SAC_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_CI_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- SAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_CI_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-SAC_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_CI_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- SAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_CI_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-SAC_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CI_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- SAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_CI_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_SAC_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_CI_constr_1 GCC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 2l, 2l } /* (SIZE(2..2)) */,
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_SAC_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_CI_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_SAC = {
- "SAC",
- "SAC",
- SAC_free,
- SAC_print,
- SAC_constraint,
- SAC_decode_ber,
- SAC_encode_der,
- SAC_decode_xer,
- SAC_encode_xer,
- SAC_decode_uper,
- SAC_encode_uper,
- SAC_decode_aper,
- SAC_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_CI = {
+ "HNBAP_CI",
+ "HNBAP_CI",
+ HNBAP_CI_free,
+ HNBAP_CI_print,
+ HNBAP_CI_constraint,
+ HNBAP_CI_decode_ber,
+ HNBAP_CI_encode_der,
+ HNBAP_CI_decode_xer,
+ HNBAP_CI_encode_xer,
+ HNBAP_CI_decode_uper,
+ HNBAP_CI_encode_uper,
+ HNBAP_CI_decode_aper,
+ HNBAP_CI_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_SAC_tags_1,
- sizeof(asn_DEF_SAC_tags_1)
- /sizeof(asn_DEF_SAC_tags_1[0]), /* 1 */
- asn_DEF_SAC_tags_1, /* Same as above */
- sizeof(asn_DEF_SAC_tags_1)
- /sizeof(asn_DEF_SAC_tags_1[0]), /* 1 */
- &asn_PER_type_SAC_constr_1,
+ asn_DEF_HNBAP_CI_tags_1,
+ sizeof(asn_DEF_HNBAP_CI_tags_1)
+ /sizeof(asn_DEF_HNBAP_CI_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_CI_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_CI_tags_1)
+ /sizeof(asn_DEF_HNBAP_CI_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_CI_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/CN-DomainIndicator.c b/src/hnbap/HNBAP_CN-DomainIndicator.c
index 3fe52ee..3d556a2 100644
--- a/src/hnbap/CN-DomainIndicator.c
+++ b/src/hnbap/HNBAP_CN-DomainIndicator.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/CN-DomainIndicator.h>
+#include <osmocom/hnbap/HNBAP_CN-DomainIndicator.h>
int
-CN_DomainIndicator_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_CN_DomainIndicator_constraint(asn_TYPE_descriptor_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;
@@ -20,7 +20,7 @@ CN_DomainIndicator_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-CN_DomainIndicator_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_CN_DomainIndicator_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->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
@@ -40,127 +40,127 @@ CN_DomainIndicator_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-CN_DomainIndicator_free(asn_TYPE_descriptor_t *td,
+HNBAP_CN_DomainIndicator_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- CN_DomainIndicator_1_inherit_TYPE_descriptor(td);
+ HNBAP_CN_DomainIndicator_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-CN_DomainIndicator_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_CN_DomainIndicator_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- CN_DomainIndicator_1_inherit_TYPE_descriptor(td);
+ HNBAP_CN_DomainIndicator_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-CN_DomainIndicator_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CN_DomainIndicator_decode_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_DomainIndicator_1_inherit_TYPE_descriptor(td);
+ HNBAP_CN_DomainIndicator_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-CN_DomainIndicator_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_CN_DomainIndicator_encode_der(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_DomainIndicator_1_inherit_TYPE_descriptor(td);
+ HNBAP_CN_DomainIndicator_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-CN_DomainIndicator_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CN_DomainIndicator_decode_xer(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_DomainIndicator_1_inherit_TYPE_descriptor(td);
+ HNBAP_CN_DomainIndicator_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-CN_DomainIndicator_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_CN_DomainIndicator_encode_xer(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_DomainIndicator_1_inherit_TYPE_descriptor(td);
+ HNBAP_CN_DomainIndicator_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-CN_DomainIndicator_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CN_DomainIndicator_decode_uper(asn_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_DomainIndicator_1_inherit_TYPE_descriptor(td);
+ HNBAP_CN_DomainIndicator_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-CN_DomainIndicator_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_CN_DomainIndicator_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- CN_DomainIndicator_1_inherit_TYPE_descriptor(td);
+ HNBAP_CN_DomainIndicator_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-CN_DomainIndicator_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_CN_DomainIndicator_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- CN_DomainIndicator_1_inherit_TYPE_descriptor(td);
+ HNBAP_CN_DomainIndicator_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-CN_DomainIndicator_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CN_DomainIndicator_decode_aper(asn_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_DomainIndicator_1_inherit_TYPE_descriptor(td);
+ HNBAP_CN_DomainIndicator_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_CN_DomainIndicator_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_CN_DomainIndicator_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED, 1, 1, 0l, 1l } /* (0..1) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static const asn_INTEGER_enum_map_t asn_MAP_CN_DomainIndicator_value2enum_1[] = {
+static const asn_INTEGER_enum_map_t asn_MAP_HNBAP_CN_DomainIndicator_value2enum_1[] = {
{ 0, 9, "cs-domain" },
{ 1, 9, "ps-domain" }
};
-static const unsigned int asn_MAP_CN_DomainIndicator_enum2value_1[] = {
+static const unsigned int asn_MAP_HNBAP_CN_DomainIndicator_enum2value_1[] = {
0, /* cs-domain(0) */
1 /* ps-domain(1) */
};
-static const asn_INTEGER_specifics_t asn_SPC_CN_DomainIndicator_specs_1 = {
- asn_MAP_CN_DomainIndicator_value2enum_1, /* "tag" => N; sorted by tag */
- asn_MAP_CN_DomainIndicator_enum2value_1, /* N => "tag"; sorted by N */
+static const asn_INTEGER_specifics_t asn_SPC_HNBAP_CN_DomainIndicator_specs_1 = {
+ asn_MAP_HNBAP_CN_DomainIndicator_value2enum_1, /* "tag" => N; sorted by tag */
+ asn_MAP_HNBAP_CN_DomainIndicator_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 const ber_tlv_tag_t asn_DEF_CN_DomainIndicator_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_CN_DomainIndicator_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_CN_DomainIndicator = {
- "CN-DomainIndicator",
- "CN-DomainIndicator",
- CN_DomainIndicator_free,
- CN_DomainIndicator_print,
- CN_DomainIndicator_constraint,
- CN_DomainIndicator_decode_ber,
- CN_DomainIndicator_encode_der,
- CN_DomainIndicator_decode_xer,
- CN_DomainIndicator_encode_xer,
- CN_DomainIndicator_decode_uper,
- CN_DomainIndicator_encode_uper,
- CN_DomainIndicator_decode_aper,
- CN_DomainIndicator_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_CN_DomainIndicator = {
+ "HNBAP_CN-DomainIndicator",
+ "HNBAP_CN-DomainIndicator",
+ HNBAP_CN_DomainIndicator_free,
+ HNBAP_CN_DomainIndicator_print,
+ HNBAP_CN_DomainIndicator_constraint,
+ HNBAP_CN_DomainIndicator_decode_ber,
+ HNBAP_CN_DomainIndicator_encode_der,
+ HNBAP_CN_DomainIndicator_decode_xer,
+ HNBAP_CN_DomainIndicator_encode_xer,
+ HNBAP_CN_DomainIndicator_decode_uper,
+ HNBAP_CN_DomainIndicator_encode_uper,
+ HNBAP_CN_DomainIndicator_decode_aper,
+ HNBAP_CN_DomainIndicator_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_CN_DomainIndicator_tags_1,
- sizeof(asn_DEF_CN_DomainIndicator_tags_1)
- /sizeof(asn_DEF_CN_DomainIndicator_tags_1[0]), /* 1 */
- asn_DEF_CN_DomainIndicator_tags_1, /* Same as above */
- sizeof(asn_DEF_CN_DomainIndicator_tags_1)
- /sizeof(asn_DEF_CN_DomainIndicator_tags_1[0]), /* 1 */
- &asn_PER_type_CN_DomainIndicator_constr_1,
+ asn_DEF_HNBAP_CN_DomainIndicator_tags_1,
+ sizeof(asn_DEF_HNBAP_CN_DomainIndicator_tags_1)
+ /sizeof(asn_DEF_HNBAP_CN_DomainIndicator_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_CN_DomainIndicator_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_CN_DomainIndicator_tags_1)
+ /sizeof(asn_DEF_HNBAP_CN_DomainIndicator_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_CN_DomainIndicator_constr_1,
0, 0, /* Defined elsewhere */
- &asn_SPC_CN_DomainIndicator_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_CN_DomainIndicator_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/CSG-Capability.c b/src/hnbap/HNBAP_CSG-Capability.c
index 524ade2..1e8548e 100644
--- a/src/hnbap/CSG-Capability.c
+++ b/src/hnbap/HNBAP_CSG-Capability.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/CSG-Capability.h>
+#include <osmocom/hnbap/HNBAP_CSG-Capability.h>
int
-CSG_Capability_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_CSG_Capability_constraint(asn_TYPE_descriptor_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;
@@ -20,7 +20,7 @@ CSG_Capability_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-CSG_Capability_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_CSG_Capability_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->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
@@ -40,129 +40,129 @@ CSG_Capability_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-CSG_Capability_free(asn_TYPE_descriptor_t *td,
+HNBAP_CSG_Capability_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- CSG_Capability_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSG_Capability_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-CSG_Capability_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_CSG_Capability_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- CSG_Capability_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSG_Capability_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-CSG_Capability_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CSG_Capability_decode_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_Capability_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSG_Capability_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-CSG_Capability_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_CSG_Capability_encode_der(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_Capability_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSG_Capability_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-CSG_Capability_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CSG_Capability_decode_xer(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_Capability_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSG_Capability_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-CSG_Capability_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_CSG_Capability_encode_xer(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_Capability_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSG_Capability_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-CSG_Capability_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CSG_Capability_decode_uper(asn_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_Capability_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSG_Capability_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-CSG_Capability_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_CSG_Capability_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- CSG_Capability_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSG_Capability_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-CSG_Capability_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_CSG_Capability_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- CSG_Capability_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSG_Capability_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-CSG_Capability_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CSG_Capability_decode_aper(asn_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_Capability_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSG_Capability_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_CSG_Capability_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_CSG_Capability_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0l, 1l } /* (0..1,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static const asn_INTEGER_enum_map_t asn_MAP_CSG_Capability_value2enum_1[] = {
+static const asn_INTEGER_enum_map_t asn_MAP_HNBAP_CSG_Capability_value2enum_1[] = {
{ 0, 11, "csg-capable" },
{ 1, 15, "not-csg-capable" }
/* This list is extensible */
};
-static const unsigned int asn_MAP_CSG_Capability_enum2value_1[] = {
+static const unsigned int asn_MAP_HNBAP_CSG_Capability_enum2value_1[] = {
0, /* csg-capable(0) */
1 /* not-csg-capable(1) */
/* This list is extensible */
};
-static const asn_INTEGER_specifics_t asn_SPC_CSG_Capability_specs_1 = {
- asn_MAP_CSG_Capability_value2enum_1, /* "tag" => N; sorted by tag */
- asn_MAP_CSG_Capability_enum2value_1, /* N => "tag"; sorted by N */
+static const asn_INTEGER_specifics_t asn_SPC_HNBAP_CSG_Capability_specs_1 = {
+ asn_MAP_HNBAP_CSG_Capability_value2enum_1, /* "tag" => N; sorted by tag */
+ asn_MAP_HNBAP_CSG_Capability_enum2value_1, /* N => "tag"; sorted by N */
2, /* Number of elements in the maps */
3, /* Extensions before this member */
1, /* Strict enumeration */
0, /* Native long size */
0
};
-static const ber_tlv_tag_t asn_DEF_CSG_Capability_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_CSG_Capability_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_CSG_Capability = {
- "CSG-Capability",
- "CSG-Capability",
- CSG_Capability_free,
- CSG_Capability_print,
- CSG_Capability_constraint,
- CSG_Capability_decode_ber,
- CSG_Capability_encode_der,
- CSG_Capability_decode_xer,
- CSG_Capability_encode_xer,
- CSG_Capability_decode_uper,
- CSG_Capability_encode_uper,
- CSG_Capability_decode_aper,
- CSG_Capability_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_CSG_Capability = {
+ "HNBAP_CSG-Capability",
+ "HNBAP_CSG-Capability",
+ HNBAP_CSG_Capability_free,
+ HNBAP_CSG_Capability_print,
+ HNBAP_CSG_Capability_constraint,
+ HNBAP_CSG_Capability_decode_ber,
+ HNBAP_CSG_Capability_encode_der,
+ HNBAP_CSG_Capability_decode_xer,
+ HNBAP_CSG_Capability_encode_xer,
+ HNBAP_CSG_Capability_decode_uper,
+ HNBAP_CSG_Capability_encode_uper,
+ HNBAP_CSG_Capability_decode_aper,
+ HNBAP_CSG_Capability_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_CSG_Capability_tags_1,
- sizeof(asn_DEF_CSG_Capability_tags_1)
- /sizeof(asn_DEF_CSG_Capability_tags_1[0]), /* 1 */
- asn_DEF_CSG_Capability_tags_1, /* Same as above */
- sizeof(asn_DEF_CSG_Capability_tags_1)
- /sizeof(asn_DEF_CSG_Capability_tags_1[0]), /* 1 */
- &asn_PER_type_CSG_Capability_constr_1,
+ asn_DEF_HNBAP_CSG_Capability_tags_1,
+ sizeof(asn_DEF_HNBAP_CSG_Capability_tags_1)
+ /sizeof(asn_DEF_HNBAP_CSG_Capability_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_CSG_Capability_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_CSG_Capability_tags_1)
+ /sizeof(asn_DEF_HNBAP_CSG_Capability_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_CSG_Capability_constr_1,
0, 0, /* Defined elsewhere */
- &asn_SPC_CSG_Capability_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_CSG_Capability_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/S-RNTIPrefix.c b/src/hnbap/HNBAP_CSG-ID.c
index ec3dbd4..7cbc3da 100644
--- a/src/hnbap/S-RNTIPrefix.c
+++ b/src/hnbap/HNBAP_CSG-ID.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/S-RNTIPrefix.h>
+#include <osmocom/hnbap/HNBAP_CSG-ID.h>
int
-S_RNTIPrefix_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_CSG_ID_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;
@@ -27,7 +27,7 @@ S_RNTIPrefix_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
size = 0;
}
- if((size >= 1l && size <= 16l)) {
+ if((size == 27l)) {
/* Constraint check succeeded */
return 0;
} else {
@@ -43,7 +43,7 @@ S_RNTIPrefix_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-S_RNTIPrefix_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_CSG_ID_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;
@@ -63,109 +63,109 @@ S_RNTIPrefix_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-S_RNTIPrefix_free(asn_TYPE_descriptor_t *td,
+HNBAP_CSG_ID_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- S_RNTIPrefix_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSG_ID_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-S_RNTIPrefix_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_CSG_ID_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- S_RNTIPrefix_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSG_ID_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-S_RNTIPrefix_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CSG_ID_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- S_RNTIPrefix_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSG_ID_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-S_RNTIPrefix_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_CSG_ID_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- S_RNTIPrefix_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSG_ID_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-S_RNTIPrefix_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CSG_ID_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- S_RNTIPrefix_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSG_ID_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-S_RNTIPrefix_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_CSG_ID_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- S_RNTIPrefix_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSG_ID_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-S_RNTIPrefix_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CSG_ID_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- S_RNTIPrefix_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSG_ID_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-S_RNTIPrefix_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_CSG_ID_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- S_RNTIPrefix_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSG_ID_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-S_RNTIPrefix_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_CSG_ID_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- S_RNTIPrefix_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSG_ID_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-S_RNTIPrefix_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CSG_ID_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- S_RNTIPrefix_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSG_ID_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_S_RNTIPrefix_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_CSG_ID_constr_1 GCC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
- { APC_CONSTRAINED | APC_EXTENSIBLE, 4, 4, 1l, 16l } /* (SIZE(1..16,...)) */,
+ { APC_CONSTRAINED, 0, 0, 27l, 27l } /* (SIZE(27..27)) */,
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_S_RNTIPrefix_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_CSG_ID_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (3 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_S_RNTIPrefix = {
- "S-RNTIPrefix",
- "S-RNTIPrefix",
- S_RNTIPrefix_free,
- S_RNTIPrefix_print,
- S_RNTIPrefix_constraint,
- S_RNTIPrefix_decode_ber,
- S_RNTIPrefix_encode_der,
- S_RNTIPrefix_decode_xer,
- S_RNTIPrefix_encode_xer,
- S_RNTIPrefix_decode_uper,
- S_RNTIPrefix_encode_uper,
- S_RNTIPrefix_decode_aper,
- S_RNTIPrefix_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_CSG_ID = {
+ "HNBAP_CSG-ID",
+ "HNBAP_CSG-ID",
+ HNBAP_CSG_ID_free,
+ HNBAP_CSG_ID_print,
+ HNBAP_CSG_ID_constraint,
+ HNBAP_CSG_ID_decode_ber,
+ HNBAP_CSG_ID_encode_der,
+ HNBAP_CSG_ID_decode_xer,
+ HNBAP_CSG_ID_encode_xer,
+ HNBAP_CSG_ID_decode_uper,
+ HNBAP_CSG_ID_encode_uper,
+ HNBAP_CSG_ID_decode_aper,
+ HNBAP_CSG_ID_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_S_RNTIPrefix_tags_1,
- sizeof(asn_DEF_S_RNTIPrefix_tags_1)
- /sizeof(asn_DEF_S_RNTIPrefix_tags_1[0]), /* 1 */
- asn_DEF_S_RNTIPrefix_tags_1, /* Same as above */
- sizeof(asn_DEF_S_RNTIPrefix_tags_1)
- /sizeof(asn_DEF_S_RNTIPrefix_tags_1[0]), /* 1 */
- &asn_PER_type_S_RNTIPrefix_constr_1,
+ asn_DEF_HNBAP_CSG_ID_tags_1,
+ sizeof(asn_DEF_HNBAP_CSG_ID_tags_1)
+ /sizeof(asn_DEF_HNBAP_CSG_ID_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_CSG_ID_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_CSG_ID_tags_1)
+ /sizeof(asn_DEF_HNBAP_CSG_ID_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_CSG_ID_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/CSGMembershipStatus.c b/src/hnbap/HNBAP_CSGMembershipStatus.c
index ea105e8..fc8132c 100644
--- a/src/hnbap/CSGMembershipStatus.c
+++ b/src/hnbap/HNBAP_CSGMembershipStatus.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/CSGMembershipStatus.h>
+#include <osmocom/hnbap/HNBAP_CSGMembershipStatus.h>
int
-CSGMembershipStatus_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_CSGMembershipStatus_constraint(asn_TYPE_descriptor_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;
@@ -20,7 +20,7 @@ CSGMembershipStatus_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-CSGMembershipStatus_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_CSGMembershipStatus_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->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
@@ -40,129 +40,129 @@ CSGMembershipStatus_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-CSGMembershipStatus_free(asn_TYPE_descriptor_t *td,
+HNBAP_CSGMembershipStatus_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- CSGMembershipStatus_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSGMembershipStatus_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-CSGMembershipStatus_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_CSGMembershipStatus_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- CSGMembershipStatus_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSGMembershipStatus_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-CSGMembershipStatus_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CSGMembershipStatus_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- CSGMembershipStatus_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSGMembershipStatus_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-CSGMembershipStatus_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_CSGMembershipStatus_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- CSGMembershipStatus_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSGMembershipStatus_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-CSGMembershipStatus_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CSGMembershipStatus_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- CSGMembershipStatus_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSGMembershipStatus_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-CSGMembershipStatus_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_CSGMembershipStatus_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- CSGMembershipStatus_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSGMembershipStatus_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-CSGMembershipStatus_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CSGMembershipStatus_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- CSGMembershipStatus_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSGMembershipStatus_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-CSGMembershipStatus_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_CSGMembershipStatus_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- CSGMembershipStatus_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSGMembershipStatus_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-CSGMembershipStatus_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_CSGMembershipStatus_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- CSGMembershipStatus_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSGMembershipStatus_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-CSGMembershipStatus_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CSGMembershipStatus_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- CSGMembershipStatus_1_inherit_TYPE_descriptor(td);
+ HNBAP_CSGMembershipStatus_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_CSGMembershipStatus_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_CSGMembershipStatus_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0l, 1l } /* (0..1,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static const asn_INTEGER_enum_map_t asn_MAP_CSGMembershipStatus_value2enum_1[] = {
+static const asn_INTEGER_enum_map_t asn_MAP_HNBAP_CSGMembershipStatus_value2enum_1[] = {
{ 0, 6, "member" },
{ 1, 10, "non-member" }
/* This list is extensible */
};
-static const unsigned int asn_MAP_CSGMembershipStatus_enum2value_1[] = {
+static const unsigned int asn_MAP_HNBAP_CSGMembershipStatus_enum2value_1[] = {
0, /* member(0) */
1 /* non-member(1) */
/* This list is extensible */
};
-static const asn_INTEGER_specifics_t asn_SPC_CSGMembershipStatus_specs_1 = {
- asn_MAP_CSGMembershipStatus_value2enum_1, /* "tag" => N; sorted by tag */
- asn_MAP_CSGMembershipStatus_enum2value_1, /* N => "tag"; sorted by N */
+static const asn_INTEGER_specifics_t asn_SPC_HNBAP_CSGMembershipStatus_specs_1 = {
+ asn_MAP_HNBAP_CSGMembershipStatus_value2enum_1, /* "tag" => N; sorted by tag */
+ asn_MAP_HNBAP_CSGMembershipStatus_enum2value_1, /* N => "tag"; sorted by N */
2, /* Number of elements in the maps */
3, /* Extensions before this member */
1, /* Strict enumeration */
0, /* Native long size */
0
};
-static const ber_tlv_tag_t asn_DEF_CSGMembershipStatus_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_CSGMembershipStatus_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_CSGMembershipStatus = {
- "CSGMembershipStatus",
- "CSGMembershipStatus",
- CSGMembershipStatus_free,
- CSGMembershipStatus_print,
- CSGMembershipStatus_constraint,
- CSGMembershipStatus_decode_ber,
- CSGMembershipStatus_encode_der,
- CSGMembershipStatus_decode_xer,
- CSGMembershipStatus_encode_xer,
- CSGMembershipStatus_decode_uper,
- CSGMembershipStatus_encode_uper,
- CSGMembershipStatus_decode_aper,
- CSGMembershipStatus_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_CSGMembershipStatus = {
+ "HNBAP_CSGMembershipStatus",
+ "HNBAP_CSGMembershipStatus",
+ HNBAP_CSGMembershipStatus_free,
+ HNBAP_CSGMembershipStatus_print,
+ HNBAP_CSGMembershipStatus_constraint,
+ HNBAP_CSGMembershipStatus_decode_ber,
+ HNBAP_CSGMembershipStatus_encode_der,
+ HNBAP_CSGMembershipStatus_decode_xer,
+ HNBAP_CSGMembershipStatus_encode_xer,
+ HNBAP_CSGMembershipStatus_decode_uper,
+ HNBAP_CSGMembershipStatus_encode_uper,
+ HNBAP_CSGMembershipStatus_decode_aper,
+ HNBAP_CSGMembershipStatus_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_CSGMembershipStatus_tags_1,
- sizeof(asn_DEF_CSGMembershipStatus_tags_1)
- /sizeof(asn_DEF_CSGMembershipStatus_tags_1[0]), /* 1 */
- asn_DEF_CSGMembershipStatus_tags_1, /* Same as above */
- sizeof(asn_DEF_CSGMembershipStatus_tags_1)
- /sizeof(asn_DEF_CSGMembershipStatus_tags_1[0]), /* 1 */
- &asn_PER_type_CSGMembershipStatus_constr_1,
+ asn_DEF_HNBAP_CSGMembershipStatus_tags_1,
+ sizeof(asn_DEF_HNBAP_CSGMembershipStatus_tags_1)
+ /sizeof(asn_DEF_HNBAP_CSGMembershipStatus_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_CSGMembershipStatus_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_CSGMembershipStatus_tags_1)
+ /sizeof(asn_DEF_HNBAP_CSGMembershipStatus_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_CSGMembershipStatus_constr_1,
0, 0, /* Defined elsewhere */
- &asn_SPC_CSGMembershipStatus_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_CSGMembershipStatus_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/CSGMembershipUpdate.c b/src/hnbap/HNBAP_CSGMembershipUpdate.c
index f9f3d8d..76dbeb4 100644
--- a/src/hnbap/CSGMembershipUpdate.c
+++ b/src/hnbap/HNBAP_CSGMembershipUpdate.c
@@ -5,7 +5,7 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/CSGMembershipUpdate.h>
+#include <osmocom/hnbap/HNBAP_CSGMembershipUpdate.h>
static int
memb_csgMembershipUpdate_ies_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
@@ -45,9 +45,9 @@ static asn_per_constraints_t asn_PER_memb_csgMembershipUpdate_ies_constr_2 GCC_N
};
static asn_TYPE_member_t asn_MBR_csgMembershipUpdate_ies_2[] = {
{ ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
+ -1 /* Ambiguous tag (CHOICE?) */,
0,
- &asn_DEF_IE,
+ &asn_DEF_HNBAP_IE,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -91,8 +91,8 @@ asn_TYPE_descriptor_t asn_DEF_csgMembershipUpdate_ies_2 = {
&asn_SPC_csgMembershipUpdate_ies_specs_2 /* Additional specs */
};
-static asn_TYPE_member_t asn_MBR_CSGMembershipUpdate_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct CSGMembershipUpdate, csgMembershipUpdate_ies),
+static asn_TYPE_member_t asn_MBR_HNBAP_CSGMembershipUpdate_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_CSGMembershipUpdate, csgMembershipUpdate_ies),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
0,
&asn_DEF_csgMembershipUpdate_ies_2,
@@ -102,24 +102,24 @@ static asn_TYPE_member_t asn_MBR_CSGMembershipUpdate_1[] = {
"csgMembershipUpdate-ies"
},
};
-static const ber_tlv_tag_t asn_DEF_CSGMembershipUpdate_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_CSGMembershipUpdate_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_CSGMembershipUpdate_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_CSGMembershipUpdate_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* csgMembershipUpdate-ies */
};
-static asn_SEQUENCE_specifics_t asn_SPC_CSGMembershipUpdate_specs_1 = {
- sizeof(struct CSGMembershipUpdate),
- offsetof(struct CSGMembershipUpdate, _asn_ctx),
- asn_MAP_CSGMembershipUpdate_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_CSGMembershipUpdate_specs_1 = {
+ sizeof(struct HNBAP_CSGMembershipUpdate),
+ offsetof(struct HNBAP_CSGMembershipUpdate, _asn_ctx),
+ asn_MAP_HNBAP_CSGMembershipUpdate_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_CSGMembershipUpdate = {
- "CSGMembershipUpdate",
- "CSGMembershipUpdate",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_CSGMembershipUpdate = {
+ "HNBAP_CSGMembershipUpdate",
+ "HNBAP_CSGMembershipUpdate",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -132,15 +132,15 @@ asn_TYPE_descriptor_t asn_DEF_CSGMembershipUpdate = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_CSGMembershipUpdate_tags_1,
- sizeof(asn_DEF_CSGMembershipUpdate_tags_1)
- /sizeof(asn_DEF_CSGMembershipUpdate_tags_1[0]), /* 1 */
- asn_DEF_CSGMembershipUpdate_tags_1, /* Same as above */
- sizeof(asn_DEF_CSGMembershipUpdate_tags_1)
- /sizeof(asn_DEF_CSGMembershipUpdate_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_CSGMembershipUpdate_tags_1,
+ sizeof(asn_DEF_HNBAP_CSGMembershipUpdate_tags_1)
+ /sizeof(asn_DEF_HNBAP_CSGMembershipUpdate_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_CSGMembershipUpdate_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_CSGMembershipUpdate_tags_1)
+ /sizeof(asn_DEF_HNBAP_CSGMembershipUpdate_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_CSGMembershipUpdate_1,
+ asn_MBR_HNBAP_CSGMembershipUpdate_1,
1, /* Elements count */
- &asn_SPC_CSGMembershipUpdate_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_CSGMembershipUpdate_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/Cause.c b/src/hnbap/HNBAP_Cause.c
index 00df528..3e24ed6 100644
--- a/src/hnbap/Cause.c
+++ b/src/hnbap/HNBAP_Cause.c
@@ -5,70 +5,70 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/Cause.h>
+#include <osmocom/hnbap/HNBAP_Cause.h>
-static asn_per_constraints_t asn_PER_type_Cause_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_Cause_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0l, 3l } /* (0..3,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static asn_TYPE_member_t asn_MBR_Cause_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.radioNetwork),
+static asn_TYPE_member_t asn_MBR_HNBAP_Cause_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_Cause, choice.radioNetwork),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_CauseRadioNetwork,
+ &asn_DEF_HNBAP_CauseRadioNetwork,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"radioNetwork"
},
- { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.transport),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_Cause, choice.transport),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_CauseTransport,
+ &asn_DEF_HNBAP_CauseTransport,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"transport"
},
- { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.protocol),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_Cause, choice.protocol),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_CauseProtocol,
+ &asn_DEF_HNBAP_CauseProtocol,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"protocol"
},
- { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.misc),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_Cause, choice.misc),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_CauseMisc,
+ &asn_DEF_HNBAP_CauseMisc,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"misc"
},
};
-static const asn_TYPE_tag2member_t asn_MAP_Cause_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_Cause_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* radioNetwork */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* transport */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* protocol */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* misc */
};
-static asn_CHOICE_specifics_t asn_SPC_Cause_specs_1 = {
- sizeof(struct Cause),
- offsetof(struct Cause, _asn_ctx),
- offsetof(struct Cause, present),
- sizeof(((struct Cause *)0)->present),
- asn_MAP_Cause_tag2el_1,
+static asn_CHOICE_specifics_t asn_SPC_HNBAP_Cause_specs_1 = {
+ sizeof(struct HNBAP_Cause),
+ offsetof(struct HNBAP_Cause, _asn_ctx),
+ offsetof(struct HNBAP_Cause, present),
+ sizeof(((struct HNBAP_Cause *)0)->present),
+ asn_MAP_HNBAP_Cause_tag2el_1,
4, /* Count of tags in the map */
0,
4 /* Extensions start */
};
-asn_TYPE_descriptor_t asn_DEF_Cause = {
- "Cause",
- "Cause",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_Cause = {
+ "HNBAP_Cause",
+ "HNBAP_Cause",
CHOICE_free,
CHOICE_print,
CHOICE_constraint,
@@ -85,9 +85,9 @@ asn_TYPE_descriptor_t asn_DEF_Cause = {
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
- &asn_PER_type_Cause_constr_1,
- asn_MBR_Cause_1,
+ &asn_PER_type_HNBAP_Cause_constr_1,
+ asn_MBR_HNBAP_Cause_1,
4, /* Elements count */
- &asn_SPC_Cause_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_Cause_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/CauseMisc.c b/src/hnbap/HNBAP_CauseMisc.c
index 235df16..08fd61d 100644
--- a/src/hnbap/CauseMisc.c
+++ b/src/hnbap/HNBAP_CauseMisc.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/CauseMisc.h>
+#include <osmocom/hnbap/HNBAP_CauseMisc.h>
int
-CauseMisc_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_CauseMisc_constraint(asn_TYPE_descriptor_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;
@@ -20,7 +20,7 @@ CauseMisc_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-CauseMisc_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_CauseMisc_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->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
@@ -40,133 +40,133 @@ CauseMisc_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-CauseMisc_free(asn_TYPE_descriptor_t *td,
+HNBAP_CauseMisc_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- CauseMisc_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseMisc_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-CauseMisc_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_CauseMisc_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- CauseMisc_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseMisc_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-CauseMisc_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CauseMisc_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- CauseMisc_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseMisc_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-CauseMisc_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_CauseMisc_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- CauseMisc_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseMisc_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-CauseMisc_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CauseMisc_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- CauseMisc_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseMisc_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-CauseMisc_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_CauseMisc_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- CauseMisc_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseMisc_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-CauseMisc_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CauseMisc_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- CauseMisc_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseMisc_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-CauseMisc_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_CauseMisc_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- CauseMisc_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseMisc_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-CauseMisc_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_CauseMisc_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- CauseMisc_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseMisc_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-CauseMisc_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CauseMisc_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- CauseMisc_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseMisc_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_CauseMisc_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_CauseMisc_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0l, 3l } /* (0..3,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static const asn_INTEGER_enum_map_t asn_MAP_CauseMisc_value2enum_1[] = {
+static const asn_INTEGER_enum_map_t asn_MAP_HNBAP_CauseMisc_value2enum_1[] = {
{ 0, 19, "processing-overload" },
{ 1, 16, "hardware-failure" },
{ 2, 20, "o-and-m-intervention" },
{ 3, 11, "unspecified" }
/* This list is extensible */
};
-static const unsigned int asn_MAP_CauseMisc_enum2value_1[] = {
+static const unsigned int asn_MAP_HNBAP_CauseMisc_enum2value_1[] = {
1, /* hardware-failure(1) */
2, /* o-and-m-intervention(2) */
0, /* processing-overload(0) */
3 /* unspecified(3) */
/* This list is extensible */
};
-static const asn_INTEGER_specifics_t asn_SPC_CauseMisc_specs_1 = {
- asn_MAP_CauseMisc_value2enum_1, /* "tag" => N; sorted by tag */
- asn_MAP_CauseMisc_enum2value_1, /* N => "tag"; sorted by N */
+static const asn_INTEGER_specifics_t asn_SPC_HNBAP_CauseMisc_specs_1 = {
+ asn_MAP_HNBAP_CauseMisc_value2enum_1, /* "tag" => N; sorted by tag */
+ asn_MAP_HNBAP_CauseMisc_enum2value_1, /* N => "tag"; sorted by N */
4, /* Number of elements in the maps */
5, /* Extensions before this member */
1, /* Strict enumeration */
0, /* Native long size */
0
};
-static const ber_tlv_tag_t asn_DEF_CauseMisc_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_CauseMisc_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_CauseMisc = {
- "CauseMisc",
- "CauseMisc",
- CauseMisc_free,
- CauseMisc_print,
- CauseMisc_constraint,
- CauseMisc_decode_ber,
- CauseMisc_encode_der,
- CauseMisc_decode_xer,
- CauseMisc_encode_xer,
- CauseMisc_decode_uper,
- CauseMisc_encode_uper,
- CauseMisc_decode_aper,
- CauseMisc_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_CauseMisc = {
+ "HNBAP_CauseMisc",
+ "HNBAP_CauseMisc",
+ HNBAP_CauseMisc_free,
+ HNBAP_CauseMisc_print,
+ HNBAP_CauseMisc_constraint,
+ HNBAP_CauseMisc_decode_ber,
+ HNBAP_CauseMisc_encode_der,
+ HNBAP_CauseMisc_decode_xer,
+ HNBAP_CauseMisc_encode_xer,
+ HNBAP_CauseMisc_decode_uper,
+ HNBAP_CauseMisc_encode_uper,
+ HNBAP_CauseMisc_decode_aper,
+ HNBAP_CauseMisc_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_CauseMisc_tags_1,
- sizeof(asn_DEF_CauseMisc_tags_1)
- /sizeof(asn_DEF_CauseMisc_tags_1[0]), /* 1 */
- asn_DEF_CauseMisc_tags_1, /* Same as above */
- sizeof(asn_DEF_CauseMisc_tags_1)
- /sizeof(asn_DEF_CauseMisc_tags_1[0]), /* 1 */
- &asn_PER_type_CauseMisc_constr_1,
+ asn_DEF_HNBAP_CauseMisc_tags_1,
+ sizeof(asn_DEF_HNBAP_CauseMisc_tags_1)
+ /sizeof(asn_DEF_HNBAP_CauseMisc_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_CauseMisc_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_CauseMisc_tags_1)
+ /sizeof(asn_DEF_HNBAP_CauseMisc_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_CauseMisc_constr_1,
0, 0, /* Defined elsewhere */
- &asn_SPC_CauseMisc_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_CauseMisc_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/CauseProtocol.c b/src/hnbap/HNBAP_CauseProtocol.c
index 2e70dc8..61e3a68 100644
--- a/src/hnbap/CauseProtocol.c
+++ b/src/hnbap/HNBAP_CauseProtocol.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/CauseProtocol.h>
+#include <osmocom/hnbap/HNBAP_CauseProtocol.h>
int
-CauseProtocol_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_CauseProtocol_constraint(asn_TYPE_descriptor_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;
@@ -20,7 +20,7 @@ CauseProtocol_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-CauseProtocol_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_CauseProtocol_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->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
@@ -40,85 +40,85 @@ CauseProtocol_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-CauseProtocol_free(asn_TYPE_descriptor_t *td,
+HNBAP_CauseProtocol_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- CauseProtocol_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseProtocol_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-CauseProtocol_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_CauseProtocol_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- CauseProtocol_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseProtocol_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-CauseProtocol_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CauseProtocol_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- CauseProtocol_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseProtocol_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-CauseProtocol_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_CauseProtocol_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- CauseProtocol_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseProtocol_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-CauseProtocol_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CauseProtocol_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- CauseProtocol_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseProtocol_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-CauseProtocol_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_CauseProtocol_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- CauseProtocol_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseProtocol_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-CauseProtocol_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CauseProtocol_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- CauseProtocol_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseProtocol_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-CauseProtocol_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_CauseProtocol_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- CauseProtocol_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseProtocol_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-CauseProtocol_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_CauseProtocol_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- CauseProtocol_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseProtocol_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-CauseProtocol_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CauseProtocol_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- CauseProtocol_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseProtocol_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_CauseProtocol_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_CauseProtocol_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0l, 6l } /* (0..6,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static const asn_INTEGER_enum_map_t asn_MAP_CauseProtocol_value2enum_1[] = {
+static const asn_INTEGER_enum_map_t asn_MAP_HNBAP_CauseProtocol_value2enum_1[] = {
{ 0, 21, "transfer-syntax-error" },
{ 1, 28, "abstract-syntax-error-reject" },
{ 2, 39, "abstract-syntax-error-ignore-and-notify" },
@@ -128,7 +128,7 @@ static const asn_INTEGER_enum_map_t asn_MAP_CauseProtocol_value2enum_1[] = {
{ 6, 49, "abstract-syntax-error-falsely-constructed-message" }
/* This list is extensible */
};
-static const unsigned int asn_MAP_CauseProtocol_enum2value_1[] = {
+static const unsigned int asn_MAP_HNBAP_CauseProtocol_enum2value_1[] = {
6, /* abstract-syntax-error-falsely-constructed-message(6) */
2, /* abstract-syntax-error-ignore-and-notify(2) */
1, /* abstract-syntax-error-reject(1) */
@@ -138,41 +138,41 @@ static const unsigned int asn_MAP_CauseProtocol_enum2value_1[] = {
5 /* unspecified(5) */
/* This list is extensible */
};
-static const asn_INTEGER_specifics_t asn_SPC_CauseProtocol_specs_1 = {
- asn_MAP_CauseProtocol_value2enum_1, /* "tag" => N; sorted by tag */
- asn_MAP_CauseProtocol_enum2value_1, /* N => "tag"; sorted by N */
+static const asn_INTEGER_specifics_t asn_SPC_HNBAP_CauseProtocol_specs_1 = {
+ asn_MAP_HNBAP_CauseProtocol_value2enum_1, /* "tag" => N; sorted by tag */
+ asn_MAP_HNBAP_CauseProtocol_enum2value_1, /* N => "tag"; sorted by N */
7, /* Number of elements in the maps */
8, /* Extensions before this member */
1, /* Strict enumeration */
0, /* Native long size */
0
};
-static const ber_tlv_tag_t asn_DEF_CauseProtocol_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_CauseProtocol_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_CauseProtocol = {
- "CauseProtocol",
- "CauseProtocol",
- CauseProtocol_free,
- CauseProtocol_print,
- CauseProtocol_constraint,
- CauseProtocol_decode_ber,
- CauseProtocol_encode_der,
- CauseProtocol_decode_xer,
- CauseProtocol_encode_xer,
- CauseProtocol_decode_uper,
- CauseProtocol_encode_uper,
- CauseProtocol_decode_aper,
- CauseProtocol_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_CauseProtocol = {
+ "HNBAP_CauseProtocol",
+ "HNBAP_CauseProtocol",
+ HNBAP_CauseProtocol_free,
+ HNBAP_CauseProtocol_print,
+ HNBAP_CauseProtocol_constraint,
+ HNBAP_CauseProtocol_decode_ber,
+ HNBAP_CauseProtocol_encode_der,
+ HNBAP_CauseProtocol_decode_xer,
+ HNBAP_CauseProtocol_encode_xer,
+ HNBAP_CauseProtocol_decode_uper,
+ HNBAP_CauseProtocol_encode_uper,
+ HNBAP_CauseProtocol_decode_aper,
+ HNBAP_CauseProtocol_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_CauseProtocol_tags_1,
- sizeof(asn_DEF_CauseProtocol_tags_1)
- /sizeof(asn_DEF_CauseProtocol_tags_1[0]), /* 1 */
- asn_DEF_CauseProtocol_tags_1, /* Same as above */
- sizeof(asn_DEF_CauseProtocol_tags_1)
- /sizeof(asn_DEF_CauseProtocol_tags_1[0]), /* 1 */
- &asn_PER_type_CauseProtocol_constr_1,
+ asn_DEF_HNBAP_CauseProtocol_tags_1,
+ sizeof(asn_DEF_HNBAP_CauseProtocol_tags_1)
+ /sizeof(asn_DEF_HNBAP_CauseProtocol_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_CauseProtocol_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_CauseProtocol_tags_1)
+ /sizeof(asn_DEF_HNBAP_CauseProtocol_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_CauseProtocol_constr_1,
0, 0, /* Defined elsewhere */
- &asn_SPC_CauseProtocol_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_CauseProtocol_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/CauseRadioNetwork.c b/src/hnbap/HNBAP_CauseRadioNetwork.c
index e7f5cfb..c12376b 100644
--- a/src/hnbap/CauseRadioNetwork.c
+++ b/src/hnbap/HNBAP_CauseRadioNetwork.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/CauseRadioNetwork.h>
+#include <osmocom/hnbap/HNBAP_CauseRadioNetwork.h>
int
-CauseRadioNetwork_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_CauseRadioNetwork_constraint(asn_TYPE_descriptor_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;
@@ -20,7 +20,7 @@ CauseRadioNetwork_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-CauseRadioNetwork_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_CauseRadioNetwork_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->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
@@ -40,85 +40,85 @@ CauseRadioNetwork_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-CauseRadioNetwork_free(asn_TYPE_descriptor_t *td,
+HNBAP_CauseRadioNetwork_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- CauseRadioNetwork_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseRadioNetwork_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-CauseRadioNetwork_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_CauseRadioNetwork_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- CauseRadioNetwork_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseRadioNetwork_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-CauseRadioNetwork_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CauseRadioNetwork_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- CauseRadioNetwork_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseRadioNetwork_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-CauseRadioNetwork_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_CauseRadioNetwork_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- CauseRadioNetwork_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseRadioNetwork_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-CauseRadioNetwork_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CauseRadioNetwork_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- CauseRadioNetwork_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseRadioNetwork_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-CauseRadioNetwork_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_CauseRadioNetwork_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- CauseRadioNetwork_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseRadioNetwork_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-CauseRadioNetwork_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CauseRadioNetwork_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- CauseRadioNetwork_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseRadioNetwork_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-CauseRadioNetwork_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_CauseRadioNetwork_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- CauseRadioNetwork_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseRadioNetwork_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-CauseRadioNetwork_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_CauseRadioNetwork_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- CauseRadioNetwork_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseRadioNetwork_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-CauseRadioNetwork_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CauseRadioNetwork_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- CauseRadioNetwork_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseRadioNetwork_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_CauseRadioNetwork_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_CauseRadioNetwork_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 4, 4, 0l, 13l } /* (0..13,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static const asn_INTEGER_enum_map_t asn_MAP_CauseRadioNetwork_value2enum_1[] = {
+static const asn_INTEGER_enum_map_t asn_MAP_HNBAP_CauseRadioNetwork_value2enum_1[] = {
{ 0, 8, "overload" },
{ 1, 21, "unauthorised-Location" },
{ 2, 16, "unauthorised-HNB" },
@@ -137,7 +137,7 @@ static const asn_INTEGER_enum_map_t asn_MAP_CauseRadioNetwork_value2enum_1[] = {
{ 15, 45, "iurh-connection-to-that-neighbour-not-Allowed" }
/* This list is extensible */
};
-static const unsigned int asn_MAP_CauseRadioNetwork_enum2value_1[] = {
+static const unsigned int asn_MAP_HNBAP_CauseRadioNetwork_enum2value_1[] = {
7, /* connection-with-UE-lost(7) */
9, /* hNB-not-registered(9) */
3, /* hNB-parameter-mismatch(3) */
@@ -156,41 +156,41 @@ static const unsigned int asn_MAP_CauseRadioNetwork_enum2value_1[] = {
10 /* unspecified(10) */
/* This list is extensible */
};
-static const asn_INTEGER_specifics_t asn_SPC_CauseRadioNetwork_specs_1 = {
- asn_MAP_CauseRadioNetwork_value2enum_1, /* "tag" => N; sorted by tag */
- asn_MAP_CauseRadioNetwork_enum2value_1, /* N => "tag"; sorted by N */
+static const asn_INTEGER_specifics_t asn_SPC_HNBAP_CauseRadioNetwork_specs_1 = {
+ asn_MAP_HNBAP_CauseRadioNetwork_value2enum_1, /* "tag" => N; sorted by tag */
+ asn_MAP_HNBAP_CauseRadioNetwork_enum2value_1, /* N => "tag"; sorted by N */
16, /* Number of elements in the maps */
15, /* Extensions before this member */
1, /* Strict enumeration */
0, /* Native long size */
0
};
-static const ber_tlv_tag_t asn_DEF_CauseRadioNetwork_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_CauseRadioNetwork_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_CauseRadioNetwork = {
- "CauseRadioNetwork",
- "CauseRadioNetwork",
- CauseRadioNetwork_free,
- CauseRadioNetwork_print,
- CauseRadioNetwork_constraint,
- CauseRadioNetwork_decode_ber,
- CauseRadioNetwork_encode_der,
- CauseRadioNetwork_decode_xer,
- CauseRadioNetwork_encode_xer,
- CauseRadioNetwork_decode_uper,
- CauseRadioNetwork_encode_uper,
- CauseRadioNetwork_decode_aper,
- CauseRadioNetwork_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_CauseRadioNetwork = {
+ "HNBAP_CauseRadioNetwork",
+ "HNBAP_CauseRadioNetwork",
+ HNBAP_CauseRadioNetwork_free,
+ HNBAP_CauseRadioNetwork_print,
+ HNBAP_CauseRadioNetwork_constraint,
+ HNBAP_CauseRadioNetwork_decode_ber,
+ HNBAP_CauseRadioNetwork_encode_der,
+ HNBAP_CauseRadioNetwork_decode_xer,
+ HNBAP_CauseRadioNetwork_encode_xer,
+ HNBAP_CauseRadioNetwork_decode_uper,
+ HNBAP_CauseRadioNetwork_encode_uper,
+ HNBAP_CauseRadioNetwork_decode_aper,
+ HNBAP_CauseRadioNetwork_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_CauseRadioNetwork_tags_1,
- sizeof(asn_DEF_CauseRadioNetwork_tags_1)
- /sizeof(asn_DEF_CauseRadioNetwork_tags_1[0]), /* 1 */
- asn_DEF_CauseRadioNetwork_tags_1, /* Same as above */
- sizeof(asn_DEF_CauseRadioNetwork_tags_1)
- /sizeof(asn_DEF_CauseRadioNetwork_tags_1[0]), /* 1 */
- &asn_PER_type_CauseRadioNetwork_constr_1,
+ asn_DEF_HNBAP_CauseRadioNetwork_tags_1,
+ sizeof(asn_DEF_HNBAP_CauseRadioNetwork_tags_1)
+ /sizeof(asn_DEF_HNBAP_CauseRadioNetwork_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_CauseRadioNetwork_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_CauseRadioNetwork_tags_1)
+ /sizeof(asn_DEF_HNBAP_CauseRadioNetwork_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_CauseRadioNetwork_constr_1,
0, 0, /* Defined elsewhere */
- &asn_SPC_CauseRadioNetwork_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_CauseRadioNetwork_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/CauseTransport.c b/src/hnbap/HNBAP_CauseTransport.c
index ee903ec..0f14b33 100644
--- a/src/hnbap/CauseTransport.c
+++ b/src/hnbap/HNBAP_CauseTransport.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/CauseTransport.h>
+#include <osmocom/hnbap/HNBAP_CauseTransport.h>
int
-CauseTransport_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_CauseTransport_constraint(asn_TYPE_descriptor_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;
@@ -20,7 +20,7 @@ CauseTransport_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-CauseTransport_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_CauseTransport_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->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
@@ -40,129 +40,129 @@ CauseTransport_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-CauseTransport_free(asn_TYPE_descriptor_t *td,
+HNBAP_CauseTransport_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- CauseTransport_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseTransport_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-CauseTransport_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_CauseTransport_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- CauseTransport_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseTransport_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-CauseTransport_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CauseTransport_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- CauseTransport_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseTransport_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-CauseTransport_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_CauseTransport_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- CauseTransport_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseTransport_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-CauseTransport_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CauseTransport_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- CauseTransport_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseTransport_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-CauseTransport_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_CauseTransport_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- CauseTransport_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseTransport_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-CauseTransport_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CauseTransport_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- CauseTransport_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseTransport_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-CauseTransport_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_CauseTransport_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- CauseTransport_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseTransport_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-CauseTransport_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_CauseTransport_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- CauseTransport_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseTransport_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-CauseTransport_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_CauseTransport_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- CauseTransport_1_inherit_TYPE_descriptor(td);
+ HNBAP_CauseTransport_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_CauseTransport_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_CauseTransport_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0l, 1l } /* (0..1,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static const asn_INTEGER_enum_map_t asn_MAP_CauseTransport_value2enum_1[] = {
+static const asn_INTEGER_enum_map_t asn_MAP_HNBAP_CauseTransport_value2enum_1[] = {
{ 0, 30, "transport-resource-unavailable" },
{ 1, 11, "unspecified" }
/* This list is extensible */
};
-static const unsigned int asn_MAP_CauseTransport_enum2value_1[] = {
+static const unsigned int asn_MAP_HNBAP_CauseTransport_enum2value_1[] = {
0, /* transport-resource-unavailable(0) */
1 /* unspecified(1) */
/* This list is extensible */
};
-static const asn_INTEGER_specifics_t asn_SPC_CauseTransport_specs_1 = {
- asn_MAP_CauseTransport_value2enum_1, /* "tag" => N; sorted by tag */
- asn_MAP_CauseTransport_enum2value_1, /* N => "tag"; sorted by N */
+static const asn_INTEGER_specifics_t asn_SPC_HNBAP_CauseTransport_specs_1 = {
+ asn_MAP_HNBAP_CauseTransport_value2enum_1, /* "tag" => N; sorted by tag */
+ asn_MAP_HNBAP_CauseTransport_enum2value_1, /* N => "tag"; sorted by N */
2, /* Number of elements in the maps */
3, /* Extensions before this member */
1, /* Strict enumeration */
0, /* Native long size */
0
};
-static const ber_tlv_tag_t asn_DEF_CauseTransport_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_CauseTransport_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_CauseTransport = {
- "CauseTransport",
- "CauseTransport",
- CauseTransport_free,
- CauseTransport_print,
- CauseTransport_constraint,
- CauseTransport_decode_ber,
- CauseTransport_encode_der,
- CauseTransport_decode_xer,
- CauseTransport_encode_xer,
- CauseTransport_decode_uper,
- CauseTransport_encode_uper,
- CauseTransport_decode_aper,
- CauseTransport_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_CauseTransport = {
+ "HNBAP_CauseTransport",
+ "HNBAP_CauseTransport",
+ HNBAP_CauseTransport_free,
+ HNBAP_CauseTransport_print,
+ HNBAP_CauseTransport_constraint,
+ HNBAP_CauseTransport_decode_ber,
+ HNBAP_CauseTransport_encode_der,
+ HNBAP_CauseTransport_decode_xer,
+ HNBAP_CauseTransport_encode_xer,
+ HNBAP_CauseTransport_decode_uper,
+ HNBAP_CauseTransport_encode_uper,
+ HNBAP_CauseTransport_decode_aper,
+ HNBAP_CauseTransport_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_CauseTransport_tags_1,
- sizeof(asn_DEF_CauseTransport_tags_1)
- /sizeof(asn_DEF_CauseTransport_tags_1[0]), /* 1 */
- asn_DEF_CauseTransport_tags_1, /* Same as above */
- sizeof(asn_DEF_CauseTransport_tags_1)
- /sizeof(asn_DEF_CauseTransport_tags_1[0]), /* 1 */
- &asn_PER_type_CauseTransport_constr_1,
+ asn_DEF_HNBAP_CauseTransport_tags_1,
+ sizeof(asn_DEF_HNBAP_CauseTransport_tags_1)
+ /sizeof(asn_DEF_HNBAP_CauseTransport_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_CauseTransport_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_CauseTransport_tags_1)
+ /sizeof(asn_DEF_HNBAP_CauseTransport_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_CauseTransport_constr_1,
0, 0, /* Defined elsewhere */
- &asn_SPC_CauseTransport_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_CauseTransport_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/HNBAP_CellIdentity.c b/src/hnbap/HNBAP_CellIdentity.c
new file mode 100644
index 0000000..17f2f9d
--- /dev/null
+++ b/src/hnbap/HNBAP_CellIdentity.c
@@ -0,0 +1,172 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#include <osmocom/hnbap/HNBAP_CellIdentity.h>
+
+int
+HNBAP_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 == 28l)) {
+ /* 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
+HNBAP_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->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;
+ td->aper_decoder = asn_DEF_BIT_STRING.aper_decoder;
+ td->aper_encoder = asn_DEF_BIT_STRING.aper_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
+HNBAP_CellIdentity_free(asn_TYPE_descriptor_t *td,
+ void *struct_ptr, int contents_only) {
+ HNBAP_CellIdentity_1_inherit_TYPE_descriptor(td);
+ td->free_struct(td, struct_ptr, contents_only);
+}
+
+int
+HNBAP_CellIdentity_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+ int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
+ HNBAP_CellIdentity_1_inherit_TYPE_descriptor(td);
+ return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
+}
+
+asn_dec_rval_t
+HNBAP_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) {
+ HNBAP_CellIdentity_1_inherit_TYPE_descriptor(td);
+ return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
+}
+
+asn_enc_rval_t
+HNBAP_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) {
+ HNBAP_CellIdentity_1_inherit_TYPE_descriptor(td);
+ return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
+}
+
+asn_dec_rval_t
+HNBAP_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) {
+ HNBAP_CellIdentity_1_inherit_TYPE_descriptor(td);
+ return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
+}
+
+asn_enc_rval_t
+HNBAP_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) {
+ HNBAP_CellIdentity_1_inherit_TYPE_descriptor(td);
+ return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
+}
+
+asn_dec_rval_t
+HNBAP_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) {
+ HNBAP_CellIdentity_1_inherit_TYPE_descriptor(td);
+ return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
+}
+
+asn_enc_rval_t
+HNBAP_CellIdentity_encode_uper(asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints,
+ void *structure, asn_per_outp_t *per_out) {
+ HNBAP_CellIdentity_1_inherit_TYPE_descriptor(td);
+ return td->uper_encoder(td, constraints, structure, per_out);
+}
+
+asn_enc_rval_t
+HNBAP_CellIdentity_encode_aper(asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints,
+ void *structure, asn_per_outp_t *per_out) {
+ HNBAP_CellIdentity_1_inherit_TYPE_descriptor(td);
+ return td->aper_encoder(td, constraints, structure, per_out);
+}
+
+asn_dec_rval_t
+HNBAP_CellIdentity_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
+ HNBAP_CellIdentity_1_inherit_TYPE_descriptor(td);
+ return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
+}
+
+static asn_per_constraints_t asn_PER_type_HNBAP_CellIdentity_constr_1 GCC_NOTUSED = {
+ { APC_UNCONSTRAINED, -1, -1, 0, 0 },
+ { APC_CONSTRAINED, 0, 0, 28l, 28l } /* (SIZE(28..28)) */,
+ 0, 0 /* No PER value map */
+};
+static const ber_tlv_tag_t asn_DEF_HNBAP_CellIdentity_tags_1[] = {
+ (ASN_TAG_CLASS_UNIVERSAL | (3 << 2))
+};
+asn_TYPE_descriptor_t asn_DEF_HNBAP_CellIdentity = {
+ "HNBAP_CellIdentity",
+ "HNBAP_CellIdentity",
+ HNBAP_CellIdentity_free,
+ HNBAP_CellIdentity_print,
+ HNBAP_CellIdentity_constraint,
+ HNBAP_CellIdentity_decode_ber,
+ HNBAP_CellIdentity_encode_der,
+ HNBAP_CellIdentity_decode_xer,
+ HNBAP_CellIdentity_encode_xer,
+ HNBAP_CellIdentity_decode_uper,
+ HNBAP_CellIdentity_encode_uper,
+ HNBAP_CellIdentity_decode_aper,
+ HNBAP_CellIdentity_encode_aper,
+ 0, /* Use generic outmost tag fetcher */
+ asn_DEF_HNBAP_CellIdentity_tags_1,
+ sizeof(asn_DEF_HNBAP_CellIdentity_tags_1)
+ /sizeof(asn_DEF_HNBAP_CellIdentity_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_CellIdentity_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_CellIdentity_tags_1)
+ /sizeof(asn_DEF_HNBAP_CellIdentity_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_CellIdentity_constr_1,
+ 0, 0, /* No members */
+ 0 /* No specifics */
+};
+
diff --git a/src/hnbap/ConfigurationInformation.c b/src/hnbap/HNBAP_ConfigurationInformation.c
index 9272277..a8c9f71 100644
--- a/src/hnbap/ConfigurationInformation.c
+++ b/src/hnbap/HNBAP_ConfigurationInformation.c
@@ -5,50 +5,50 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/ConfigurationInformation.h>
+#include <osmocom/hnbap/HNBAP_ConfigurationInformation.h>
-static asn_per_constraints_t asn_PER_type_ConfigurationInformation_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_ConfigurationInformation_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0l, 1l } /* (0..1,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static asn_TYPE_member_t asn_MBR_ConfigurationInformation_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct ConfigurationInformation, choice.provided),
+static asn_TYPE_member_t asn_MBR_HNBAP_ConfigurationInformation_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_ConfigurationInformation, choice.provided),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_HNBConfigurationInformationProvided,
+ &asn_DEF_HNBAP_HNBConfigurationInformationProvided,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"provided"
},
- { ATF_NOFLAGS, 0, offsetof(struct ConfigurationInformation, choice.missing),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_ConfigurationInformation, choice.missing),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_HNBConfigurationInformationMissing,
+ &asn_DEF_HNBAP_HNBConfigurationInformationMissing,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"missing"
},
};
-static const asn_TYPE_tag2member_t asn_MAP_ConfigurationInformation_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_ConfigurationInformation_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* provided */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* missing */
};
-static asn_CHOICE_specifics_t asn_SPC_ConfigurationInformation_specs_1 = {
- sizeof(struct ConfigurationInformation),
- offsetof(struct ConfigurationInformation, _asn_ctx),
- offsetof(struct ConfigurationInformation, present),
- sizeof(((struct ConfigurationInformation *)0)->present),
- asn_MAP_ConfigurationInformation_tag2el_1,
+static asn_CHOICE_specifics_t asn_SPC_HNBAP_ConfigurationInformation_specs_1 = {
+ sizeof(struct HNBAP_ConfigurationInformation),
+ offsetof(struct HNBAP_ConfigurationInformation, _asn_ctx),
+ offsetof(struct HNBAP_ConfigurationInformation, present),
+ sizeof(((struct HNBAP_ConfigurationInformation *)0)->present),
+ asn_MAP_HNBAP_ConfigurationInformation_tag2el_1,
2, /* Count of tags in the map */
0,
2 /* Extensions start */
};
-asn_TYPE_descriptor_t asn_DEF_ConfigurationInformation = {
- "ConfigurationInformation",
- "ConfigurationInformation",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_ConfigurationInformation = {
+ "HNBAP_ConfigurationInformation",
+ "HNBAP_ConfigurationInformation",
CHOICE_free,
CHOICE_print,
CHOICE_constraint,
@@ -65,9 +65,9 @@ asn_TYPE_descriptor_t asn_DEF_ConfigurationInformation = {
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
- &asn_PER_type_ConfigurationInformation_constr_1,
- asn_MBR_ConfigurationInformation_1,
+ &asn_PER_type_HNBAP_ConfigurationInformation_constr_1,
+ asn_MBR_HNBAP_ConfigurationInformation_1,
2, /* Elements count */
- &asn_SPC_ConfigurationInformation_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_ConfigurationInformation_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/CSG-ID.c b/src/hnbap/HNBAP_Context-ID.c
index eed9c50..8611b05 100644
--- a/src/hnbap/CSG-ID.c
+++ b/src/hnbap/HNBAP_Context-ID.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/CSG-ID.h>
+#include <osmocom/hnbap/HNBAP_Context-ID.h>
int
-CSG_ID_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_Context_ID_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;
@@ -27,7 +27,7 @@ CSG_ID_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
size = 0;
}
- if((size == 27l)) {
+ if((size == 24l)) {
/* Constraint check succeeded */
return 0;
} else {
@@ -43,7 +43,7 @@ CSG_ID_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-CSG_ID_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_Context_ID_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;
@@ -63,109 +63,109 @@ CSG_ID_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-CSG_ID_free(asn_TYPE_descriptor_t *td,
+HNBAP_Context_ID_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- CSG_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_Context_ID_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-CSG_ID_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_Context_ID_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- CSG_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_Context_ID_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-CSG_ID_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Context_ID_decode_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_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_Context_ID_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-CSG_ID_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_Context_ID_encode_der(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_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_Context_ID_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-CSG_ID_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Context_ID_decode_xer(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_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_Context_ID_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-CSG_ID_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_Context_ID_encode_xer(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_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_Context_ID_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-CSG_ID_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Context_ID_decode_uper(asn_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_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_Context_ID_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-CSG_ID_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_Context_ID_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- CSG_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_Context_ID_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-CSG_ID_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_Context_ID_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- CSG_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_Context_ID_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-CSG_ID_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Context_ID_decode_aper(asn_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_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_Context_ID_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_CSG_ID_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_Context_ID_constr_1 GCC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
- { APC_CONSTRAINED, 0, 0, 27l, 27l } /* (SIZE(27..27)) */,
+ { APC_CONSTRAINED, 0, 0, 24l, 24l } /* (SIZE(24..24)) */,
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_CSG_ID_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_Context_ID_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (3 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_CSG_ID = {
- "CSG-ID",
- "CSG-ID",
- CSG_ID_free,
- CSG_ID_print,
- CSG_ID_constraint,
- CSG_ID_decode_ber,
- CSG_ID_encode_der,
- CSG_ID_decode_xer,
- CSG_ID_encode_xer,
- CSG_ID_decode_uper,
- CSG_ID_encode_uper,
- CSG_ID_decode_aper,
- CSG_ID_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_Context_ID = {
+ "HNBAP_Context-ID",
+ "HNBAP_Context-ID",
+ HNBAP_Context_ID_free,
+ HNBAP_Context_ID_print,
+ HNBAP_Context_ID_constraint,
+ HNBAP_Context_ID_decode_ber,
+ HNBAP_Context_ID_encode_der,
+ HNBAP_Context_ID_decode_xer,
+ HNBAP_Context_ID_encode_xer,
+ HNBAP_Context_ID_decode_uper,
+ HNBAP_Context_ID_encode_uper,
+ HNBAP_Context_ID_decode_aper,
+ HNBAP_Context_ID_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_CSG_ID_tags_1,
- sizeof(asn_DEF_CSG_ID_tags_1)
- /sizeof(asn_DEF_CSG_ID_tags_1[0]), /* 1 */
- asn_DEF_CSG_ID_tags_1, /* Same as above */
- sizeof(asn_DEF_CSG_ID_tags_1)
- /sizeof(asn_DEF_CSG_ID_tags_1[0]), /* 1 */
- &asn_PER_type_CSG_ID_constr_1,
+ asn_DEF_HNBAP_Context_ID_tags_1,
+ sizeof(asn_DEF_HNBAP_Context_ID_tags_1)
+ /sizeof(asn_DEF_HNBAP_Context_ID_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_Context_ID_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_Context_ID_tags_1)
+ /sizeof(asn_DEF_HNBAP_Context_ID_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_Context_ID_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/TriggeringMessage.c b/src/hnbap/HNBAP_Criticality.c
index cd988ed..2c58963 100644
--- a/src/hnbap/TriggeringMessage.c
+++ b/src/hnbap/HNBAP_Criticality.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/TriggeringMessage.h>
+#include <osmocom/hnbap/HNBAP_Criticality.h>
int
-TriggeringMessage_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_Criticality_constraint(asn_TYPE_descriptor_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;
@@ -20,7 +20,7 @@ TriggeringMessage_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-TriggeringMessage_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_Criticality_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->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
@@ -40,129 +40,129 @@ TriggeringMessage_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-TriggeringMessage_free(asn_TYPE_descriptor_t *td,
+HNBAP_Criticality_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- TriggeringMessage_1_inherit_TYPE_descriptor(td);
+ HNBAP_Criticality_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-TriggeringMessage_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_Criticality_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- TriggeringMessage_1_inherit_TYPE_descriptor(td);
+ HNBAP_Criticality_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-TriggeringMessage_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Criticality_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- TriggeringMessage_1_inherit_TYPE_descriptor(td);
+ HNBAP_Criticality_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-TriggeringMessage_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_Criticality_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- TriggeringMessage_1_inherit_TYPE_descriptor(td);
+ HNBAP_Criticality_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-TriggeringMessage_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Criticality_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- TriggeringMessage_1_inherit_TYPE_descriptor(td);
+ HNBAP_Criticality_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-TriggeringMessage_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_Criticality_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- TriggeringMessage_1_inherit_TYPE_descriptor(td);
+ HNBAP_Criticality_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-TriggeringMessage_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Criticality_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- TriggeringMessage_1_inherit_TYPE_descriptor(td);
+ HNBAP_Criticality_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-TriggeringMessage_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_Criticality_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- TriggeringMessage_1_inherit_TYPE_descriptor(td);
+ HNBAP_Criticality_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-TriggeringMessage_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_Criticality_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- TriggeringMessage_1_inherit_TYPE_descriptor(td);
+ HNBAP_Criticality_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-TriggeringMessage_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Criticality_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- TriggeringMessage_1_inherit_TYPE_descriptor(td);
+ HNBAP_Criticality_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_TriggeringMessage_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_Criticality_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED, 2, 2, 0l, 2l } /* (0..2) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static const asn_INTEGER_enum_map_t asn_MAP_TriggeringMessage_value2enum_1[] = {
- { 0, 18, "initiating-message" },
- { 1, 18, "successful-outcome" },
- { 2, 20, "unsuccessful-outcome" }
+static const asn_INTEGER_enum_map_t asn_MAP_HNBAP_Criticality_value2enum_1[] = {
+ { 0, 6, "reject" },
+ { 1, 6, "ignore" },
+ { 2, 6, "notify" }
};
-static const unsigned int asn_MAP_TriggeringMessage_enum2value_1[] = {
- 0, /* initiating-message(0) */
- 1, /* successful-outcome(1) */
- 2 /* unsuccessful-outcome(2) */
+static const unsigned int asn_MAP_HNBAP_Criticality_enum2value_1[] = {
+ 1, /* ignore(1) */
+ 2, /* notify(2) */
+ 0 /* reject(0) */
};
-static const asn_INTEGER_specifics_t asn_SPC_TriggeringMessage_specs_1 = {
- asn_MAP_TriggeringMessage_value2enum_1, /* "tag" => N; sorted by tag */
- asn_MAP_TriggeringMessage_enum2value_1, /* N => "tag"; sorted by N */
+static const asn_INTEGER_specifics_t asn_SPC_HNBAP_Criticality_specs_1 = {
+ asn_MAP_HNBAP_Criticality_value2enum_1, /* "tag" => N; sorted by tag */
+ asn_MAP_HNBAP_Criticality_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 const ber_tlv_tag_t asn_DEF_TriggeringMessage_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_Criticality_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_TriggeringMessage = {
- "TriggeringMessage",
- "TriggeringMessage",
- TriggeringMessage_free,
- TriggeringMessage_print,
- TriggeringMessage_constraint,
- TriggeringMessage_decode_ber,
- TriggeringMessage_encode_der,
- TriggeringMessage_decode_xer,
- TriggeringMessage_encode_xer,
- TriggeringMessage_decode_uper,
- TriggeringMessage_encode_uper,
- TriggeringMessage_decode_aper,
- TriggeringMessage_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_Criticality = {
+ "HNBAP_Criticality",
+ "HNBAP_Criticality",
+ HNBAP_Criticality_free,
+ HNBAP_Criticality_print,
+ HNBAP_Criticality_constraint,
+ HNBAP_Criticality_decode_ber,
+ HNBAP_Criticality_encode_der,
+ HNBAP_Criticality_decode_xer,
+ HNBAP_Criticality_encode_xer,
+ HNBAP_Criticality_decode_uper,
+ HNBAP_Criticality_encode_uper,
+ HNBAP_Criticality_decode_aper,
+ HNBAP_Criticality_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_TriggeringMessage_tags_1,
- sizeof(asn_DEF_TriggeringMessage_tags_1)
- /sizeof(asn_DEF_TriggeringMessage_tags_1[0]), /* 1 */
- asn_DEF_TriggeringMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_TriggeringMessage_tags_1)
- /sizeof(asn_DEF_TriggeringMessage_tags_1[0]), /* 1 */
- &asn_PER_type_TriggeringMessage_constr_1,
+ asn_DEF_HNBAP_Criticality_tags_1,
+ sizeof(asn_DEF_HNBAP_Criticality_tags_1)
+ /sizeof(asn_DEF_HNBAP_Criticality_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_Criticality_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_Criticality_tags_1)
+ /sizeof(asn_DEF_HNBAP_Criticality_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_Criticality_constr_1,
0, 0, /* Defined elsewhere */
- &asn_SPC_TriggeringMessage_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_Criticality_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/CriticalityDiagnostics-IE-List.c b/src/hnbap/HNBAP_CriticalityDiagnostics-IE-List.c
index 3f79788..0c5be8c 100644
--- a/src/hnbap/CriticalityDiagnostics-IE-List.c
+++ b/src/hnbap/HNBAP_CriticalityDiagnostics-IE-List.c
@@ -5,9 +5,9 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/CriticalityDiagnostics-IE-List.h>
+#include <osmocom/hnbap/HNBAP_CriticalityDiagnostics-IE-List.h>
-static asn_per_constraints_t asn_PER_type_CriticalityDiagnostics_IE_List_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_CriticalityDiagnostics_IE_List_constr_1 GCC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 8, 8, 1l, 256l } /* (SIZE(1..256)) */,
0, 0 /* No PER value map */
@@ -16,7 +16,7 @@ static asn_TYPE_member_t asn_MBR_Member_2[] = {
{ ATF_NOFLAGS, 0, offsetof(struct Member, iECriticality),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_Criticality,
+ &asn_DEF_HNBAP_Criticality,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -25,7 +25,7 @@ static asn_TYPE_member_t asn_MBR_Member_2[] = {
{ ATF_NOFLAGS, 0, offsetof(struct Member, iE_ID),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_ProtocolIE_ID,
+ &asn_DEF_HNBAP_ProtocolIE_ID,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -34,7 +34,7 @@ static asn_TYPE_member_t asn_MBR_Member_2[] = {
{ ATF_NOFLAGS, 0, offsetof(struct Member, typeOfError),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_TypeOfError,
+ &asn_DEF_HNBAP_TypeOfError,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -43,7 +43,7 @@ static asn_TYPE_member_t asn_MBR_Member_2[] = {
{ ATF_POINTER, 1, offsetof(struct Member, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_IE_Extensions,
+ &asn_DEF_HNBAP_IE_Extensions,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -98,7 +98,7 @@ asn_TYPE_descriptor_t asn_DEF_Member_2 = {
&asn_SPC_Member_specs_2 /* Additional specs */
};
-static asn_TYPE_member_t asn_MBR_CriticalityDiagnostics_IE_List_1[] = {
+static asn_TYPE_member_t asn_MBR_HNBAP_CriticalityDiagnostics_IE_List_1[] = {
{ ATF_POINTER, 0, 0,
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
0,
@@ -109,17 +109,17 @@ static asn_TYPE_member_t asn_MBR_CriticalityDiagnostics_IE_List_1[] = {
""
},
};
-static const ber_tlv_tag_t asn_DEF_CriticalityDiagnostics_IE_List_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_CriticalityDiagnostics_IE_List_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static asn_SET_OF_specifics_t asn_SPC_CriticalityDiagnostics_IE_List_specs_1 = {
- sizeof(struct CriticalityDiagnostics_IE_List),
- offsetof(struct CriticalityDiagnostics_IE_List, _asn_ctx),
+static asn_SET_OF_specifics_t asn_SPC_HNBAP_CriticalityDiagnostics_IE_List_specs_1 = {
+ sizeof(struct HNBAP_CriticalityDiagnostics_IE_List),
+ offsetof(struct HNBAP_CriticalityDiagnostics_IE_List, _asn_ctx),
0, /* XER encoding is XMLDelimitedItemList */
};
-asn_TYPE_descriptor_t asn_DEF_CriticalityDiagnostics_IE_List = {
- "CriticalityDiagnostics-IE-List",
- "CriticalityDiagnostics-IE-List",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_CriticalityDiagnostics_IE_List = {
+ "HNBAP_CriticalityDiagnostics-IE-List",
+ "HNBAP_CriticalityDiagnostics-IE-List",
SEQUENCE_OF_free,
SEQUENCE_OF_print,
SEQUENCE_OF_constraint,
@@ -132,15 +132,15 @@ asn_TYPE_descriptor_t asn_DEF_CriticalityDiagnostics_IE_List = {
SEQUENCE_OF_decode_aper,
SEQUENCE_OF_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_CriticalityDiagnostics_IE_List_tags_1,
- sizeof(asn_DEF_CriticalityDiagnostics_IE_List_tags_1)
- /sizeof(asn_DEF_CriticalityDiagnostics_IE_List_tags_1[0]), /* 1 */
- asn_DEF_CriticalityDiagnostics_IE_List_tags_1, /* Same as above */
- sizeof(asn_DEF_CriticalityDiagnostics_IE_List_tags_1)
- /sizeof(asn_DEF_CriticalityDiagnostics_IE_List_tags_1[0]), /* 1 */
- &asn_PER_type_CriticalityDiagnostics_IE_List_constr_1,
- asn_MBR_CriticalityDiagnostics_IE_List_1,
+ asn_DEF_HNBAP_CriticalityDiagnostics_IE_List_tags_1,
+ sizeof(asn_DEF_HNBAP_CriticalityDiagnostics_IE_List_tags_1)
+ /sizeof(asn_DEF_HNBAP_CriticalityDiagnostics_IE_List_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_CriticalityDiagnostics_IE_List_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_CriticalityDiagnostics_IE_List_tags_1)
+ /sizeof(asn_DEF_HNBAP_CriticalityDiagnostics_IE_List_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_CriticalityDiagnostics_IE_List_constr_1,
+ asn_MBR_HNBAP_CriticalityDiagnostics_IE_List_1,
1, /* Single element */
- &asn_SPC_CriticalityDiagnostics_IE_List_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_CriticalityDiagnostics_IE_List_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/CriticalityDiagnostics.c b/src/hnbap/HNBAP_CriticalityDiagnostics.c
index d84b417..a243ce4 100644
--- a/src/hnbap/CriticalityDiagnostics.c
+++ b/src/hnbap/HNBAP_CriticalityDiagnostics.c
@@ -5,79 +5,79 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/CriticalityDiagnostics.h>
+#include <osmocom/hnbap/HNBAP_CriticalityDiagnostics.h>
-static asn_TYPE_member_t asn_MBR_CriticalityDiagnostics_1[] = {
- { ATF_POINTER, 5, offsetof(struct CriticalityDiagnostics, procedureCode),
+static asn_TYPE_member_t asn_MBR_HNBAP_CriticalityDiagnostics_1[] = {
+ { ATF_POINTER, 5, offsetof(struct HNBAP_CriticalityDiagnostics, procedureCode),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_ProcedureCode,
+ &asn_DEF_HNBAP_ProcedureCode,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"procedureCode"
},
- { ATF_POINTER, 4, offsetof(struct CriticalityDiagnostics, triggeringMessage),
+ { ATF_POINTER, 4, offsetof(struct HNBAP_CriticalityDiagnostics, triggeringMessage),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_TriggeringMessage,
+ &asn_DEF_HNBAP_TriggeringMessage,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"triggeringMessage"
},
- { ATF_POINTER, 3, offsetof(struct CriticalityDiagnostics, procedureCriticality),
+ { ATF_POINTER, 3, offsetof(struct HNBAP_CriticalityDiagnostics, procedureCriticality),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_Criticality,
+ &asn_DEF_HNBAP_Criticality,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"procedureCriticality"
},
- { ATF_POINTER, 2, offsetof(struct CriticalityDiagnostics, iEsCriticalityDiagnostics),
+ { ATF_POINTER, 2, offsetof(struct HNBAP_CriticalityDiagnostics, iEsCriticalityDiagnostics),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_CriticalityDiagnostics_IE_List,
+ &asn_DEF_HNBAP_CriticalityDiagnostics_IE_List,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"iEsCriticalityDiagnostics"
},
- { ATF_POINTER, 1, offsetof(struct CriticalityDiagnostics, iE_Extensions),
+ { ATF_POINTER, 1, offsetof(struct HNBAP_CriticalityDiagnostics, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_IE_Extensions,
+ &asn_DEF_HNBAP_IE_Extensions,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"iE-Extensions"
},
};
-static const int asn_MAP_CriticalityDiagnostics_oms_1[] = { 0, 1, 2, 3, 4 };
-static const ber_tlv_tag_t asn_DEF_CriticalityDiagnostics_tags_1[] = {
+static const int asn_MAP_HNBAP_CriticalityDiagnostics_oms_1[] = { 0, 1, 2, 3, 4 };
+static const ber_tlv_tag_t asn_DEF_HNBAP_CriticalityDiagnostics_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_CriticalityDiagnostics_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_CriticalityDiagnostics_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* procedureCode */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* triggeringMessage */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* procedureCriticality */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* iEsCriticalityDiagnostics */
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* iE-Extensions */
};
-static asn_SEQUENCE_specifics_t asn_SPC_CriticalityDiagnostics_specs_1 = {
- sizeof(struct CriticalityDiagnostics),
- offsetof(struct CriticalityDiagnostics, _asn_ctx),
- asn_MAP_CriticalityDiagnostics_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_CriticalityDiagnostics_specs_1 = {
+ sizeof(struct HNBAP_CriticalityDiagnostics),
+ offsetof(struct HNBAP_CriticalityDiagnostics, _asn_ctx),
+ asn_MAP_HNBAP_CriticalityDiagnostics_tag2el_1,
5, /* Count of tags in the map */
- asn_MAP_CriticalityDiagnostics_oms_1, /* Optional members */
+ asn_MAP_HNBAP_CriticalityDiagnostics_oms_1, /* Optional members */
5, 0, /* Root/Additions */
4, /* Start extensions */
6 /* Stop extensions */
};
-asn_TYPE_descriptor_t asn_DEF_CriticalityDiagnostics = {
- "CriticalityDiagnostics",
- "CriticalityDiagnostics",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_CriticalityDiagnostics = {
+ "HNBAP_CriticalityDiagnostics",
+ "HNBAP_CriticalityDiagnostics",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -90,15 +90,15 @@ asn_TYPE_descriptor_t asn_DEF_CriticalityDiagnostics = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_CriticalityDiagnostics_tags_1,
- sizeof(asn_DEF_CriticalityDiagnostics_tags_1)
- /sizeof(asn_DEF_CriticalityDiagnostics_tags_1[0]), /* 1 */
- asn_DEF_CriticalityDiagnostics_tags_1, /* Same as above */
- sizeof(asn_DEF_CriticalityDiagnostics_tags_1)
- /sizeof(asn_DEF_CriticalityDiagnostics_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_CriticalityDiagnostics_tags_1,
+ sizeof(asn_DEF_HNBAP_CriticalityDiagnostics_tags_1)
+ /sizeof(asn_DEF_HNBAP_CriticalityDiagnostics_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_CriticalityDiagnostics_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_CriticalityDiagnostics_tags_1)
+ /sizeof(asn_DEF_HNBAP_CriticalityDiagnostics_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_CriticalityDiagnostics_1,
+ asn_MBR_HNBAP_CriticalityDiagnostics_1,
5, /* Elements count */
- &asn_SPC_CriticalityDiagnostics_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_CriticalityDiagnostics_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/PTMSI.c b/src/hnbap/HNBAP_ESN.c
index 9bd77f1..c08c2af 100644
--- a/src/hnbap/PTMSI.c
+++ b/src/hnbap/HNBAP_ESN.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/PTMSI.h>
+#include <osmocom/hnbap/HNBAP_ESN.h>
int
-PTMSI_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_ESN_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;
@@ -43,7 +43,7 @@ PTMSI_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-PTMSI_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_ESN_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;
@@ -63,109 +63,109 @@ PTMSI_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-PTMSI_free(asn_TYPE_descriptor_t *td,
+HNBAP_ESN_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- PTMSI_1_inherit_TYPE_descriptor(td);
+ HNBAP_ESN_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-PTMSI_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_ESN_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- PTMSI_1_inherit_TYPE_descriptor(td);
+ HNBAP_ESN_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-PTMSI_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_ESN_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- PTMSI_1_inherit_TYPE_descriptor(td);
+ HNBAP_ESN_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-PTMSI_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_ESN_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- PTMSI_1_inherit_TYPE_descriptor(td);
+ HNBAP_ESN_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-PTMSI_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_ESN_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- PTMSI_1_inherit_TYPE_descriptor(td);
+ HNBAP_ESN_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-PTMSI_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_ESN_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- PTMSI_1_inherit_TYPE_descriptor(td);
+ HNBAP_ESN_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-PTMSI_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_ESN_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- PTMSI_1_inherit_TYPE_descriptor(td);
+ HNBAP_ESN_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-PTMSI_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_ESN_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- PTMSI_1_inherit_TYPE_descriptor(td);
+ HNBAP_ESN_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-PTMSI_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_ESN_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- PTMSI_1_inherit_TYPE_descriptor(td);
+ HNBAP_ESN_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-PTMSI_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_ESN_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- PTMSI_1_inherit_TYPE_descriptor(td);
+ HNBAP_ESN_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_PTMSI_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_ESN_constr_1 GCC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 32l, 32l } /* (SIZE(32..32)) */,
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_PTMSI_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_ESN_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (3 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_PTMSI = {
- "PTMSI",
- "PTMSI",
- PTMSI_free,
- PTMSI_print,
- PTMSI_constraint,
- PTMSI_decode_ber,
- PTMSI_encode_der,
- PTMSI_decode_xer,
- PTMSI_encode_xer,
- PTMSI_decode_uper,
- PTMSI_encode_uper,
- PTMSI_decode_aper,
- PTMSI_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_ESN = {
+ "HNBAP_ESN",
+ "HNBAP_ESN",
+ HNBAP_ESN_free,
+ HNBAP_ESN_print,
+ HNBAP_ESN_constraint,
+ HNBAP_ESN_decode_ber,
+ HNBAP_ESN_encode_der,
+ HNBAP_ESN_decode_xer,
+ HNBAP_ESN_encode_xer,
+ HNBAP_ESN_decode_uper,
+ HNBAP_ESN_encode_uper,
+ HNBAP_ESN_decode_aper,
+ HNBAP_ESN_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_PTMSI_tags_1,
- sizeof(asn_DEF_PTMSI_tags_1)
- /sizeof(asn_DEF_PTMSI_tags_1[0]), /* 1 */
- asn_DEF_PTMSI_tags_1, /* Same as above */
- sizeof(asn_DEF_PTMSI_tags_1)
- /sizeof(asn_DEF_PTMSI_tags_1[0]), /* 1 */
- &asn_PER_type_PTMSI_constr_1,
+ asn_DEF_HNBAP_ESN_tags_1,
+ sizeof(asn_DEF_HNBAP_ESN_tags_1)
+ /sizeof(asn_DEF_HNBAP_ESN_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_ESN_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_ESN_tags_1)
+ /sizeof(asn_DEF_HNBAP_ESN_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_ESN_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/ErrorIndication.c b/src/hnbap/HNBAP_ErrorIndication.c
index de1994e..dc70c9b 100644
--- a/src/hnbap/ErrorIndication.c
+++ b/src/hnbap/HNBAP_ErrorIndication.c
@@ -5,7 +5,7 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/ErrorIndication.h>
+#include <osmocom/hnbap/HNBAP_ErrorIndication.h>
static int
memb_errorIndication_ies_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
@@ -45,9 +45,9 @@ static asn_per_constraints_t asn_PER_memb_errorIndication_ies_constr_2 GCC_NOTUS
};
static asn_TYPE_member_t asn_MBR_errorIndication_ies_2[] = {
{ ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
+ -1 /* Ambiguous tag (CHOICE?) */,
0,
- &asn_DEF_IE,
+ &asn_DEF_HNBAP_IE,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -91,8 +91,8 @@ asn_TYPE_descriptor_t asn_DEF_errorIndication_ies_2 = {
&asn_SPC_errorIndication_ies_specs_2 /* Additional specs */
};
-static asn_TYPE_member_t asn_MBR_ErrorIndication_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct ErrorIndication, errorIndication_ies),
+static asn_TYPE_member_t asn_MBR_HNBAP_ErrorIndication_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_ErrorIndication, errorIndication_ies),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
0,
&asn_DEF_errorIndication_ies_2,
@@ -102,24 +102,24 @@ static asn_TYPE_member_t asn_MBR_ErrorIndication_1[] = {
"errorIndication-ies"
},
};
-static const ber_tlv_tag_t asn_DEF_ErrorIndication_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_ErrorIndication_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_ErrorIndication_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_ErrorIndication_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* errorIndication-ies */
};
-static asn_SEQUENCE_specifics_t asn_SPC_ErrorIndication_specs_1 = {
- sizeof(struct ErrorIndication),
- offsetof(struct ErrorIndication, _asn_ctx),
- asn_MAP_ErrorIndication_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_ErrorIndication_specs_1 = {
+ sizeof(struct HNBAP_ErrorIndication),
+ offsetof(struct HNBAP_ErrorIndication, _asn_ctx),
+ asn_MAP_HNBAP_ErrorIndication_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_ErrorIndication = {
- "ErrorIndication",
- "ErrorIndication",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_ErrorIndication = {
+ "HNBAP_ErrorIndication",
+ "HNBAP_ErrorIndication",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -132,15 +132,15 @@ asn_TYPE_descriptor_t asn_DEF_ErrorIndication = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_ErrorIndication_tags_1,
- sizeof(asn_DEF_ErrorIndication_tags_1)
- /sizeof(asn_DEF_ErrorIndication_tags_1[0]), /* 1 */
- asn_DEF_ErrorIndication_tags_1, /* Same as above */
- sizeof(asn_DEF_ErrorIndication_tags_1)
- /sizeof(asn_DEF_ErrorIndication_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_ErrorIndication_tags_1,
+ sizeof(asn_DEF_HNBAP_ErrorIndication_tags_1)
+ /sizeof(asn_DEF_HNBAP_ErrorIndication_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_ErrorIndication_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_ErrorIndication_tags_1)
+ /sizeof(asn_DEF_HNBAP_ErrorIndication_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_ErrorIndication_1,
+ asn_MBR_HNBAP_ErrorIndication_1,
1, /* Elements count */
- &asn_SPC_ErrorIndication_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_ErrorIndication_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/Ipv4Address.c b/src/hnbap/HNBAP_GTP-TEI.c
index 2dd8263..f8a08be 100644
--- a/src/hnbap/Ipv4Address.c
+++ b/src/hnbap/HNBAP_GTP-TEI.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/Ipv4Address.h>
+#include <osmocom/hnbap/HNBAP_GTP-TEI.h>
int
-Ipv4Address_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_GTP_TEI_constraint(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;
@@ -38,7 +38,7 @@ Ipv4Address_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-Ipv4Address_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_GTP_TEI_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->check_constraints = asn_DEF_OCTET_STRING.check_constraints;
@@ -58,109 +58,109 @@ Ipv4Address_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-Ipv4Address_free(asn_TYPE_descriptor_t *td,
+HNBAP_GTP_TEI_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- Ipv4Address_1_inherit_TYPE_descriptor(td);
+ HNBAP_GTP_TEI_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-Ipv4Address_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_GTP_TEI_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- Ipv4Address_1_inherit_TYPE_descriptor(td);
+ HNBAP_GTP_TEI_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-Ipv4Address_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_GTP_TEI_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- Ipv4Address_1_inherit_TYPE_descriptor(td);
+ HNBAP_GTP_TEI_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-Ipv4Address_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_GTP_TEI_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- Ipv4Address_1_inherit_TYPE_descriptor(td);
+ HNBAP_GTP_TEI_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-Ipv4Address_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_GTP_TEI_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- Ipv4Address_1_inherit_TYPE_descriptor(td);
+ HNBAP_GTP_TEI_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-Ipv4Address_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_GTP_TEI_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- Ipv4Address_1_inherit_TYPE_descriptor(td);
+ HNBAP_GTP_TEI_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-Ipv4Address_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_GTP_TEI_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- Ipv4Address_1_inherit_TYPE_descriptor(td);
+ HNBAP_GTP_TEI_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-Ipv4Address_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_GTP_TEI_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- Ipv4Address_1_inherit_TYPE_descriptor(td);
+ HNBAP_GTP_TEI_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-Ipv4Address_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_GTP_TEI_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- Ipv4Address_1_inherit_TYPE_descriptor(td);
+ HNBAP_GTP_TEI_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-Ipv4Address_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_GTP_TEI_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- Ipv4Address_1_inherit_TYPE_descriptor(td);
+ HNBAP_GTP_TEI_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_Ipv4Address_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_GTP_TEI_constr_1 GCC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 4l, 4l } /* (SIZE(4..4)) */,
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_Ipv4Address_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_GTP_TEI_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_Ipv4Address = {
- "Ipv4Address",
- "Ipv4Address",
- Ipv4Address_free,
- Ipv4Address_print,
- Ipv4Address_constraint,
- Ipv4Address_decode_ber,
- Ipv4Address_encode_der,
- Ipv4Address_decode_xer,
- Ipv4Address_encode_xer,
- Ipv4Address_decode_uper,
- Ipv4Address_encode_uper,
- Ipv4Address_decode_aper,
- Ipv4Address_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_GTP_TEI = {
+ "HNBAP_GTP-TEI",
+ "HNBAP_GTP-TEI",
+ HNBAP_GTP_TEI_free,
+ HNBAP_GTP_TEI_print,
+ HNBAP_GTP_TEI_constraint,
+ HNBAP_GTP_TEI_decode_ber,
+ HNBAP_GTP_TEI_encode_der,
+ HNBAP_GTP_TEI_decode_xer,
+ HNBAP_GTP_TEI_encode_xer,
+ HNBAP_GTP_TEI_decode_uper,
+ HNBAP_GTP_TEI_encode_uper,
+ HNBAP_GTP_TEI_decode_aper,
+ HNBAP_GTP_TEI_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_Ipv4Address_tags_1,
- sizeof(asn_DEF_Ipv4Address_tags_1)
- /sizeof(asn_DEF_Ipv4Address_tags_1[0]), /* 1 */
- asn_DEF_Ipv4Address_tags_1, /* Same as above */
- sizeof(asn_DEF_Ipv4Address_tags_1)
- /sizeof(asn_DEF_Ipv4Address_tags_1[0]), /* 1 */
- &asn_PER_type_Ipv4Address_constr_1,
+ asn_DEF_HNBAP_GTP_TEI_tags_1,
+ sizeof(asn_DEF_HNBAP_GTP_TEI_tags_1)
+ /sizeof(asn_DEF_HNBAP_GTP_TEI_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_GTP_TEI_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_GTP_TEI_tags_1)
+ /sizeof(asn_DEF_HNBAP_GTP_TEI_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_GTP_TEI_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/GeographicalCoordinates.c b/src/hnbap/HNBAP_GeographicalCoordinates.c
index 75aff8b..1176be9 100644
--- a/src/hnbap/GeographicalCoordinates.c
+++ b/src/hnbap/HNBAP_GeographicalCoordinates.c
@@ -5,7 +5,7 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/GeographicalCoordinates.h>
+#include <osmocom/hnbap/HNBAP_GeographicalCoordinates.h>
static int
latitudeSign_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
@@ -226,8 +226,8 @@ asn_TYPE_descriptor_t asn_DEF_latitudeSign_2 = {
&asn_SPC_latitudeSign_specs_2 /* Additional specs */
};
-static asn_TYPE_member_t asn_MBR_GeographicalCoordinates_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct GeographicalCoordinates, latitudeSign),
+static asn_TYPE_member_t asn_MBR_HNBAP_GeographicalCoordinates_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_GeographicalCoordinates, latitudeSign),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_latitudeSign_2,
@@ -236,7 +236,7 @@ static asn_TYPE_member_t asn_MBR_GeographicalCoordinates_1[] = {
0,
"latitudeSign"
},
- { ATF_NOFLAGS, 0, offsetof(struct GeographicalCoordinates, latitude),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_GeographicalCoordinates, latitude),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_NativeInteger,
@@ -245,7 +245,7 @@ static asn_TYPE_member_t asn_MBR_GeographicalCoordinates_1[] = {
0,
"latitude"
},
- { ATF_NOFLAGS, 0, offsetof(struct GeographicalCoordinates, longitude),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_GeographicalCoordinates, longitude),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_NativeInteger,
@@ -254,39 +254,39 @@ static asn_TYPE_member_t asn_MBR_GeographicalCoordinates_1[] = {
0,
"longitude"
},
- { ATF_POINTER, 1, offsetof(struct GeographicalCoordinates, iE_Extensions),
+ { ATF_POINTER, 1, offsetof(struct HNBAP_GeographicalCoordinates, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_IE_Extensions,
+ &asn_DEF_HNBAP_IE_Extensions,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"iE-Extensions"
},
};
-static const int asn_MAP_GeographicalCoordinates_oms_1[] = { 3 };
-static const ber_tlv_tag_t asn_DEF_GeographicalCoordinates_tags_1[] = {
+static const int asn_MAP_HNBAP_GeographicalCoordinates_oms_1[] = { 3 };
+static const ber_tlv_tag_t asn_DEF_HNBAP_GeographicalCoordinates_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_GeographicalCoordinates_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_GeographicalCoordinates_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* latitudeSign */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* latitude */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* longitude */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* iE-Extensions */
};
-static asn_SEQUENCE_specifics_t asn_SPC_GeographicalCoordinates_specs_1 = {
- sizeof(struct GeographicalCoordinates),
- offsetof(struct GeographicalCoordinates, _asn_ctx),
- asn_MAP_GeographicalCoordinates_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_GeographicalCoordinates_specs_1 = {
+ sizeof(struct HNBAP_GeographicalCoordinates),
+ offsetof(struct HNBAP_GeographicalCoordinates, _asn_ctx),
+ asn_MAP_HNBAP_GeographicalCoordinates_tag2el_1,
4, /* Count of tags in the map */
- asn_MAP_GeographicalCoordinates_oms_1, /* Optional members */
+ asn_MAP_HNBAP_GeographicalCoordinates_oms_1, /* Optional members */
1, 0, /* Root/Additions */
3, /* Start extensions */
5 /* Stop extensions */
};
-asn_TYPE_descriptor_t asn_DEF_GeographicalCoordinates = {
- "GeographicalCoordinates",
- "GeographicalCoordinates",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_GeographicalCoordinates = {
+ "HNBAP_GeographicalCoordinates",
+ "HNBAP_GeographicalCoordinates",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -299,15 +299,15 @@ asn_TYPE_descriptor_t asn_DEF_GeographicalCoordinates = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_GeographicalCoordinates_tags_1,
- sizeof(asn_DEF_GeographicalCoordinates_tags_1)
- /sizeof(asn_DEF_GeographicalCoordinates_tags_1[0]), /* 1 */
- asn_DEF_GeographicalCoordinates_tags_1, /* Same as above */
- sizeof(asn_DEF_GeographicalCoordinates_tags_1)
- /sizeof(asn_DEF_GeographicalCoordinates_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_GeographicalCoordinates_tags_1,
+ sizeof(asn_DEF_HNBAP_GeographicalCoordinates_tags_1)
+ /sizeof(asn_DEF_HNBAP_GeographicalCoordinates_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_GeographicalCoordinates_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_GeographicalCoordinates_tags_1)
+ /sizeof(asn_DEF_HNBAP_GeographicalCoordinates_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_GeographicalCoordinates_1,
+ asn_MBR_HNBAP_GeographicalCoordinates_1,
4, /* Elements count */
- &asn_SPC_GeographicalCoordinates_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_GeographicalCoordinates_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/HNBAP_GeographicalLocation.c b/src/hnbap/HNBAP_GeographicalLocation.c
new file mode 100644
index 0000000..bf002c0
--- /dev/null
+++ b/src/hnbap/HNBAP_GeographicalLocation.c
@@ -0,0 +1,84 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#include <osmocom/hnbap/HNBAP_GeographicalLocation.h>
+
+static asn_TYPE_member_t asn_MBR_HNBAP_GeographicalLocation_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_GeographicalLocation, geographicalCoordinates),
+ (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
+ -1, /* IMPLICIT tag at current level */
+ &asn_DEF_HNBAP_GeographicalCoordinates,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ "geographicalCoordinates"
+ },
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_GeographicalLocation, altitudeAndDirection),
+ (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
+ -1, /* IMPLICIT tag at current level */
+ &asn_DEF_HNBAP_AltitudeAndDirection,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ "altitudeAndDirection"
+ },
+ { ATF_POINTER, 1, offsetof(struct HNBAP_GeographicalLocation, iE_Extensions),
+ (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
+ -1, /* IMPLICIT tag at current level */
+ &asn_DEF_HNBAP_IE_Extensions,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ "iE-Extensions"
+ },
+};
+static const int asn_MAP_HNBAP_GeographicalLocation_oms_1[] = { 2 };
+static const ber_tlv_tag_t asn_DEF_HNBAP_GeographicalLocation_tags_1[] = {
+ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
+};
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_GeographicalLocation_tag2el_1[] = {
+ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* geographicalCoordinates */
+ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* altitudeAndDirection */
+ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
+};
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_GeographicalLocation_specs_1 = {
+ sizeof(struct HNBAP_GeographicalLocation),
+ offsetof(struct HNBAP_GeographicalLocation, _asn_ctx),
+ asn_MAP_HNBAP_GeographicalLocation_tag2el_1,
+ 3, /* Count of tags in the map */
+ asn_MAP_HNBAP_GeographicalLocation_oms_1, /* Optional members */
+ 1, 0, /* Root/Additions */
+ 2, /* Start extensions */
+ 4 /* Stop extensions */
+};
+asn_TYPE_descriptor_t asn_DEF_HNBAP_GeographicalLocation = {
+ "HNBAP_GeographicalLocation",
+ "HNBAP_GeographicalLocation",
+ SEQUENCE_free,
+ SEQUENCE_print,
+ SEQUENCE_constraint,
+ SEQUENCE_decode_ber,
+ SEQUENCE_encode_der,
+ SEQUENCE_decode_xer,
+ SEQUENCE_encode_xer,
+ SEQUENCE_decode_uper,
+ SEQUENCE_encode_uper,
+ SEQUENCE_decode_aper,
+ SEQUENCE_encode_aper,
+ 0, /* Use generic outmost tag fetcher */
+ asn_DEF_HNBAP_GeographicalLocation_tags_1,
+ sizeof(asn_DEF_HNBAP_GeographicalLocation_tags_1)
+ /sizeof(asn_DEF_HNBAP_GeographicalLocation_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_GeographicalLocation_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_GeographicalLocation_tags_1)
+ /sizeof(asn_DEF_HNBAP_GeographicalLocation_tags_1[0]), /* 1 */
+ 0, /* No PER visible constraints */
+ asn_MBR_HNBAP_GeographicalLocation_1,
+ 3, /* Elements count */
+ &asn_SPC_HNBAP_GeographicalLocation_specs_1 /* Additional specs */
+};
+
diff --git a/src/hnbap/HNB-Cell-Access-Mode.c b/src/hnbap/HNBAP_HNB-Cell-Access-Mode.c
index ff8a2f3..adeef7d 100644
--- a/src/hnbap/HNB-Cell-Access-Mode.c
+++ b/src/hnbap/HNBAP_HNB-Cell-Access-Mode.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/HNB-Cell-Access-Mode.h>
+#include <osmocom/hnbap/HNBAP_HNB-Cell-Access-Mode.h>
int
-HNB_Cell_Access_Mode_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_HNB_Cell_Access_Mode_constraint(asn_TYPE_descriptor_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;
@@ -20,7 +20,7 @@ HNB_Cell_Access_Mode_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-HNB_Cell_Access_Mode_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_HNB_Cell_Access_Mode_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->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
@@ -40,131 +40,131 @@ HNB_Cell_Access_Mode_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-HNB_Cell_Access_Mode_free(asn_TYPE_descriptor_t *td,
+HNBAP_HNB_Cell_Access_Mode_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- HNB_Cell_Access_Mode_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNB_Cell_Access_Mode_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-HNB_Cell_Access_Mode_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_HNB_Cell_Access_Mode_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- HNB_Cell_Access_Mode_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNB_Cell_Access_Mode_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-HNB_Cell_Access_Mode_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_HNB_Cell_Access_Mode_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- HNB_Cell_Access_Mode_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNB_Cell_Access_Mode_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-HNB_Cell_Access_Mode_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_HNB_Cell_Access_Mode_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- HNB_Cell_Access_Mode_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNB_Cell_Access_Mode_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-HNB_Cell_Access_Mode_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_HNB_Cell_Access_Mode_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- HNB_Cell_Access_Mode_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNB_Cell_Access_Mode_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-HNB_Cell_Access_Mode_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_HNB_Cell_Access_Mode_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- HNB_Cell_Access_Mode_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNB_Cell_Access_Mode_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-HNB_Cell_Access_Mode_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_HNB_Cell_Access_Mode_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- HNB_Cell_Access_Mode_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNB_Cell_Access_Mode_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-HNB_Cell_Access_Mode_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_HNB_Cell_Access_Mode_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- HNB_Cell_Access_Mode_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNB_Cell_Access_Mode_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-HNB_Cell_Access_Mode_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_HNB_Cell_Access_Mode_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- HNB_Cell_Access_Mode_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNB_Cell_Access_Mode_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-HNB_Cell_Access_Mode_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_HNB_Cell_Access_Mode_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- HNB_Cell_Access_Mode_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNB_Cell_Access_Mode_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_HNB_Cell_Access_Mode_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_HNB_Cell_Access_Mode_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0l, 2l } /* (0..2,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static const asn_INTEGER_enum_map_t asn_MAP_HNB_Cell_Access_Mode_value2enum_1[] = {
+static const asn_INTEGER_enum_map_t asn_MAP_HNBAP_HNB_Cell_Access_Mode_value2enum_1[] = {
{ 0, 6, "closed" },
{ 1, 6, "hybrid" },
{ 2, 4, "open" }
/* This list is extensible */
};
-static const unsigned int asn_MAP_HNB_Cell_Access_Mode_enum2value_1[] = {
+static const unsigned int asn_MAP_HNBAP_HNB_Cell_Access_Mode_enum2value_1[] = {
0, /* closed(0) */
1, /* hybrid(1) */
2 /* open(2) */
/* This list is extensible */
};
-static const asn_INTEGER_specifics_t asn_SPC_HNB_Cell_Access_Mode_specs_1 = {
- asn_MAP_HNB_Cell_Access_Mode_value2enum_1, /* "tag" => N; sorted by tag */
- asn_MAP_HNB_Cell_Access_Mode_enum2value_1, /* N => "tag"; sorted by N */
+static const asn_INTEGER_specifics_t asn_SPC_HNBAP_HNB_Cell_Access_Mode_specs_1 = {
+ asn_MAP_HNBAP_HNB_Cell_Access_Mode_value2enum_1, /* "tag" => N; sorted by tag */
+ asn_MAP_HNBAP_HNB_Cell_Access_Mode_enum2value_1, /* N => "tag"; sorted by N */
3, /* Number of elements in the maps */
4, /* Extensions before this member */
1, /* Strict enumeration */
0, /* Native long size */
0
};
-static const ber_tlv_tag_t asn_DEF_HNB_Cell_Access_Mode_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_HNB_Cell_Access_Mode_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_HNB_Cell_Access_Mode = {
- "HNB-Cell-Access-Mode",
- "HNB-Cell-Access-Mode",
- HNB_Cell_Access_Mode_free,
- HNB_Cell_Access_Mode_print,
- HNB_Cell_Access_Mode_constraint,
- HNB_Cell_Access_Mode_decode_ber,
- HNB_Cell_Access_Mode_encode_der,
- HNB_Cell_Access_Mode_decode_xer,
- HNB_Cell_Access_Mode_encode_xer,
- HNB_Cell_Access_Mode_decode_uper,
- HNB_Cell_Access_Mode_encode_uper,
- HNB_Cell_Access_Mode_decode_aper,
- HNB_Cell_Access_Mode_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_HNB_Cell_Access_Mode = {
+ "HNBAP_HNB-Cell-Access-Mode",
+ "HNBAP_HNB-Cell-Access-Mode",
+ HNBAP_HNB_Cell_Access_Mode_free,
+ HNBAP_HNB_Cell_Access_Mode_print,
+ HNBAP_HNB_Cell_Access_Mode_constraint,
+ HNBAP_HNB_Cell_Access_Mode_decode_ber,
+ HNBAP_HNB_Cell_Access_Mode_encode_der,
+ HNBAP_HNB_Cell_Access_Mode_decode_xer,
+ HNBAP_HNB_Cell_Access_Mode_encode_xer,
+ HNBAP_HNB_Cell_Access_Mode_decode_uper,
+ HNBAP_HNB_Cell_Access_Mode_encode_uper,
+ HNBAP_HNB_Cell_Access_Mode_decode_aper,
+ HNBAP_HNB_Cell_Access_Mode_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_HNB_Cell_Access_Mode_tags_1,
- sizeof(asn_DEF_HNB_Cell_Access_Mode_tags_1)
- /sizeof(asn_DEF_HNB_Cell_Access_Mode_tags_1[0]), /* 1 */
- asn_DEF_HNB_Cell_Access_Mode_tags_1, /* Same as above */
- sizeof(asn_DEF_HNB_Cell_Access_Mode_tags_1)
- /sizeof(asn_DEF_HNB_Cell_Access_Mode_tags_1[0]), /* 1 */
- &asn_PER_type_HNB_Cell_Access_Mode_constr_1,
+ asn_DEF_HNBAP_HNB_Cell_Access_Mode_tags_1,
+ sizeof(asn_DEF_HNBAP_HNB_Cell_Access_Mode_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNB_Cell_Access_Mode_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_HNB_Cell_Access_Mode_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_HNB_Cell_Access_Mode_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNB_Cell_Access_Mode_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_HNB_Cell_Access_Mode_constr_1,
0, 0, /* Defined elsewhere */
- &asn_SPC_HNB_Cell_Access_Mode_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_HNB_Cell_Access_Mode_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/HNBAP_HNB-Cell-Identifier.c b/src/hnbap/HNBAP_HNB-Cell-Identifier.c
new file mode 100644
index 0000000..e4e4ec1
--- /dev/null
+++ b/src/hnbap/HNBAP_HNB-Cell-Identifier.c
@@ -0,0 +1,84 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#include <osmocom/hnbap/HNBAP_HNB-Cell-Identifier.h>
+
+static asn_TYPE_member_t asn_MBR_HNBAP_HNB_Cell_Identifier_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_HNB_Cell_Identifier, pLMNidentity),
+ (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
+ -1, /* IMPLICIT tag at current level */
+ &asn_DEF_HNBAP_PLMNidentity,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ "pLMNidentity"
+ },
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_HNB_Cell_Identifier, cellIdentity),
+ (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
+ -1, /* IMPLICIT tag at current level */
+ &asn_DEF_HNBAP_CellIdentity,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ "cellIdentity"
+ },
+ { ATF_POINTER, 1, offsetof(struct HNBAP_HNB_Cell_Identifier, iE_Extensions),
+ (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
+ -1, /* IMPLICIT tag at current level */
+ &asn_DEF_HNBAP_IE_Extensions,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ "iE-Extensions"
+ },
+};
+static const int asn_MAP_HNBAP_HNB_Cell_Identifier_oms_1[] = { 2 };
+static const ber_tlv_tag_t asn_DEF_HNBAP_HNB_Cell_Identifier_tags_1[] = {
+ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
+};
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_HNB_Cell_Identifier_tag2el_1[] = {
+ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pLMNidentity */
+ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* cellIdentity */
+ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
+};
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_HNB_Cell_Identifier_specs_1 = {
+ sizeof(struct HNBAP_HNB_Cell_Identifier),
+ offsetof(struct HNBAP_HNB_Cell_Identifier, _asn_ctx),
+ asn_MAP_HNBAP_HNB_Cell_Identifier_tag2el_1,
+ 3, /* Count of tags in the map */
+ asn_MAP_HNBAP_HNB_Cell_Identifier_oms_1, /* Optional members */
+ 1, 0, /* Root/Additions */
+ 2, /* Start extensions */
+ 4 /* Stop extensions */
+};
+asn_TYPE_descriptor_t asn_DEF_HNBAP_HNB_Cell_Identifier = {
+ "HNBAP_HNB-Cell-Identifier",
+ "HNBAP_HNB-Cell-Identifier",
+ SEQUENCE_free,
+ SEQUENCE_print,
+ SEQUENCE_constraint,
+ SEQUENCE_decode_ber,
+ SEQUENCE_encode_der,
+ SEQUENCE_decode_xer,
+ SEQUENCE_encode_xer,
+ SEQUENCE_decode_uper,
+ SEQUENCE_encode_uper,
+ SEQUENCE_decode_aper,
+ SEQUENCE_encode_aper,
+ 0, /* Use generic outmost tag fetcher */
+ asn_DEF_HNBAP_HNB_Cell_Identifier_tags_1,
+ sizeof(asn_DEF_HNBAP_HNB_Cell_Identifier_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNB_Cell_Identifier_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_HNB_Cell_Identifier_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_HNB_Cell_Identifier_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNB_Cell_Identifier_tags_1[0]), /* 1 */
+ 0, /* No PER visible constraints */
+ asn_MBR_HNBAP_HNB_Cell_Identifier_1,
+ 3, /* Elements count */
+ &asn_SPC_HNBAP_HNB_Cell_Identifier_specs_1 /* Additional specs */
+};
+
diff --git a/src/hnbap/HNB-GWResponse.c b/src/hnbap/HNBAP_HNB-GWResponse.c
index c70b698..84cf113 100644
--- a/src/hnbap/HNB-GWResponse.c
+++ b/src/hnbap/HNBAP_HNB-GWResponse.c
@@ -5,60 +5,60 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/HNB-GWResponse.h>
+#include <osmocom/hnbap/HNBAP_HNB-GWResponse.h>
-static asn_per_constraints_t asn_PER_type_HNB_GWResponse_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_HNB_GWResponse_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0l, 2l } /* (0..2,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static asn_TYPE_member_t asn_MBR_HNB_GWResponse_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct HNB_GWResponse, choice.hNB),
+static asn_TYPE_member_t asn_MBR_HNBAP_HNB_GWResponse_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_HNB_GWResponse, choice.hNB),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_HNBConfigInfo,
+ &asn_DEF_HNBAP_HNBConfigInfo,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"hNB"
},
- { ATF_NOFLAGS, 0, offsetof(struct HNB_GWResponse, choice.macroRNC),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_HNB_GWResponse, choice.macroRNC),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_RNC_ID,
+ &asn_DEF_HNBAP_RNC_ID,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"macroRNC"
},
- { ATF_NOFLAGS, 0, offsetof(struct HNB_GWResponse, choice.unknownU_RNTIIndication),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_HNB_GWResponse, choice.unknownU_RNTIIndication),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_UnknownU_RNTIIndication,
+ &asn_DEF_HNBAP_UnknownU_RNTIIndication,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"unknownU-RNTIIndication"
},
};
-static const asn_TYPE_tag2member_t asn_MAP_HNB_GWResponse_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_HNB_GWResponse_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* hNB */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* macroRNC */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* unknownU-RNTIIndication */
};
-static asn_CHOICE_specifics_t asn_SPC_HNB_GWResponse_specs_1 = {
- sizeof(struct HNB_GWResponse),
- offsetof(struct HNB_GWResponse, _asn_ctx),
- offsetof(struct HNB_GWResponse, present),
- sizeof(((struct HNB_GWResponse *)0)->present),
- asn_MAP_HNB_GWResponse_tag2el_1,
+static asn_CHOICE_specifics_t asn_SPC_HNBAP_HNB_GWResponse_specs_1 = {
+ sizeof(struct HNBAP_HNB_GWResponse),
+ offsetof(struct HNBAP_HNB_GWResponse, _asn_ctx),
+ offsetof(struct HNBAP_HNB_GWResponse, present),
+ sizeof(((struct HNBAP_HNB_GWResponse *)0)->present),
+ asn_MAP_HNBAP_HNB_GWResponse_tag2el_1,
3, /* Count of tags in the map */
0,
3 /* Extensions start */
};
-asn_TYPE_descriptor_t asn_DEF_HNB_GWResponse = {
- "HNB-GWResponse",
- "HNB-GWResponse",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_HNB_GWResponse = {
+ "HNBAP_HNB-GWResponse",
+ "HNBAP_HNB-GWResponse",
CHOICE_free,
CHOICE_print,
CHOICE_constraint,
@@ -75,9 +75,9 @@ asn_TYPE_descriptor_t asn_DEF_HNB_GWResponse = {
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
- &asn_PER_type_HNB_GWResponse_constr_1,
- asn_MBR_HNB_GWResponse_1,
+ &asn_PER_type_HNBAP_HNB_GWResponse_constr_1,
+ asn_MBR_HNBAP_HNB_GWResponse_1,
3, /* Elements count */
- &asn_SPC_HNB_GWResponse_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_HNB_GWResponse_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/GTP-TEI.c b/src/hnbap/HNBAP_HNB-Identity-Info.c
index 58a109b..1adedba 100644
--- a/src/hnbap/GTP-TEI.c
+++ b/src/hnbap/HNBAP_HNB-Identity-Info.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/GTP-TEI.h>
+#include <osmocom/hnbap/HNBAP_HNB-Identity-Info.h>
int
-GTP_TEI_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_HNB_Identity_Info_constraint(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;
@@ -22,7 +22,7 @@ GTP_TEI_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
size = st->size;
- if((size == 4l)) {
+ if((size >= 1l && size <= 255l)) {
/* Constraint check succeeded */
return 0;
} else {
@@ -38,7 +38,7 @@ GTP_TEI_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-GTP_TEI_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_HNB_Identity_Info_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->check_constraints = asn_DEF_OCTET_STRING.check_constraints;
@@ -58,109 +58,109 @@ GTP_TEI_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-GTP_TEI_free(asn_TYPE_descriptor_t *td,
+HNBAP_HNB_Identity_Info_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- GTP_TEI_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNB_Identity_Info_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-GTP_TEI_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_HNB_Identity_Info_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- GTP_TEI_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNB_Identity_Info_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-GTP_TEI_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_HNB_Identity_Info_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- GTP_TEI_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNB_Identity_Info_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-GTP_TEI_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_HNB_Identity_Info_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- GTP_TEI_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNB_Identity_Info_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-GTP_TEI_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_HNB_Identity_Info_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- GTP_TEI_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNB_Identity_Info_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-GTP_TEI_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_HNB_Identity_Info_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- GTP_TEI_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNB_Identity_Info_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-GTP_TEI_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_HNB_Identity_Info_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- GTP_TEI_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNB_Identity_Info_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-GTP_TEI_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_HNB_Identity_Info_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- GTP_TEI_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNB_Identity_Info_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-GTP_TEI_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_HNB_Identity_Info_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- GTP_TEI_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNB_Identity_Info_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-GTP_TEI_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_HNB_Identity_Info_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- GTP_TEI_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNB_Identity_Info_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_GTP_TEI_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_HNB_Identity_Info_constr_1 GCC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
- { APC_CONSTRAINED, 0, 0, 4l, 4l } /* (SIZE(4..4)) */,
+ { APC_CONSTRAINED, 8, 8, 1l, 255l } /* (SIZE(1..255)) */,
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_GTP_TEI_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_HNB_Identity_Info_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_GTP_TEI = {
- "GTP-TEI",
- "GTP-TEI",
- GTP_TEI_free,
- GTP_TEI_print,
- GTP_TEI_constraint,
- GTP_TEI_decode_ber,
- GTP_TEI_encode_der,
- GTP_TEI_decode_xer,
- GTP_TEI_encode_xer,
- GTP_TEI_decode_uper,
- GTP_TEI_encode_uper,
- GTP_TEI_decode_aper,
- GTP_TEI_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_HNB_Identity_Info = {
+ "HNBAP_HNB-Identity-Info",
+ "HNBAP_HNB-Identity-Info",
+ HNBAP_HNB_Identity_Info_free,
+ HNBAP_HNB_Identity_Info_print,
+ HNBAP_HNB_Identity_Info_constraint,
+ HNBAP_HNB_Identity_Info_decode_ber,
+ HNBAP_HNB_Identity_Info_encode_der,
+ HNBAP_HNB_Identity_Info_decode_xer,
+ HNBAP_HNB_Identity_Info_encode_xer,
+ HNBAP_HNB_Identity_Info_decode_uper,
+ HNBAP_HNB_Identity_Info_encode_uper,
+ HNBAP_HNB_Identity_Info_decode_aper,
+ HNBAP_HNB_Identity_Info_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_GTP_TEI_tags_1,
- sizeof(asn_DEF_GTP_TEI_tags_1)
- /sizeof(asn_DEF_GTP_TEI_tags_1[0]), /* 1 */
- asn_DEF_GTP_TEI_tags_1, /* Same as above */
- sizeof(asn_DEF_GTP_TEI_tags_1)
- /sizeof(asn_DEF_GTP_TEI_tags_1[0]), /* 1 */
- &asn_PER_type_GTP_TEI_constr_1,
+ asn_DEF_HNBAP_HNB_Identity_Info_tags_1,
+ sizeof(asn_DEF_HNBAP_HNB_Identity_Info_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNB_Identity_Info_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_HNB_Identity_Info_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_HNB_Identity_Info_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNB_Identity_Info_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_HNB_Identity_Info_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/HNBAP_HNB-Identity.c b/src/hnbap/HNBAP_HNB-Identity.c
new file mode 100644
index 0000000..6b59f7e
--- /dev/null
+++ b/src/hnbap/HNBAP_HNB-Identity.c
@@ -0,0 +1,74 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#include <osmocom/hnbap/HNBAP_HNB-Identity.h>
+
+static asn_TYPE_member_t asn_MBR_HNBAP_HNB_Identity_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_HNB_Identity, hNB_Identity_Info),
+ (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
+ -1, /* IMPLICIT tag at current level */
+ &asn_DEF_HNBAP_HNB_Identity_Info,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ "hNB-Identity-Info"
+ },
+ { ATF_POINTER, 1, offsetof(struct HNBAP_HNB_Identity, iE_Extensions),
+ (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
+ -1, /* IMPLICIT tag at current level */
+ &asn_DEF_HNBAP_IE_Extensions,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ "iE-Extensions"
+ },
+};
+static const int asn_MAP_HNBAP_HNB_Identity_oms_1[] = { 1 };
+static const ber_tlv_tag_t asn_DEF_HNBAP_HNB_Identity_tags_1[] = {
+ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
+};
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_HNB_Identity_tag2el_1[] = {
+ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* hNB-Identity-Info */
+ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* iE-Extensions */
+};
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_HNB_Identity_specs_1 = {
+ sizeof(struct HNBAP_HNB_Identity),
+ offsetof(struct HNBAP_HNB_Identity, _asn_ctx),
+ asn_MAP_HNBAP_HNB_Identity_tag2el_1,
+ 2, /* Count of tags in the map */
+ asn_MAP_HNBAP_HNB_Identity_oms_1, /* Optional members */
+ 1, 0, /* Root/Additions */
+ 1, /* Start extensions */
+ 3 /* Stop extensions */
+};
+asn_TYPE_descriptor_t asn_DEF_HNBAP_HNB_Identity = {
+ "HNBAP_HNB-Identity",
+ "HNBAP_HNB-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,
+ SEQUENCE_decode_aper,
+ SEQUENCE_encode_aper,
+ 0, /* Use generic outmost tag fetcher */
+ asn_DEF_HNBAP_HNB_Identity_tags_1,
+ sizeof(asn_DEF_HNBAP_HNB_Identity_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNB_Identity_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_HNB_Identity_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_HNB_Identity_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNB_Identity_tags_1[0]), /* 1 */
+ 0, /* No PER visible constraints */
+ asn_MBR_HNBAP_HNB_Identity_1,
+ 2, /* Elements count */
+ &asn_SPC_HNBAP_HNB_Identity_specs_1 /* Additional specs */
+};
+
diff --git a/src/hnbap/HNBAP_HNB-Location-Information.c b/src/hnbap/HNBAP_HNB-Location-Information.c
new file mode 100644
index 0000000..42cee00
--- /dev/null
+++ b/src/hnbap/HNBAP_HNB-Location-Information.c
@@ -0,0 +1,84 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#include <osmocom/hnbap/HNBAP_HNB-Location-Information.h>
+
+static asn_TYPE_member_t asn_MBR_HNBAP_HNB_Location_Information_1[] = {
+ { ATF_POINTER, 3, offsetof(struct HNBAP_HNB_Location_Information, macroCoverageInfo),
+ (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
+ -1, /* IMPLICIT tag at current level */
+ &asn_DEF_HNBAP_MacroCoverageInformation,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ "macroCoverageInfo"
+ },
+ { ATF_POINTER, 2, offsetof(struct HNBAP_HNB_Location_Information, geographicalCoordinates),
+ (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
+ -1, /* IMPLICIT tag at current level */
+ &asn_DEF_HNBAP_GeographicalLocation,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ "geographicalCoordinates"
+ },
+ { ATF_POINTER, 1, offsetof(struct HNBAP_HNB_Location_Information, iE_Extensions),
+ (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
+ -1, /* IMPLICIT tag at current level */
+ &asn_DEF_HNBAP_IE_Extensions,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ "iE-Extensions"
+ },
+};
+static const int asn_MAP_HNBAP_HNB_Location_Information_oms_1[] = { 0, 1, 2 };
+static const ber_tlv_tag_t asn_DEF_HNBAP_HNB_Location_Information_tags_1[] = {
+ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
+};
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_HNB_Location_Information_tag2el_1[] = {
+ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* macroCoverageInfo */
+ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* geographicalCoordinates */
+ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
+};
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_HNB_Location_Information_specs_1 = {
+ sizeof(struct HNBAP_HNB_Location_Information),
+ offsetof(struct HNBAP_HNB_Location_Information, _asn_ctx),
+ asn_MAP_HNBAP_HNB_Location_Information_tag2el_1,
+ 3, /* Count of tags in the map */
+ asn_MAP_HNBAP_HNB_Location_Information_oms_1, /* Optional members */
+ 3, 0, /* Root/Additions */
+ 2, /* Start extensions */
+ 4 /* Stop extensions */
+};
+asn_TYPE_descriptor_t asn_DEF_HNBAP_HNB_Location_Information = {
+ "HNBAP_HNB-Location-Information",
+ "HNBAP_HNB-Location-Information",
+ SEQUENCE_free,
+ SEQUENCE_print,
+ SEQUENCE_constraint,
+ SEQUENCE_decode_ber,
+ SEQUENCE_encode_der,
+ SEQUENCE_decode_xer,
+ SEQUENCE_encode_xer,
+ SEQUENCE_decode_uper,
+ SEQUENCE_encode_uper,
+ SEQUENCE_decode_aper,
+ SEQUENCE_encode_aper,
+ 0, /* Use generic outmost tag fetcher */
+ asn_DEF_HNBAP_HNB_Location_Information_tags_1,
+ sizeof(asn_DEF_HNBAP_HNB_Location_Information_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNB_Location_Information_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_HNB_Location_Information_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_HNB_Location_Information_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNB_Location_Information_tags_1[0]), /* 1 */
+ 0, /* No PER visible constraints */
+ asn_MBR_HNBAP_HNB_Location_Information_1,
+ 3, /* Elements count */
+ &asn_SPC_HNBAP_HNB_Location_Information_specs_1 /* Additional specs */
+};
+
diff --git a/src/hnbap/HNB-RNL-Identity.c b/src/hnbap/HNBAP_HNB-RNL-Identity.c
index 835c940..5c4cfb3 100644
--- a/src/hnbap/HNB-RNL-Identity.c
+++ b/src/hnbap/HNBAP_HNB-RNL-Identity.c
@@ -5,40 +5,40 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/HNB-RNL-Identity.h>
+#include <osmocom/hnbap/HNBAP_HNB-RNL-Identity.h>
-static asn_per_constraints_t asn_PER_type_HNB_RNL_Identity_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_HNB_RNL_Identity_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0l, 0l } /* (0..0,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static asn_TYPE_member_t asn_MBR_HNB_RNL_Identity_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct HNB_RNL_Identity, choice.hNB_Identity_as_Cell_Identifier),
+static asn_TYPE_member_t asn_MBR_HNBAP_HNB_RNL_Identity_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_HNB_RNL_Identity, choice.hNB_Identity_as_Cell_Identifier),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_HNB_Cell_Identifier,
+ &asn_DEF_HNBAP_HNB_Cell_Identifier,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"hNB-Identity-as-Cell-Identifier"
},
};
-static const asn_TYPE_tag2member_t asn_MAP_HNB_RNL_Identity_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_HNB_RNL_Identity_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* hNB-Identity-as-Cell-Identifier */
};
-static asn_CHOICE_specifics_t asn_SPC_HNB_RNL_Identity_specs_1 = {
- sizeof(struct HNB_RNL_Identity),
- offsetof(struct HNB_RNL_Identity, _asn_ctx),
- offsetof(struct HNB_RNL_Identity, present),
- sizeof(((struct HNB_RNL_Identity *)0)->present),
- asn_MAP_HNB_RNL_Identity_tag2el_1,
+static asn_CHOICE_specifics_t asn_SPC_HNBAP_HNB_RNL_Identity_specs_1 = {
+ sizeof(struct HNBAP_HNB_RNL_Identity),
+ offsetof(struct HNBAP_HNB_RNL_Identity, _asn_ctx),
+ offsetof(struct HNBAP_HNB_RNL_Identity, present),
+ sizeof(((struct HNBAP_HNB_RNL_Identity *)0)->present),
+ asn_MAP_HNBAP_HNB_RNL_Identity_tag2el_1,
1, /* Count of tags in the map */
0,
1 /* Extensions start */
};
-asn_TYPE_descriptor_t asn_DEF_HNB_RNL_Identity = {
- "HNB-RNL-Identity",
- "HNB-RNL-Identity",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_HNB_RNL_Identity = {
+ "HNBAP_HNB-RNL-Identity",
+ "HNBAP_HNB-RNL-Identity",
CHOICE_free,
CHOICE_print,
CHOICE_constraint,
@@ -55,9 +55,9 @@ asn_TYPE_descriptor_t asn_DEF_HNB_RNL_Identity = {
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
- &asn_PER_type_HNB_RNL_Identity_constr_1,
- asn_MBR_HNB_RNL_Identity_1,
+ &asn_PER_type_HNBAP_HNB_RNL_Identity_constr_1,
+ asn_MBR_HNBAP_HNB_RNL_Identity_1,
1, /* Elements count */
- &asn_SPC_HNB_RNL_Identity_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_HNB_RNL_Identity_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/HNBAP-PDU.c b/src/hnbap/HNBAP_HNBAP-PDU.c
index 13bb2e1..c753d1c 100644
--- a/src/hnbap/HNBAP-PDU.c
+++ b/src/hnbap/HNBAP_HNBAP-PDU.c
@@ -5,60 +5,60 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/HNBAP-PDU.h>
+#include <osmocom/hnbap/HNBAP_HNBAP-PDU.h>
-static asn_per_constraints_t asn_PER_type_HNBAP_PDU_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_HNBAP_PDU_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0l, 2l } /* (0..2,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static asn_TYPE_member_t asn_MBR_HNBAP_PDU_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct HNBAP_PDU, choice.initiatingMessage),
+static asn_TYPE_member_t asn_MBR_HNBAP_HNBAP_PDU_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_HNBAP_PDU, choice.initiatingMessage),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_InitiatingMessage,
+ &asn_DEF_HNBAP_InitiatingMessage,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"initiatingMessage"
},
- { ATF_NOFLAGS, 0, offsetof(struct HNBAP_PDU, choice.successfulOutcome),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_HNBAP_PDU, choice.successfulOutcome),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_SuccessfulOutcome,
+ &asn_DEF_HNBAP_SuccessfulOutcome,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"successfulOutcome"
},
- { ATF_NOFLAGS, 0, offsetof(struct HNBAP_PDU, choice.unsuccessfulOutcome),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_HNBAP_PDU, choice.unsuccessfulOutcome),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_UnsuccessfulOutcome,
+ &asn_DEF_HNBAP_UnsuccessfulOutcome,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"unsuccessfulOutcome"
},
};
-static const asn_TYPE_tag2member_t asn_MAP_HNBAP_PDU_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_HNBAP_PDU_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* initiatingMessage */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* successfulOutcome */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* unsuccessfulOutcome */
};
-static asn_CHOICE_specifics_t asn_SPC_HNBAP_PDU_specs_1 = {
- sizeof(struct HNBAP_PDU),
- offsetof(struct HNBAP_PDU, _asn_ctx),
- offsetof(struct HNBAP_PDU, present),
- sizeof(((struct HNBAP_PDU *)0)->present),
- asn_MAP_HNBAP_PDU_tag2el_1,
+static asn_CHOICE_specifics_t asn_SPC_HNBAP_HNBAP_PDU_specs_1 = {
+ sizeof(struct HNBAP_HNBAP_PDU),
+ offsetof(struct HNBAP_HNBAP_PDU, _asn_ctx),
+ offsetof(struct HNBAP_HNBAP_PDU, present),
+ sizeof(((struct HNBAP_HNBAP_PDU *)0)->present),
+ asn_MAP_HNBAP_HNBAP_PDU_tag2el_1,
3, /* Count of tags in the map */
0,
3 /* Extensions start */
};
-asn_TYPE_descriptor_t asn_DEF_HNBAP_PDU = {
- "HNBAP-PDU",
- "HNBAP-PDU",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_HNBAP_PDU = {
+ "HNBAP_HNBAP-PDU",
+ "HNBAP_HNBAP-PDU",
CHOICE_free,
CHOICE_print,
CHOICE_constraint,
@@ -75,9 +75,9 @@ asn_TYPE_descriptor_t asn_DEF_HNBAP_PDU = {
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
- &asn_PER_type_HNBAP_PDU_constr_1,
- asn_MBR_HNBAP_PDU_1,
+ &asn_PER_type_HNBAP_HNBAP_PDU_constr_1,
+ asn_MBR_HNBAP_HNBAP_PDU_1,
3, /* Elements count */
- &asn_SPC_HNBAP_PDU_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_HNBAP_PDU_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/HNBCapacity.c b/src/hnbap/HNBAP_HNBCapacity.c
index 939da31..617867c 100644
--- a/src/hnbap/HNBCapacity.c
+++ b/src/hnbap/HNBAP_HNBCapacity.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/HNBCapacity.h>
+#include <osmocom/hnbap/HNBAP_HNBCapacity.h>
int
-HNBCapacity_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_HNBCapacity_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
long value;
@@ -37,7 +37,7 @@ HNBCapacity_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-HNBCapacity_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_HNBCapacity_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->check_constraints = asn_DEF_NativeInteger.check_constraints;
@@ -57,109 +57,109 @@ HNBCapacity_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-HNBCapacity_free(asn_TYPE_descriptor_t *td,
+HNBAP_HNBCapacity_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- HNBCapacity_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNBCapacity_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-HNBCapacity_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_HNBCapacity_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- HNBCapacity_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNBCapacity_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-HNBCapacity_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_HNBCapacity_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- HNBCapacity_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNBCapacity_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-HNBCapacity_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_HNBCapacity_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- HNBCapacity_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNBCapacity_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-HNBCapacity_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_HNBCapacity_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- HNBCapacity_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNBCapacity_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-HNBCapacity_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_HNBCapacity_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- HNBCapacity_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNBCapacity_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-HNBCapacity_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_HNBCapacity_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- HNBCapacity_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNBCapacity_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-HNBCapacity_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_HNBCapacity_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- HNBCapacity_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNBCapacity_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-HNBCapacity_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_HNBCapacity_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- HNBCapacity_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNBCapacity_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-HNBCapacity_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_HNBCapacity_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- HNBCapacity_1_inherit_TYPE_descriptor(td);
+ HNBAP_HNBCapacity_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_HNBCapacity_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_HNBCapacity_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED, 10, 10, 0l, 1000l } /* (0..1000) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_HNBCapacity_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_HNBCapacity_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_HNBCapacity = {
- "HNBCapacity",
- "HNBCapacity",
- HNBCapacity_free,
- HNBCapacity_print,
- HNBCapacity_constraint,
- HNBCapacity_decode_ber,
- HNBCapacity_encode_der,
- HNBCapacity_decode_xer,
- HNBCapacity_encode_xer,
- HNBCapacity_decode_uper,
- HNBCapacity_encode_uper,
- HNBCapacity_decode_aper,
- HNBCapacity_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_HNBCapacity = {
+ "HNBAP_HNBCapacity",
+ "HNBAP_HNBCapacity",
+ HNBAP_HNBCapacity_free,
+ HNBAP_HNBCapacity_print,
+ HNBAP_HNBCapacity_constraint,
+ HNBAP_HNBCapacity_decode_ber,
+ HNBAP_HNBCapacity_encode_der,
+ HNBAP_HNBCapacity_decode_xer,
+ HNBAP_HNBCapacity_encode_xer,
+ HNBAP_HNBCapacity_decode_uper,
+ HNBAP_HNBCapacity_encode_uper,
+ HNBAP_HNBCapacity_decode_aper,
+ HNBAP_HNBCapacity_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_HNBCapacity_tags_1,
- sizeof(asn_DEF_HNBCapacity_tags_1)
- /sizeof(asn_DEF_HNBCapacity_tags_1[0]), /* 1 */
- asn_DEF_HNBCapacity_tags_1, /* Same as above */
- sizeof(asn_DEF_HNBCapacity_tags_1)
- /sizeof(asn_DEF_HNBCapacity_tags_1[0]), /* 1 */
- &asn_PER_type_HNBCapacity_constr_1,
+ asn_DEF_HNBAP_HNBCapacity_tags_1,
+ sizeof(asn_DEF_HNBAP_HNBCapacity_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNBCapacity_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_HNBCapacity_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_HNBCapacity_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNBCapacity_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_HNBCapacity_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/HNBConfigInfo.c b/src/hnbap/HNBAP_HNBConfigInfo.c
index 3666412..94b6cdf 100644
--- a/src/hnbap/HNBConfigInfo.c
+++ b/src/hnbap/HNBAP_HNBConfigInfo.c
@@ -5,59 +5,59 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/HNBConfigInfo.h>
+#include <osmocom/hnbap/HNBAP_HNBConfigInfo.h>
-static asn_TYPE_member_t asn_MBR_HNBConfigInfo_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct HNBConfigInfo, hnb_RNL_Identity),
+static asn_TYPE_member_t asn_MBR_HNBAP_HNBConfigInfo_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_HNBConfigInfo, hnb_RNL_Identity),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
+1, /* EXPLICIT tag at current level */
- &asn_DEF_HNB_RNL_Identity,
+ &asn_DEF_HNBAP_HNB_RNL_Identity,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"hnb-RNL-Identity"
},
- { ATF_NOFLAGS, 0, offsetof(struct HNBConfigInfo, configurationInformation),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_HNBConfigInfo, configurationInformation),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
+1, /* EXPLICIT tag at current level */
- &asn_DEF_ConfigurationInformation,
+ &asn_DEF_HNBAP_ConfigurationInformation,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"configurationInformation"
},
- { ATF_POINTER, 1, offsetof(struct HNBConfigInfo, iE_Extensions),
+ { ATF_POINTER, 1, offsetof(struct HNBAP_HNBConfigInfo, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_IE_Extensions,
+ &asn_DEF_HNBAP_IE_Extensions,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"iE-Extensions"
},
};
-static const int asn_MAP_HNBConfigInfo_oms_1[] = { 2 };
-static const ber_tlv_tag_t asn_DEF_HNBConfigInfo_tags_1[] = {
+static const int asn_MAP_HNBAP_HNBConfigInfo_oms_1[] = { 2 };
+static const ber_tlv_tag_t asn_DEF_HNBAP_HNBConfigInfo_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_HNBConfigInfo_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_HNBConfigInfo_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* hnb-RNL-Identity */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* configurationInformation */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
};
-static asn_SEQUENCE_specifics_t asn_SPC_HNBConfigInfo_specs_1 = {
- sizeof(struct HNBConfigInfo),
- offsetof(struct HNBConfigInfo, _asn_ctx),
- asn_MAP_HNBConfigInfo_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_HNBConfigInfo_specs_1 = {
+ sizeof(struct HNBAP_HNBConfigInfo),
+ offsetof(struct HNBAP_HNBConfigInfo, _asn_ctx),
+ asn_MAP_HNBAP_HNBConfigInfo_tag2el_1,
3, /* Count of tags in the map */
- asn_MAP_HNBConfigInfo_oms_1, /* Optional members */
+ asn_MAP_HNBAP_HNBConfigInfo_oms_1, /* Optional members */
1, 0, /* Root/Additions */
2, /* Start extensions */
4 /* Stop extensions */
};
-asn_TYPE_descriptor_t asn_DEF_HNBConfigInfo = {
- "HNBConfigInfo",
- "HNBConfigInfo",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_HNBConfigInfo = {
+ "HNBAP_HNBConfigInfo",
+ "HNBAP_HNBConfigInfo",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -70,15 +70,15 @@ asn_TYPE_descriptor_t asn_DEF_HNBConfigInfo = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_HNBConfigInfo_tags_1,
- sizeof(asn_DEF_HNBConfigInfo_tags_1)
- /sizeof(asn_DEF_HNBConfigInfo_tags_1[0]), /* 1 */
- asn_DEF_HNBConfigInfo_tags_1, /* Same as above */
- sizeof(asn_DEF_HNBConfigInfo_tags_1)
- /sizeof(asn_DEF_HNBConfigInfo_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_HNBConfigInfo_tags_1,
+ sizeof(asn_DEF_HNBAP_HNBConfigInfo_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNBConfigInfo_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_HNBConfigInfo_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_HNBConfigInfo_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNBConfigInfo_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_HNBConfigInfo_1,
+ asn_MBR_HNBAP_HNBConfigInfo_1,
3, /* Elements count */
- &asn_SPC_HNBConfigInfo_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_HNBConfigInfo_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/HNBConfigTransferRequest.c b/src/hnbap/HNBAP_HNBConfigTransferRequest.c
index ba4fa22..7ed25d8 100644
--- a/src/hnbap/HNBConfigTransferRequest.c
+++ b/src/hnbap/HNBAP_HNBConfigTransferRequest.c
@@ -5,7 +5,7 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/HNBConfigTransferRequest.h>
+#include <osmocom/hnbap/HNBAP_HNBConfigTransferRequest.h>
static int
memb_hnbConfigTransferRequest_ies_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
@@ -45,9 +45,9 @@ static asn_per_constraints_t asn_PER_memb_hnbConfigTransferRequest_ies_constr_2
};
static asn_TYPE_member_t asn_MBR_hnbConfigTransferRequest_ies_2[] = {
{ ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
+ -1 /* Ambiguous tag (CHOICE?) */,
0,
- &asn_DEF_IE,
+ &asn_DEF_HNBAP_IE,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -91,8 +91,8 @@ asn_TYPE_descriptor_t asn_DEF_hnbConfigTransferRequest_ies_2 = {
&asn_SPC_hnbConfigTransferRequest_ies_specs_2 /* Additional specs */
};
-static asn_TYPE_member_t asn_MBR_HNBConfigTransferRequest_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct HNBConfigTransferRequest, hnbConfigTransferRequest_ies),
+static asn_TYPE_member_t asn_MBR_HNBAP_HNBConfigTransferRequest_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_HNBConfigTransferRequest, hnbConfigTransferRequest_ies),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
0,
&asn_DEF_hnbConfigTransferRequest_ies_2,
@@ -102,24 +102,24 @@ static asn_TYPE_member_t asn_MBR_HNBConfigTransferRequest_1[] = {
"hnbConfigTransferRequest-ies"
},
};
-static const ber_tlv_tag_t asn_DEF_HNBConfigTransferRequest_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_HNBConfigTransferRequest_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_HNBConfigTransferRequest_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_HNBConfigTransferRequest_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* hnbConfigTransferRequest-ies */
};
-static asn_SEQUENCE_specifics_t asn_SPC_HNBConfigTransferRequest_specs_1 = {
- sizeof(struct HNBConfigTransferRequest),
- offsetof(struct HNBConfigTransferRequest, _asn_ctx),
- asn_MAP_HNBConfigTransferRequest_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_HNBConfigTransferRequest_specs_1 = {
+ sizeof(struct HNBAP_HNBConfigTransferRequest),
+ offsetof(struct HNBAP_HNBConfigTransferRequest, _asn_ctx),
+ asn_MAP_HNBAP_HNBConfigTransferRequest_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_HNBConfigTransferRequest = {
- "HNBConfigTransferRequest",
- "HNBConfigTransferRequest",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_HNBConfigTransferRequest = {
+ "HNBAP_HNBConfigTransferRequest",
+ "HNBAP_HNBConfigTransferRequest",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -132,15 +132,15 @@ asn_TYPE_descriptor_t asn_DEF_HNBConfigTransferRequest = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_HNBConfigTransferRequest_tags_1,
- sizeof(asn_DEF_HNBConfigTransferRequest_tags_1)
- /sizeof(asn_DEF_HNBConfigTransferRequest_tags_1[0]), /* 1 */
- asn_DEF_HNBConfigTransferRequest_tags_1, /* Same as above */
- sizeof(asn_DEF_HNBConfigTransferRequest_tags_1)
- /sizeof(asn_DEF_HNBConfigTransferRequest_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_HNBConfigTransferRequest_tags_1,
+ sizeof(asn_DEF_HNBAP_HNBConfigTransferRequest_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNBConfigTransferRequest_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_HNBConfigTransferRequest_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_HNBConfigTransferRequest_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNBConfigTransferRequest_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_HNBConfigTransferRequest_1,
+ asn_MBR_HNBAP_HNBConfigTransferRequest_1,
1, /* Elements count */
- &asn_SPC_HNBConfigTransferRequest_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_HNBConfigTransferRequest_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/HNBConfigTransferResponse.c b/src/hnbap/HNBAP_HNBConfigTransferResponse.c
index 07353c5..ed63331 100644
--- a/src/hnbap/HNBConfigTransferResponse.c
+++ b/src/hnbap/HNBAP_HNBConfigTransferResponse.c
@@ -5,7 +5,7 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/HNBConfigTransferResponse.h>
+#include <osmocom/hnbap/HNBAP_HNBConfigTransferResponse.h>
static int
memb_hnbConfigTransferResponse_ies_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
@@ -45,9 +45,9 @@ static asn_per_constraints_t asn_PER_memb_hnbConfigTransferResponse_ies_constr_2
};
static asn_TYPE_member_t asn_MBR_hnbConfigTransferResponse_ies_2[] = {
{ ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
+ -1 /* Ambiguous tag (CHOICE?) */,
0,
- &asn_DEF_IE,
+ &asn_DEF_HNBAP_IE,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -91,8 +91,8 @@ asn_TYPE_descriptor_t asn_DEF_hnbConfigTransferResponse_ies_2 = {
&asn_SPC_hnbConfigTransferResponse_ies_specs_2 /* Additional specs */
};
-static asn_TYPE_member_t asn_MBR_HNBConfigTransferResponse_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct HNBConfigTransferResponse, hnbConfigTransferResponse_ies),
+static asn_TYPE_member_t asn_MBR_HNBAP_HNBConfigTransferResponse_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_HNBConfigTransferResponse, hnbConfigTransferResponse_ies),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
0,
&asn_DEF_hnbConfigTransferResponse_ies_2,
@@ -102,24 +102,24 @@ static asn_TYPE_member_t asn_MBR_HNBConfigTransferResponse_1[] = {
"hnbConfigTransferResponse-ies"
},
};
-static const ber_tlv_tag_t asn_DEF_HNBConfigTransferResponse_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_HNBConfigTransferResponse_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_HNBConfigTransferResponse_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_HNBConfigTransferResponse_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* hnbConfigTransferResponse-ies */
};
-static asn_SEQUENCE_specifics_t asn_SPC_HNBConfigTransferResponse_specs_1 = {
- sizeof(struct HNBConfigTransferResponse),
- offsetof(struct HNBConfigTransferResponse, _asn_ctx),
- asn_MAP_HNBConfigTransferResponse_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_HNBConfigTransferResponse_specs_1 = {
+ sizeof(struct HNBAP_HNBConfigTransferResponse),
+ offsetof(struct HNBAP_HNBConfigTransferResponse, _asn_ctx),
+ asn_MAP_HNBAP_HNBConfigTransferResponse_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_HNBConfigTransferResponse = {
- "HNBConfigTransferResponse",
- "HNBConfigTransferResponse",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_HNBConfigTransferResponse = {
+ "HNBAP_HNBConfigTransferResponse",
+ "HNBAP_HNBConfigTransferResponse",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -132,15 +132,15 @@ asn_TYPE_descriptor_t asn_DEF_HNBConfigTransferResponse = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_HNBConfigTransferResponse_tags_1,
- sizeof(asn_DEF_HNBConfigTransferResponse_tags_1)
- /sizeof(asn_DEF_HNBConfigTransferResponse_tags_1[0]), /* 1 */
- asn_DEF_HNBConfigTransferResponse_tags_1, /* Same as above */
- sizeof(asn_DEF_HNBConfigTransferResponse_tags_1)
- /sizeof(asn_DEF_HNBConfigTransferResponse_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_HNBConfigTransferResponse_tags_1,
+ sizeof(asn_DEF_HNBAP_HNBConfigTransferResponse_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNBConfigTransferResponse_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_HNBConfigTransferResponse_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_HNBConfigTransferResponse_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNBConfigTransferResponse_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_HNBConfigTransferResponse_1,
+ asn_MBR_HNBAP_HNBConfigTransferResponse_1,
1, /* Elements count */
- &asn_SPC_HNBConfigTransferResponse_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_HNBConfigTransferResponse_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/HNBAP_HNBConfigurationInformationMissing.c b/src/hnbap/HNBAP_HNBConfigurationInformationMissing.c
new file mode 100644
index 0000000..f189406
--- /dev/null
+++ b/src/hnbap/HNBAP_HNBConfigurationInformationMissing.c
@@ -0,0 +1,74 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#include <osmocom/hnbap/HNBAP_HNBConfigurationInformationMissing.h>
+
+static asn_TYPE_member_t asn_MBR_HNBAP_HNBConfigurationInformationMissing_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_HNBConfigurationInformationMissing, cause),
+ (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
+ +1, /* EXPLICIT tag at current level */
+ &asn_DEF_HNBAP_Cause,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ "cause"
+ },
+ { ATF_POINTER, 1, offsetof(struct HNBAP_HNBConfigurationInformationMissing, iE_Extensions),
+ (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
+ -1, /* IMPLICIT tag at current level */
+ &asn_DEF_HNBAP_IE_Extensions,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ "iE-Extensions"
+ },
+};
+static const int asn_MAP_HNBAP_HNBConfigurationInformationMissing_oms_1[] = { 1 };
+static const ber_tlv_tag_t asn_DEF_HNBAP_HNBConfigurationInformationMissing_tags_1[] = {
+ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
+};
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_HNBConfigurationInformationMissing_tag2el_1[] = {
+ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cause */
+ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* iE-Extensions */
+};
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_HNBConfigurationInformationMissing_specs_1 = {
+ sizeof(struct HNBAP_HNBConfigurationInformationMissing),
+ offsetof(struct HNBAP_HNBConfigurationInformationMissing, _asn_ctx),
+ asn_MAP_HNBAP_HNBConfigurationInformationMissing_tag2el_1,
+ 2, /* Count of tags in the map */
+ asn_MAP_HNBAP_HNBConfigurationInformationMissing_oms_1, /* Optional members */
+ 1, 0, /* Root/Additions */
+ 1, /* Start extensions */
+ 3 /* Stop extensions */
+};
+asn_TYPE_descriptor_t asn_DEF_HNBAP_HNBConfigurationInformationMissing = {
+ "HNBAP_HNBConfigurationInformationMissing",
+ "HNBAP_HNBConfigurationInformationMissing",
+ SEQUENCE_free,
+ SEQUENCE_print,
+ SEQUENCE_constraint,
+ SEQUENCE_decode_ber,
+ SEQUENCE_encode_der,
+ SEQUENCE_decode_xer,
+ SEQUENCE_encode_xer,
+ SEQUENCE_decode_uper,
+ SEQUENCE_encode_uper,
+ SEQUENCE_decode_aper,
+ SEQUENCE_encode_aper,
+ 0, /* Use generic outmost tag fetcher */
+ asn_DEF_HNBAP_HNBConfigurationInformationMissing_tags_1,
+ sizeof(asn_DEF_HNBAP_HNBConfigurationInformationMissing_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNBConfigurationInformationMissing_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_HNBConfigurationInformationMissing_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_HNBConfigurationInformationMissing_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNBConfigurationInformationMissing_tags_1[0]), /* 1 */
+ 0, /* No PER visible constraints */
+ asn_MBR_HNBAP_HNBConfigurationInformationMissing_1,
+ 2, /* Elements count */
+ &asn_SPC_HNBAP_HNBConfigurationInformationMissing_specs_1 /* Additional specs */
+};
+
diff --git a/src/hnbap/HNBAP_HNBConfigurationInformationProvided.c b/src/hnbap/HNBAP_HNBConfigurationInformationProvided.c
new file mode 100644
index 0000000..0af2a45
--- /dev/null
+++ b/src/hnbap/HNBAP_HNBConfigurationInformationProvided.c
@@ -0,0 +1,104 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#include <osmocom/hnbap/HNBAP_HNBConfigurationInformationProvided.h>
+
+static asn_TYPE_member_t asn_MBR_HNBAP_HNBConfigurationInformationProvided_1[] = {
+ { ATF_POINTER, 2, offsetof(struct HNBAP_HNBConfigurationInformationProvided, psc),
+ (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
+ -1, /* IMPLICIT tag at current level */
+ &asn_DEF_HNBAP_PSC,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ "psc"
+ },
+ { ATF_POINTER, 1, offsetof(struct HNBAP_HNBConfigurationInformationProvided, cSG_ID),
+ (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
+ -1, /* IMPLICIT tag at current level */
+ &asn_DEF_HNBAP_CSG_ID,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ "cSG-ID"
+ },
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_HNBConfigurationInformationProvided, hNB_Cell_Access_Mode),
+ (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
+ -1, /* IMPLICIT tag at current level */
+ &asn_DEF_HNBAP_HNB_Cell_Access_Mode,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ "hNB-Cell-Access-Mode"
+ },
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_HNBConfigurationInformationProvided, iurh_Signalling_TNL_AddressList),
+ (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
+ -1, /* IMPLICIT tag at current level */
+ &asn_DEF_HNBAP_Iurh_Signalling_TNL_AddressList,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ "iurh-Signalling-TNL-AddressList"
+ },
+ { ATF_POINTER, 1, offsetof(struct HNBAP_HNBConfigurationInformationProvided, iE_Extensions),
+ (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
+ -1, /* IMPLICIT tag at current level */
+ &asn_DEF_HNBAP_IE_Extensions,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ "iE-Extensions"
+ },
+};
+static const int asn_MAP_HNBAP_HNBConfigurationInformationProvided_oms_1[] = { 0, 1, 4 };
+static const ber_tlv_tag_t asn_DEF_HNBAP_HNBConfigurationInformationProvided_tags_1[] = {
+ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
+};
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_HNBConfigurationInformationProvided_tag2el_1[] = {
+ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* psc */
+ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* cSG-ID */
+ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* hNB-Cell-Access-Mode */
+ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* iurh-Signalling-TNL-AddressList */
+ { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* iE-Extensions */
+};
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_HNBConfigurationInformationProvided_specs_1 = {
+ sizeof(struct HNBAP_HNBConfigurationInformationProvided),
+ offsetof(struct HNBAP_HNBConfigurationInformationProvided, _asn_ctx),
+ asn_MAP_HNBAP_HNBConfigurationInformationProvided_tag2el_1,
+ 5, /* Count of tags in the map */
+ asn_MAP_HNBAP_HNBConfigurationInformationProvided_oms_1, /* Optional members */
+ 3, 0, /* Root/Additions */
+ 4, /* Start extensions */
+ 6 /* Stop extensions */
+};
+asn_TYPE_descriptor_t asn_DEF_HNBAP_HNBConfigurationInformationProvided = {
+ "HNBAP_HNBConfigurationInformationProvided",
+ "HNBAP_HNBConfigurationInformationProvided",
+ SEQUENCE_free,
+ SEQUENCE_print,
+ SEQUENCE_constraint,
+ SEQUENCE_decode_ber,
+ SEQUENCE_encode_der,
+ SEQUENCE_decode_xer,
+ SEQUENCE_encode_xer,
+ SEQUENCE_decode_uper,
+ SEQUENCE_encode_uper,
+ SEQUENCE_decode_aper,
+ SEQUENCE_encode_aper,
+ 0, /* Use generic outmost tag fetcher */
+ asn_DEF_HNBAP_HNBConfigurationInformationProvided_tags_1,
+ sizeof(asn_DEF_HNBAP_HNBConfigurationInformationProvided_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNBConfigurationInformationProvided_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_HNBConfigurationInformationProvided_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_HNBConfigurationInformationProvided_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNBConfigurationInformationProvided_tags_1[0]), /* 1 */
+ 0, /* No PER visible constraints */
+ asn_MBR_HNBAP_HNBConfigurationInformationProvided_1,
+ 5, /* Elements count */
+ &asn_SPC_HNBAP_HNBConfigurationInformationProvided_specs_1 /* Additional specs */
+};
+
diff --git a/src/hnbap/HNBDe-Register.c b/src/hnbap/HNBAP_HNBDe-Register.c
index 8ba6466..a2ab5e8 100644
--- a/src/hnbap/HNBDe-Register.c
+++ b/src/hnbap/HNBAP_HNBDe-Register.c
@@ -5,7 +5,7 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/HNBDe-Register.h>
+#include <osmocom/hnbap/HNBAP_HNBDe-Register.h>
static int
memb_hnbDe_Register_ies_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
@@ -45,9 +45,9 @@ static asn_per_constraints_t asn_PER_memb_hnbDe_Register_ies_constr_2 GCC_NOTUSE
};
static asn_TYPE_member_t asn_MBR_hnbDe_Register_ies_2[] = {
{ ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
+ -1 /* Ambiguous tag (CHOICE?) */,
0,
- &asn_DEF_IE,
+ &asn_DEF_HNBAP_IE,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -91,8 +91,8 @@ asn_TYPE_descriptor_t asn_DEF_hnbDe_Register_ies_2 = {
&asn_SPC_hnbDe_Register_ies_specs_2 /* Additional specs */
};
-static asn_TYPE_member_t asn_MBR_HNBDe_Register_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct HNBDe_Register, hnbDe_Register_ies),
+static asn_TYPE_member_t asn_MBR_HNBAP_HNBDe_Register_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_HNBDe_Register, hnbDe_Register_ies),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
0,
&asn_DEF_hnbDe_Register_ies_2,
@@ -102,24 +102,24 @@ static asn_TYPE_member_t asn_MBR_HNBDe_Register_1[] = {
"hnbDe-Register-ies"
},
};
-static const ber_tlv_tag_t asn_DEF_HNBDe_Register_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_HNBDe_Register_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_HNBDe_Register_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_HNBDe_Register_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* hnbDe-Register-ies */
};
-static asn_SEQUENCE_specifics_t asn_SPC_HNBDe_Register_specs_1 = {
- sizeof(struct HNBDe_Register),
- offsetof(struct HNBDe_Register, _asn_ctx),
- asn_MAP_HNBDe_Register_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_HNBDe_Register_specs_1 = {
+ sizeof(struct HNBAP_HNBDe_Register),
+ offsetof(struct HNBAP_HNBDe_Register, _asn_ctx),
+ asn_MAP_HNBAP_HNBDe_Register_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_HNBDe_Register = {
- "HNBDe-Register",
- "HNBDe-Register",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_HNBDe_Register = {
+ "HNBAP_HNBDe-Register",
+ "HNBAP_HNBDe-Register",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -132,15 +132,15 @@ asn_TYPE_descriptor_t asn_DEF_HNBDe_Register = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_HNBDe_Register_tags_1,
- sizeof(asn_DEF_HNBDe_Register_tags_1)
- /sizeof(asn_DEF_HNBDe_Register_tags_1[0]), /* 1 */
- asn_DEF_HNBDe_Register_tags_1, /* Same as above */
- sizeof(asn_DEF_HNBDe_Register_tags_1)
- /sizeof(asn_DEF_HNBDe_Register_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_HNBDe_Register_tags_1,
+ sizeof(asn_DEF_HNBAP_HNBDe_Register_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNBDe_Register_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_HNBDe_Register_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_HNBDe_Register_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNBDe_Register_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_HNBDe_Register_1,
+ asn_MBR_HNBAP_HNBDe_Register_1,
1, /* Elements count */
- &asn_SPC_HNBDe_Register_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_HNBDe_Register_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/HNBRegisterAccept.c b/src/hnbap/HNBAP_HNBRegisterAccept.c
index c7b13c0..d1d9c90 100644
--- a/src/hnbap/HNBRegisterAccept.c
+++ b/src/hnbap/HNBAP_HNBRegisterAccept.c
@@ -5,7 +5,7 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/HNBRegisterAccept.h>
+#include <osmocom/hnbap/HNBAP_HNBRegisterAccept.h>
static int
memb_hnbRegisterAccept_ies_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
@@ -45,9 +45,9 @@ static asn_per_constraints_t asn_PER_memb_hnbRegisterAccept_ies_constr_2 GCC_NOT
};
static asn_TYPE_member_t asn_MBR_hnbRegisterAccept_ies_2[] = {
{ ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
+ -1 /* Ambiguous tag (CHOICE?) */,
0,
- &asn_DEF_IE,
+ &asn_DEF_HNBAP_IE,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -91,8 +91,8 @@ asn_TYPE_descriptor_t asn_DEF_hnbRegisterAccept_ies_2 = {
&asn_SPC_hnbRegisterAccept_ies_specs_2 /* Additional specs */
};
-static asn_TYPE_member_t asn_MBR_HNBRegisterAccept_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct HNBRegisterAccept, hnbRegisterAccept_ies),
+static asn_TYPE_member_t asn_MBR_HNBAP_HNBRegisterAccept_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_HNBRegisterAccept, hnbRegisterAccept_ies),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
0,
&asn_DEF_hnbRegisterAccept_ies_2,
@@ -102,24 +102,24 @@ static asn_TYPE_member_t asn_MBR_HNBRegisterAccept_1[] = {
"hnbRegisterAccept-ies"
},
};
-static const ber_tlv_tag_t asn_DEF_HNBRegisterAccept_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_HNBRegisterAccept_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_HNBRegisterAccept_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_HNBRegisterAccept_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* hnbRegisterAccept-ies */
};
-static asn_SEQUENCE_specifics_t asn_SPC_HNBRegisterAccept_specs_1 = {
- sizeof(struct HNBRegisterAccept),
- offsetof(struct HNBRegisterAccept, _asn_ctx),
- asn_MAP_HNBRegisterAccept_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_HNBRegisterAccept_specs_1 = {
+ sizeof(struct HNBAP_HNBRegisterAccept),
+ offsetof(struct HNBAP_HNBRegisterAccept, _asn_ctx),
+ asn_MAP_HNBAP_HNBRegisterAccept_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_HNBRegisterAccept = {
- "HNBRegisterAccept",
- "HNBRegisterAccept",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_HNBRegisterAccept = {
+ "HNBAP_HNBRegisterAccept",
+ "HNBAP_HNBRegisterAccept",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -132,15 +132,15 @@ asn_TYPE_descriptor_t asn_DEF_HNBRegisterAccept = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_HNBRegisterAccept_tags_1,
- sizeof(asn_DEF_HNBRegisterAccept_tags_1)
- /sizeof(asn_DEF_HNBRegisterAccept_tags_1[0]), /* 1 */
- asn_DEF_HNBRegisterAccept_tags_1, /* Same as above */
- sizeof(asn_DEF_HNBRegisterAccept_tags_1)
- /sizeof(asn_DEF_HNBRegisterAccept_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_HNBRegisterAccept_tags_1,
+ sizeof(asn_DEF_HNBAP_HNBRegisterAccept_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNBRegisterAccept_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_HNBRegisterAccept_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_HNBRegisterAccept_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNBRegisterAccept_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_HNBRegisterAccept_1,
+ asn_MBR_HNBAP_HNBRegisterAccept_1,
1, /* Elements count */
- &asn_SPC_HNBRegisterAccept_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_HNBRegisterAccept_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/HNBRegisterReject.c b/src/hnbap/HNBAP_HNBRegisterReject.c
index e9e6450..3a6a9da 100644
--- a/src/hnbap/HNBRegisterReject.c
+++ b/src/hnbap/HNBAP_HNBRegisterReject.c
@@ -5,7 +5,7 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/HNBRegisterReject.h>
+#include <osmocom/hnbap/HNBAP_HNBRegisterReject.h>
static int
memb_hnbRegisterReject_ies_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
@@ -45,9 +45,9 @@ static asn_per_constraints_t asn_PER_memb_hnbRegisterReject_ies_constr_2 GCC_NOT
};
static asn_TYPE_member_t asn_MBR_hnbRegisterReject_ies_2[] = {
{ ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
+ -1 /* Ambiguous tag (CHOICE?) */,
0,
- &asn_DEF_IE,
+ &asn_DEF_HNBAP_IE,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -91,8 +91,8 @@ asn_TYPE_descriptor_t asn_DEF_hnbRegisterReject_ies_2 = {
&asn_SPC_hnbRegisterReject_ies_specs_2 /* Additional specs */
};
-static asn_TYPE_member_t asn_MBR_HNBRegisterReject_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct HNBRegisterReject, hnbRegisterReject_ies),
+static asn_TYPE_member_t asn_MBR_HNBAP_HNBRegisterReject_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_HNBRegisterReject, hnbRegisterReject_ies),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
0,
&asn_DEF_hnbRegisterReject_ies_2,
@@ -102,24 +102,24 @@ static asn_TYPE_member_t asn_MBR_HNBRegisterReject_1[] = {
"hnbRegisterReject-ies"
},
};
-static const ber_tlv_tag_t asn_DEF_HNBRegisterReject_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_HNBRegisterReject_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_HNBRegisterReject_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_HNBRegisterReject_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* hnbRegisterReject-ies */
};
-static asn_SEQUENCE_specifics_t asn_SPC_HNBRegisterReject_specs_1 = {
- sizeof(struct HNBRegisterReject),
- offsetof(struct HNBRegisterReject, _asn_ctx),
- asn_MAP_HNBRegisterReject_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_HNBRegisterReject_specs_1 = {
+ sizeof(struct HNBAP_HNBRegisterReject),
+ offsetof(struct HNBAP_HNBRegisterReject, _asn_ctx),
+ asn_MAP_HNBAP_HNBRegisterReject_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_HNBRegisterReject = {
- "HNBRegisterReject",
- "HNBRegisterReject",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_HNBRegisterReject = {
+ "HNBAP_HNBRegisterReject",
+ "HNBAP_HNBRegisterReject",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -132,15 +132,15 @@ asn_TYPE_descriptor_t asn_DEF_HNBRegisterReject = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_HNBRegisterReject_tags_1,
- sizeof(asn_DEF_HNBRegisterReject_tags_1)
- /sizeof(asn_DEF_HNBRegisterReject_tags_1[0]), /* 1 */
- asn_DEF_HNBRegisterReject_tags_1, /* Same as above */
- sizeof(asn_DEF_HNBRegisterReject_tags_1)
- /sizeof(asn_DEF_HNBRegisterReject_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_HNBRegisterReject_tags_1,
+ sizeof(asn_DEF_HNBAP_HNBRegisterReject_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNBRegisterReject_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_HNBRegisterReject_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_HNBRegisterReject_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNBRegisterReject_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_HNBRegisterReject_1,
+ asn_MBR_HNBAP_HNBRegisterReject_1,
1, /* Elements count */
- &asn_SPC_HNBRegisterReject_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_HNBRegisterReject_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/HNBRegisterRequest.c b/src/hnbap/HNBAP_HNBRegisterRequest.c
index b8a5b17..076aca5 100644
--- a/src/hnbap/HNBRegisterRequest.c
+++ b/src/hnbap/HNBAP_HNBRegisterRequest.c
@@ -5,7 +5,7 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/HNBRegisterRequest.h>
+#include <osmocom/hnbap/HNBAP_HNBRegisterRequest.h>
static int
memb_hnbRegisterRequest_ies_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
@@ -45,9 +45,9 @@ static asn_per_constraints_t asn_PER_memb_hnbRegisterRequest_ies_constr_2 GCC_NO
};
static asn_TYPE_member_t asn_MBR_hnbRegisterRequest_ies_2[] = {
{ ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
+ -1 /* Ambiguous tag (CHOICE?) */,
0,
- &asn_DEF_IE,
+ &asn_DEF_HNBAP_IE,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -91,8 +91,8 @@ asn_TYPE_descriptor_t asn_DEF_hnbRegisterRequest_ies_2 = {
&asn_SPC_hnbRegisterRequest_ies_specs_2 /* Additional specs */
};
-static asn_TYPE_member_t asn_MBR_HNBRegisterRequest_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct HNBRegisterRequest, hnbRegisterRequest_ies),
+static asn_TYPE_member_t asn_MBR_HNBAP_HNBRegisterRequest_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_HNBRegisterRequest, hnbRegisterRequest_ies),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
0,
&asn_DEF_hnbRegisterRequest_ies_2,
@@ -102,24 +102,24 @@ static asn_TYPE_member_t asn_MBR_HNBRegisterRequest_1[] = {
"hnbRegisterRequest-ies"
},
};
-static const ber_tlv_tag_t asn_DEF_HNBRegisterRequest_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_HNBRegisterRequest_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_HNBRegisterRequest_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_HNBRegisterRequest_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* hnbRegisterRequest-ies */
};
-static asn_SEQUENCE_specifics_t asn_SPC_HNBRegisterRequest_specs_1 = {
- sizeof(struct HNBRegisterRequest),
- offsetof(struct HNBRegisterRequest, _asn_ctx),
- asn_MAP_HNBRegisterRequest_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_HNBRegisterRequest_specs_1 = {
+ sizeof(struct HNBAP_HNBRegisterRequest),
+ offsetof(struct HNBAP_HNBRegisterRequest, _asn_ctx),
+ asn_MAP_HNBAP_HNBRegisterRequest_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_HNBRegisterRequest = {
- "HNBRegisterRequest",
- "HNBRegisterRequest",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_HNBRegisterRequest = {
+ "HNBAP_HNBRegisterRequest",
+ "HNBAP_HNBRegisterRequest",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -132,15 +132,15 @@ asn_TYPE_descriptor_t asn_DEF_HNBRegisterRequest = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_HNBRegisterRequest_tags_1,
- sizeof(asn_DEF_HNBRegisterRequest_tags_1)
- /sizeof(asn_DEF_HNBRegisterRequest_tags_1[0]), /* 1 */
- asn_DEF_HNBRegisterRequest_tags_1, /* Same as above */
- sizeof(asn_DEF_HNBRegisterRequest_tags_1)
- /sizeof(asn_DEF_HNBRegisterRequest_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_HNBRegisterRequest_tags_1,
+ sizeof(asn_DEF_HNBAP_HNBRegisterRequest_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNBRegisterRequest_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_HNBRegisterRequest_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_HNBRegisterRequest_tags_1)
+ /sizeof(asn_DEF_HNBAP_HNBRegisterRequest_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_HNBRegisterRequest_1,
+ asn_MBR_HNBAP_HNBRegisterRequest_1,
1, /* Elements count */
- &asn_SPC_HNBRegisterRequest_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_HNBRegisterRequest_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/HNBAP_IE-Extensions.c b/src/hnbap/HNBAP_IE-Extensions.c
new file mode 100644
index 0000000..a619037
--- /dev/null
+++ b/src/hnbap/HNBAP_IE-Extensions.c
@@ -0,0 +1,60 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#include <osmocom/hnbap/HNBAP_IE-Extensions.h>
+
+static asn_per_constraints_t asn_PER_type_HNBAP_IE_Extensions_constr_1 GCC_NOTUSED = {
+ { APC_UNCONSTRAINED, -1, -1, 0, 0 },
+ { APC_CONSTRAINED, 16, 16, 1l, 65535l } /* (SIZE(1..65535)) */,
+ 0, 0 /* No PER value map */
+};
+static asn_TYPE_member_t asn_MBR_HNBAP_IE_Extensions_1[] = {
+ { ATF_POINTER, 0, 0,
+ -1 /* Ambiguous tag (CHOICE?) */,
+ 0,
+ &asn_DEF_HNBAP_IE,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ ""
+ },
+};
+static const ber_tlv_tag_t asn_DEF_HNBAP_IE_Extensions_tags_1[] = {
+ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
+};
+static asn_SET_OF_specifics_t asn_SPC_HNBAP_IE_Extensions_specs_1 = {
+ sizeof(struct HNBAP_IE_Extensions),
+ offsetof(struct HNBAP_IE_Extensions, _asn_ctx),
+ 0, /* XER encoding is XMLDelimitedItemList */
+};
+asn_TYPE_descriptor_t asn_DEF_HNBAP_IE_Extensions = {
+ "HNBAP_IE-Extensions",
+ "HNBAP_IE-Extensions",
+ 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,
+ SEQUENCE_OF_decode_aper,
+ SEQUENCE_OF_encode_aper,
+ 0, /* Use generic outmost tag fetcher */
+ asn_DEF_HNBAP_IE_Extensions_tags_1,
+ sizeof(asn_DEF_HNBAP_IE_Extensions_tags_1)
+ /sizeof(asn_DEF_HNBAP_IE_Extensions_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_IE_Extensions_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_IE_Extensions_tags_1)
+ /sizeof(asn_DEF_HNBAP_IE_Extensions_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_IE_Extensions_constr_1,
+ asn_MBR_HNBAP_IE_Extensions_1,
+ 1, /* Single element */
+ &asn_SPC_HNBAP_IE_Extensions_specs_1 /* Additional specs */
+};
+
diff --git a/src/hnbap/IE.c b/src/hnbap/HNBAP_IE.c
index e088900..ce153c7 100644
--- a/src/hnbap/IE.c
+++ b/src/hnbap/HNBAP_IE.c
@@ -5,28 +5,28 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/IE.h>
+#include <osmocom/hnbap/HNBAP_IE.h>
-static asn_TYPE_member_t asn_MBR_IE_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct IE, id),
+static asn_TYPE_member_t asn_MBR_HNBAP_IE_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_IE, id),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_ProtocolIE_ID,
+ &asn_DEF_HNBAP_ProtocolIE_ID,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"id"
},
- { ATF_NOFLAGS, 0, offsetof(struct IE, criticality),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_IE, criticality),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_Criticality,
+ &asn_DEF_HNBAP_Criticality,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"criticality"
},
- { ATF_NOFLAGS, 0, offsetof(struct IE, value),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_IE, value),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
+1, /* EXPLICIT tag at current level */
&asn_DEF_ANY,
@@ -36,26 +36,26 @@ static asn_TYPE_member_t asn_MBR_IE_1[] = {
"value"
},
};
-static const ber_tlv_tag_t asn_DEF_IE_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_IE_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_IE_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_IE_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */
};
-static asn_SEQUENCE_specifics_t asn_SPC_IE_specs_1 = {
- sizeof(struct IE),
- offsetof(struct IE, _asn_ctx),
- asn_MAP_IE_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_IE_specs_1 = {
+ sizeof(struct HNBAP_IE),
+ offsetof(struct HNBAP_IE, _asn_ctx),
+ asn_MAP_HNBAP_IE_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_IE = {
- "IE",
- "IE",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_IE = {
+ "HNBAP_IE",
+ "HNBAP_IE",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -68,15 +68,15 @@ asn_TYPE_descriptor_t asn_DEF_IE = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_IE_tags_1,
- sizeof(asn_DEF_IE_tags_1)
- /sizeof(asn_DEF_IE_tags_1[0]), /* 1 */
- asn_DEF_IE_tags_1, /* Same as above */
- sizeof(asn_DEF_IE_tags_1)
- /sizeof(asn_DEF_IE_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_IE_tags_1,
+ sizeof(asn_DEF_HNBAP_IE_tags_1)
+ /sizeof(asn_DEF_HNBAP_IE_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_IE_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_IE_tags_1)
+ /sizeof(asn_DEF_HNBAP_IE_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_IE_1,
+ asn_MBR_HNBAP_IE_1,
3, /* Elements count */
- &asn_SPC_IE_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_IE_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/Context-ID.c b/src/hnbap/HNBAP_IMEI.c
index f07fd2b..0a513e5 100644
--- a/src/hnbap/Context-ID.c
+++ b/src/hnbap/HNBAP_IMEI.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/Context-ID.h>
+#include <osmocom/hnbap/HNBAP_IMEI.h>
int
-Context_ID_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_IMEI_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;
@@ -27,7 +27,7 @@ Context_ID_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
size = 0;
}
- if((size == 24l)) {
+ if((size == 60l)) {
/* Constraint check succeeded */
return 0;
} else {
@@ -43,7 +43,7 @@ Context_ID_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-Context_ID_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_IMEI_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;
@@ -63,109 +63,109 @@ Context_ID_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-Context_ID_free(asn_TYPE_descriptor_t *td,
+HNBAP_IMEI_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- Context_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMEI_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-Context_ID_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_IMEI_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- Context_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMEI_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-Context_ID_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_IMEI_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- Context_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMEI_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-Context_ID_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_IMEI_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- Context_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMEI_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-Context_ID_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_IMEI_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- Context_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMEI_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-Context_ID_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_IMEI_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- Context_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMEI_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-Context_ID_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_IMEI_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- Context_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMEI_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-Context_ID_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_IMEI_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- Context_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMEI_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-Context_ID_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_IMEI_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- Context_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMEI_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-Context_ID_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_IMEI_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- Context_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMEI_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_Context_ID_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_IMEI_constr_1 GCC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
- { APC_CONSTRAINED, 0, 0, 24l, 24l } /* (SIZE(24..24)) */,
+ { APC_CONSTRAINED, 0, 0, 60l, 60l } /* (SIZE(60..60)) */,
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_Context_ID_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_IMEI_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (3 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_Context_ID = {
- "Context-ID",
- "Context-ID",
- Context_ID_free,
- Context_ID_print,
- Context_ID_constraint,
- Context_ID_decode_ber,
- Context_ID_encode_der,
- Context_ID_decode_xer,
- Context_ID_encode_xer,
- Context_ID_decode_uper,
- Context_ID_encode_uper,
- Context_ID_decode_aper,
- Context_ID_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_IMEI = {
+ "HNBAP_IMEI",
+ "HNBAP_IMEI",
+ HNBAP_IMEI_free,
+ HNBAP_IMEI_print,
+ HNBAP_IMEI_constraint,
+ HNBAP_IMEI_decode_ber,
+ HNBAP_IMEI_encode_der,
+ HNBAP_IMEI_decode_xer,
+ HNBAP_IMEI_encode_xer,
+ HNBAP_IMEI_decode_uper,
+ HNBAP_IMEI_encode_uper,
+ HNBAP_IMEI_decode_aper,
+ HNBAP_IMEI_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_Context_ID_tags_1,
- sizeof(asn_DEF_Context_ID_tags_1)
- /sizeof(asn_DEF_Context_ID_tags_1[0]), /* 1 */
- asn_DEF_Context_ID_tags_1, /* Same as above */
- sizeof(asn_DEF_Context_ID_tags_1)
- /sizeof(asn_DEF_Context_ID_tags_1[0]), /* 1 */
- &asn_PER_type_Context_ID_constr_1,
+ asn_DEF_HNBAP_IMEI_tags_1,
+ sizeof(asn_DEF_HNBAP_IMEI_tags_1)
+ /sizeof(asn_DEF_HNBAP_IMEI_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_IMEI_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_IMEI_tags_1)
+ /sizeof(asn_DEF_HNBAP_IMEI_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_IMEI_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/IMSI.c b/src/hnbap/HNBAP_IMSI.c
index 6f3ec40..58421b8 100644
--- a/src/hnbap/IMSI.c
+++ b/src/hnbap/HNBAP_IMSI.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/IMSI.h>
+#include <osmocom/hnbap/HNBAP_IMSI.h>
int
-IMSI_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_IMSI_constraint(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;
@@ -38,7 +38,7 @@ IMSI_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-IMSI_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_IMSI_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->check_constraints = asn_DEF_OCTET_STRING.check_constraints;
@@ -58,109 +58,109 @@ IMSI_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-IMSI_free(asn_TYPE_descriptor_t *td,
+HNBAP_IMSI_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- IMSI_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMSI_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-IMSI_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_IMSI_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- IMSI_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMSI_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-IMSI_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_IMSI_decode_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_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMSI_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-IMSI_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_IMSI_encode_der(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_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMSI_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-IMSI_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_IMSI_decode_xer(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_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMSI_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-IMSI_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_IMSI_encode_xer(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_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMSI_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-IMSI_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_IMSI_decode_uper(asn_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_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMSI_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-IMSI_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_IMSI_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- IMSI_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMSI_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-IMSI_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_IMSI_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- IMSI_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMSI_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-IMSI_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_IMSI_decode_aper(asn_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_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMSI_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_IMSI_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_IMSI_constr_1 GCC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 3, 3, 3l, 8l } /* (SIZE(3..8)) */,
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_IMSI_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_IMSI_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_IMSI = {
- "IMSI",
- "IMSI",
- IMSI_free,
- IMSI_print,
- IMSI_constraint,
- IMSI_decode_ber,
- IMSI_encode_der,
- IMSI_decode_xer,
- IMSI_encode_xer,
- IMSI_decode_uper,
- IMSI_encode_uper,
- IMSI_decode_aper,
- IMSI_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_IMSI = {
+ "HNBAP_IMSI",
+ "HNBAP_IMSI",
+ HNBAP_IMSI_free,
+ HNBAP_IMSI_print,
+ HNBAP_IMSI_constraint,
+ HNBAP_IMSI_decode_ber,
+ HNBAP_IMSI_encode_der,
+ HNBAP_IMSI_decode_xer,
+ HNBAP_IMSI_encode_xer,
+ HNBAP_IMSI_decode_uper,
+ HNBAP_IMSI_encode_uper,
+ HNBAP_IMSI_decode_aper,
+ HNBAP_IMSI_encode_aper,
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_DEF_HNBAP_IMSI_tags_1,
+ sizeof(asn_DEF_HNBAP_IMSI_tags_1)
+ /sizeof(asn_DEF_HNBAP_IMSI_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_IMSI_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_IMSI_tags_1)
+ /sizeof(asn_DEF_HNBAP_IMSI_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_IMSI_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/IMSIDS41.c b/src/hnbap/HNBAP_IMSIDS41.c
index 383085a..4171f72 100644
--- a/src/hnbap/IMSIDS41.c
+++ b/src/hnbap/HNBAP_IMSIDS41.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/IMSIDS41.h>
+#include <osmocom/hnbap/HNBAP_IMSIDS41.h>
int
-IMSIDS41_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_IMSIDS41_constraint(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;
@@ -38,7 +38,7 @@ IMSIDS41_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-IMSIDS41_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_IMSIDS41_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->check_constraints = asn_DEF_OCTET_STRING.check_constraints;
@@ -58,109 +58,109 @@ IMSIDS41_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-IMSIDS41_free(asn_TYPE_descriptor_t *td,
+HNBAP_IMSIDS41_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- IMSIDS41_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMSIDS41_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-IMSIDS41_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_IMSIDS41_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- IMSIDS41_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMSIDS41_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-IMSIDS41_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_IMSIDS41_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- IMSIDS41_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMSIDS41_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-IMSIDS41_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_IMSIDS41_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- IMSIDS41_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMSIDS41_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-IMSIDS41_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_IMSIDS41_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- IMSIDS41_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMSIDS41_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-IMSIDS41_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_IMSIDS41_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- IMSIDS41_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMSIDS41_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-IMSIDS41_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_IMSIDS41_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- IMSIDS41_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMSIDS41_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-IMSIDS41_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_IMSIDS41_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- IMSIDS41_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMSIDS41_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-IMSIDS41_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_IMSIDS41_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- IMSIDS41_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMSIDS41_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-IMSIDS41_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_IMSIDS41_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- IMSIDS41_1_inherit_TYPE_descriptor(td);
+ HNBAP_IMSIDS41_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_IMSIDS41_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_IMSIDS41_constr_1 GCC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 2, 2, 5l, 7l } /* (SIZE(5..7)) */,
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_IMSIDS41_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_IMSIDS41_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_IMSIDS41 = {
- "IMSIDS41",
- "IMSIDS41",
- IMSIDS41_free,
- IMSIDS41_print,
- IMSIDS41_constraint,
- IMSIDS41_decode_ber,
- IMSIDS41_encode_der,
- IMSIDS41_decode_xer,
- IMSIDS41_encode_xer,
- IMSIDS41_decode_uper,
- IMSIDS41_encode_uper,
- IMSIDS41_decode_aper,
- IMSIDS41_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_IMSIDS41 = {
+ "HNBAP_IMSIDS41",
+ "HNBAP_IMSIDS41",
+ HNBAP_IMSIDS41_free,
+ HNBAP_IMSIDS41_print,
+ HNBAP_IMSIDS41_constraint,
+ HNBAP_IMSIDS41_decode_ber,
+ HNBAP_IMSIDS41_encode_der,
+ HNBAP_IMSIDS41_decode_xer,
+ HNBAP_IMSIDS41_encode_xer,
+ HNBAP_IMSIDS41_decode_uper,
+ HNBAP_IMSIDS41_encode_uper,
+ HNBAP_IMSIDS41_decode_aper,
+ HNBAP_IMSIDS41_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_IMSIDS41_tags_1,
- sizeof(asn_DEF_IMSIDS41_tags_1)
- /sizeof(asn_DEF_IMSIDS41_tags_1[0]), /* 1 */
- asn_DEF_IMSIDS41_tags_1, /* Same as above */
- sizeof(asn_DEF_IMSIDS41_tags_1)
- /sizeof(asn_DEF_IMSIDS41_tags_1[0]), /* 1 */
- &asn_PER_type_IMSIDS41_constr_1,
+ asn_DEF_HNBAP_IMSIDS41_tags_1,
+ sizeof(asn_DEF_HNBAP_IMSIDS41_tags_1)
+ /sizeof(asn_DEF_HNBAP_IMSIDS41_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_IMSIDS41_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_IMSIDS41_tags_1)
+ /sizeof(asn_DEF_HNBAP_IMSIDS41_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_IMSIDS41_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/IMSIESN.c b/src/hnbap/HNBAP_IMSIESN.c
index c26cde0..a2379a8 100644
--- a/src/hnbap/IMSIESN.c
+++ b/src/hnbap/HNBAP_IMSIESN.c
@@ -5,47 +5,47 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/IMSIESN.h>
+#include <osmocom/hnbap/HNBAP_IMSIESN.h>
-static asn_TYPE_member_t asn_MBR_IMSIESN_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct IMSIESN, iMSIDS41),
+static asn_TYPE_member_t asn_MBR_HNBAP_IMSIESN_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_IMSIESN, iMSIDS41),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_IMSIDS41,
+ &asn_DEF_HNBAP_IMSIDS41,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"iMSIDS41"
},
- { ATF_NOFLAGS, 0, offsetof(struct IMSIESN, eSN),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_IMSIESN, eSN),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_ESN,
+ &asn_DEF_HNBAP_ESN,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"eSN"
},
};
-static const ber_tlv_tag_t asn_DEF_IMSIESN_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_IMSIESN_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_IMSIESN_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_IMSIESN_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* iMSIDS41 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* eSN */
};
-static asn_SEQUENCE_specifics_t asn_SPC_IMSIESN_specs_1 = {
- sizeof(struct IMSIESN),
- offsetof(struct IMSIESN, _asn_ctx),
- asn_MAP_IMSIESN_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_IMSIESN_specs_1 = {
+ sizeof(struct HNBAP_IMSIESN),
+ offsetof(struct HNBAP_IMSIESN, _asn_ctx),
+ asn_MAP_HNBAP_IMSIESN_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_IMSIESN = {
- "IMSIESN",
- "IMSIESN",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_IMSIESN = {
+ "HNBAP_IMSIESN",
+ "HNBAP_IMSIESN",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -58,15 +58,15 @@ asn_TYPE_descriptor_t asn_DEF_IMSIESN = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_IMSIESN_tags_1,
- sizeof(asn_DEF_IMSIESN_tags_1)
- /sizeof(asn_DEF_IMSIESN_tags_1[0]), /* 1 */
- asn_DEF_IMSIESN_tags_1, /* Same as above */
- sizeof(asn_DEF_IMSIESN_tags_1)
- /sizeof(asn_DEF_IMSIESN_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_IMSIESN_tags_1,
+ sizeof(asn_DEF_HNBAP_IMSIESN_tags_1)
+ /sizeof(asn_DEF_HNBAP_IMSIESN_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_IMSIESN_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_IMSIESN_tags_1)
+ /sizeof(asn_DEF_HNBAP_IMSIESN_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_IMSIESN_1,
+ asn_MBR_HNBAP_IMSIESN_1,
2, /* Elements count */
- &asn_SPC_IMSIESN_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_IMSIESN_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/IP-Address.c b/src/hnbap/HNBAP_IP-Address.c
index f634614..8d86f45 100644
--- a/src/hnbap/IP-Address.c
+++ b/src/hnbap/HNBAP_IP-Address.c
@@ -5,7 +5,7 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/IP-Address.h>
+#include <osmocom/hnbap/HNBAP_IP-Address.h>
static asn_per_constraints_t asn_PER_type_ipaddress_constr_2 GCC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0l, 1l } /* (0..1,...) */,
@@ -16,7 +16,7 @@ static asn_TYPE_member_t asn_MBR_ipaddress_2[] = {
{ ATF_NOFLAGS, 0, offsetof(struct ipaddress, choice.ipv4info),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_Ipv4Address,
+ &asn_DEF_HNBAP_Ipv4Address,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -25,7 +25,7 @@ static asn_TYPE_member_t asn_MBR_ipaddress_2[] = {
{ ATF_NOFLAGS, 0, offsetof(struct ipaddress, choice.ipv6info),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_Ipv6Address,
+ &asn_DEF_HNBAP_Ipv6Address,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -72,8 +72,8 @@ asn_TYPE_descriptor_t asn_DEF_ipaddress_2 = {
&asn_SPC_ipaddress_specs_2 /* Additional specs */
};
-static asn_TYPE_member_t asn_MBR_IP_Address_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct IP_Address, ipaddress),
+static asn_TYPE_member_t asn_MBR_HNBAP_IP_Address_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_IP_Address, ipaddress),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
+1, /* EXPLICIT tag at current level */
&asn_DEF_ipaddress_2,
@@ -82,37 +82,37 @@ static asn_TYPE_member_t asn_MBR_IP_Address_1[] = {
0,
"ipaddress"
},
- { ATF_POINTER, 1, offsetof(struct IP_Address, iE_Extensions),
+ { ATF_POINTER, 1, offsetof(struct HNBAP_IP_Address, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_IE_Extensions,
+ &asn_DEF_HNBAP_IE_Extensions,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"iE-Extensions"
},
};
-static const int asn_MAP_IP_Address_oms_1[] = { 1 };
-static const ber_tlv_tag_t asn_DEF_IP_Address_tags_1[] = {
+static const int asn_MAP_HNBAP_IP_Address_oms_1[] = { 1 };
+static const ber_tlv_tag_t asn_DEF_HNBAP_IP_Address_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_IP_Address_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_IP_Address_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ipaddress */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* iE-Extensions */
};
-static asn_SEQUENCE_specifics_t asn_SPC_IP_Address_specs_1 = {
- sizeof(struct IP_Address),
- offsetof(struct IP_Address, _asn_ctx),
- asn_MAP_IP_Address_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_IP_Address_specs_1 = {
+ sizeof(struct HNBAP_IP_Address),
+ offsetof(struct HNBAP_IP_Address, _asn_ctx),
+ asn_MAP_HNBAP_IP_Address_tag2el_1,
2, /* Count of tags in the map */
- asn_MAP_IP_Address_oms_1, /* Optional members */
+ asn_MAP_HNBAP_IP_Address_oms_1, /* Optional members */
1, 0, /* Root/Additions */
1, /* Start extensions */
3 /* Stop extensions */
};
-asn_TYPE_descriptor_t asn_DEF_IP_Address = {
- "IP-Address",
- "IP-Address",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_IP_Address = {
+ "HNBAP_IP-Address",
+ "HNBAP_IP-Address",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -125,15 +125,15 @@ asn_TYPE_descriptor_t asn_DEF_IP_Address = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_IP_Address_tags_1,
- sizeof(asn_DEF_IP_Address_tags_1)
- /sizeof(asn_DEF_IP_Address_tags_1[0]), /* 1 */
- asn_DEF_IP_Address_tags_1, /* Same as above */
- sizeof(asn_DEF_IP_Address_tags_1)
- /sizeof(asn_DEF_IP_Address_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_IP_Address_tags_1,
+ sizeof(asn_DEF_HNBAP_IP_Address_tags_1)
+ /sizeof(asn_DEF_HNBAP_IP_Address_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_IP_Address_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_IP_Address_tags_1)
+ /sizeof(asn_DEF_HNBAP_IP_Address_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_IP_Address_1,
+ asn_MBR_HNBAP_IP_Address_1,
2, /* Elements count */
- &asn_SPC_IP_Address_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_IP_Address_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/UnsuccessfulOutcome.c b/src/hnbap/HNBAP_InitiatingMessage.c
index d89cd2c..afea0ce 100644
--- a/src/hnbap/UnsuccessfulOutcome.c
+++ b/src/hnbap/HNBAP_InitiatingMessage.c
@@ -5,28 +5,28 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/UnsuccessfulOutcome.h>
+#include <osmocom/hnbap/HNBAP_InitiatingMessage.h>
-static asn_TYPE_member_t asn_MBR_UnsuccessfulOutcome_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome, procedureCode),
+static asn_TYPE_member_t asn_MBR_HNBAP_InitiatingMessage_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_InitiatingMessage, procedureCode),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_ProcedureCode,
+ &asn_DEF_HNBAP_ProcedureCode,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"procedureCode"
},
- { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome, criticality),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_InitiatingMessage, criticality),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_Criticality,
+ &asn_DEF_HNBAP_Criticality,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"criticality"
},
- { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome, value),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_InitiatingMessage, value),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
+1, /* EXPLICIT tag at current level */
&asn_DEF_ANY,
@@ -36,26 +36,26 @@ static asn_TYPE_member_t asn_MBR_UnsuccessfulOutcome_1[] = {
"value"
},
};
-static const ber_tlv_tag_t asn_DEF_UnsuccessfulOutcome_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_InitiatingMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_UnsuccessfulOutcome_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_InitiatingMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* procedureCode */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */
};
-static asn_SEQUENCE_specifics_t asn_SPC_UnsuccessfulOutcome_specs_1 = {
- sizeof(struct UnsuccessfulOutcome),
- offsetof(struct UnsuccessfulOutcome, _asn_ctx),
- asn_MAP_UnsuccessfulOutcome_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_InitiatingMessage_specs_1 = {
+ sizeof(struct HNBAP_InitiatingMessage),
+ offsetof(struct HNBAP_InitiatingMessage, _asn_ctx),
+ asn_MAP_HNBAP_InitiatingMessage_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_UnsuccessfulOutcome = {
- "UnsuccessfulOutcome",
- "UnsuccessfulOutcome",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_InitiatingMessage = {
+ "HNBAP_InitiatingMessage",
+ "HNBAP_InitiatingMessage",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -68,15 +68,15 @@ asn_TYPE_descriptor_t asn_DEF_UnsuccessfulOutcome = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_UnsuccessfulOutcome_tags_1,
- sizeof(asn_DEF_UnsuccessfulOutcome_tags_1)
- /sizeof(asn_DEF_UnsuccessfulOutcome_tags_1[0]), /* 1 */
- asn_DEF_UnsuccessfulOutcome_tags_1, /* Same as above */
- sizeof(asn_DEF_UnsuccessfulOutcome_tags_1)
- /sizeof(asn_DEF_UnsuccessfulOutcome_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_InitiatingMessage_tags_1,
+ sizeof(asn_DEF_HNBAP_InitiatingMessage_tags_1)
+ /sizeof(asn_DEF_HNBAP_InitiatingMessage_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_InitiatingMessage_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_InitiatingMessage_tags_1)
+ /sizeof(asn_DEF_HNBAP_InitiatingMessage_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_UnsuccessfulOutcome_1,
+ asn_MBR_HNBAP_InitiatingMessage_1,
3, /* Elements count */
- &asn_SPC_UnsuccessfulOutcome_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_InitiatingMessage_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/HNB-Identity-Info.c b/src/hnbap/HNBAP_Ipv4Address.c
index 1a1db1c..78492db 100644
--- a/src/hnbap/HNB-Identity-Info.c
+++ b/src/hnbap/HNBAP_Ipv4Address.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/HNB-Identity-Info.h>
+#include <osmocom/hnbap/HNBAP_Ipv4Address.h>
int
-HNB_Identity_Info_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_Ipv4Address_constraint(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;
@@ -22,7 +22,7 @@ HNB_Identity_Info_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
size = st->size;
- if((size >= 1l && size <= 255l)) {
+ if((size == 4l)) {
/* Constraint check succeeded */
return 0;
} else {
@@ -38,7 +38,7 @@ HNB_Identity_Info_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-HNB_Identity_Info_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_Ipv4Address_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->check_constraints = asn_DEF_OCTET_STRING.check_constraints;
@@ -58,109 +58,109 @@ HNB_Identity_Info_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-HNB_Identity_Info_free(asn_TYPE_descriptor_t *td,
+HNBAP_Ipv4Address_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- HNB_Identity_Info_1_inherit_TYPE_descriptor(td);
+ HNBAP_Ipv4Address_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-HNB_Identity_Info_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_Ipv4Address_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- HNB_Identity_Info_1_inherit_TYPE_descriptor(td);
+ HNBAP_Ipv4Address_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-HNB_Identity_Info_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Ipv4Address_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- HNB_Identity_Info_1_inherit_TYPE_descriptor(td);
+ HNBAP_Ipv4Address_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-HNB_Identity_Info_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_Ipv4Address_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- HNB_Identity_Info_1_inherit_TYPE_descriptor(td);
+ HNBAP_Ipv4Address_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-HNB_Identity_Info_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Ipv4Address_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- HNB_Identity_Info_1_inherit_TYPE_descriptor(td);
+ HNBAP_Ipv4Address_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-HNB_Identity_Info_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_Ipv4Address_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- HNB_Identity_Info_1_inherit_TYPE_descriptor(td);
+ HNBAP_Ipv4Address_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-HNB_Identity_Info_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Ipv4Address_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- HNB_Identity_Info_1_inherit_TYPE_descriptor(td);
+ HNBAP_Ipv4Address_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-HNB_Identity_Info_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_Ipv4Address_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- HNB_Identity_Info_1_inherit_TYPE_descriptor(td);
+ HNBAP_Ipv4Address_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-HNB_Identity_Info_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_Ipv4Address_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- HNB_Identity_Info_1_inherit_TYPE_descriptor(td);
+ HNBAP_Ipv4Address_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-HNB_Identity_Info_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Ipv4Address_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- HNB_Identity_Info_1_inherit_TYPE_descriptor(td);
+ HNBAP_Ipv4Address_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_HNB_Identity_Info_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_Ipv4Address_constr_1 GCC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
- { APC_CONSTRAINED, 8, 8, 1l, 255l } /* (SIZE(1..255)) */,
+ { APC_CONSTRAINED, 0, 0, 4l, 4l } /* (SIZE(4..4)) */,
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_HNB_Identity_Info_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_Ipv4Address_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_HNB_Identity_Info = {
- "HNB-Identity-Info",
- "HNB-Identity-Info",
- HNB_Identity_Info_free,
- HNB_Identity_Info_print,
- HNB_Identity_Info_constraint,
- HNB_Identity_Info_decode_ber,
- HNB_Identity_Info_encode_der,
- HNB_Identity_Info_decode_xer,
- HNB_Identity_Info_encode_xer,
- HNB_Identity_Info_decode_uper,
- HNB_Identity_Info_encode_uper,
- HNB_Identity_Info_decode_aper,
- HNB_Identity_Info_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_Ipv4Address = {
+ "HNBAP_Ipv4Address",
+ "HNBAP_Ipv4Address",
+ HNBAP_Ipv4Address_free,
+ HNBAP_Ipv4Address_print,
+ HNBAP_Ipv4Address_constraint,
+ HNBAP_Ipv4Address_decode_ber,
+ HNBAP_Ipv4Address_encode_der,
+ HNBAP_Ipv4Address_decode_xer,
+ HNBAP_Ipv4Address_encode_xer,
+ HNBAP_Ipv4Address_decode_uper,
+ HNBAP_Ipv4Address_encode_uper,
+ HNBAP_Ipv4Address_decode_aper,
+ HNBAP_Ipv4Address_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_HNB_Identity_Info_tags_1,
- sizeof(asn_DEF_HNB_Identity_Info_tags_1)
- /sizeof(asn_DEF_HNB_Identity_Info_tags_1[0]), /* 1 */
- asn_DEF_HNB_Identity_Info_tags_1, /* Same as above */
- sizeof(asn_DEF_HNB_Identity_Info_tags_1)
- /sizeof(asn_DEF_HNB_Identity_Info_tags_1[0]), /* 1 */
- &asn_PER_type_HNB_Identity_Info_constr_1,
+ asn_DEF_HNBAP_Ipv4Address_tags_1,
+ sizeof(asn_DEF_HNBAP_Ipv4Address_tags_1)
+ /sizeof(asn_DEF_HNBAP_Ipv4Address_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_Ipv4Address_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_Ipv4Address_tags_1)
+ /sizeof(asn_DEF_HNBAP_Ipv4Address_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_Ipv4Address_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/Ipv6Address.c b/src/hnbap/HNBAP_Ipv6Address.c
index aba18b1..9f0e34b 100644
--- a/src/hnbap/Ipv6Address.c
+++ b/src/hnbap/HNBAP_Ipv6Address.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/Ipv6Address.h>
+#include <osmocom/hnbap/HNBAP_Ipv6Address.h>
int
-Ipv6Address_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_Ipv6Address_constraint(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;
@@ -38,7 +38,7 @@ Ipv6Address_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-Ipv6Address_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_Ipv6Address_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->check_constraints = asn_DEF_OCTET_STRING.check_constraints;
@@ -58,109 +58,109 @@ Ipv6Address_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-Ipv6Address_free(asn_TYPE_descriptor_t *td,
+HNBAP_Ipv6Address_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- Ipv6Address_1_inherit_TYPE_descriptor(td);
+ HNBAP_Ipv6Address_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-Ipv6Address_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_Ipv6Address_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- Ipv6Address_1_inherit_TYPE_descriptor(td);
+ HNBAP_Ipv6Address_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-Ipv6Address_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Ipv6Address_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- Ipv6Address_1_inherit_TYPE_descriptor(td);
+ HNBAP_Ipv6Address_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-Ipv6Address_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_Ipv6Address_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- Ipv6Address_1_inherit_TYPE_descriptor(td);
+ HNBAP_Ipv6Address_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-Ipv6Address_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Ipv6Address_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- Ipv6Address_1_inherit_TYPE_descriptor(td);
+ HNBAP_Ipv6Address_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-Ipv6Address_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_Ipv6Address_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- Ipv6Address_1_inherit_TYPE_descriptor(td);
+ HNBAP_Ipv6Address_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-Ipv6Address_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Ipv6Address_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- Ipv6Address_1_inherit_TYPE_descriptor(td);
+ HNBAP_Ipv6Address_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-Ipv6Address_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_Ipv6Address_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- Ipv6Address_1_inherit_TYPE_descriptor(td);
+ HNBAP_Ipv6Address_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-Ipv6Address_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_Ipv6Address_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- Ipv6Address_1_inherit_TYPE_descriptor(td);
+ HNBAP_Ipv6Address_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-Ipv6Address_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Ipv6Address_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- Ipv6Address_1_inherit_TYPE_descriptor(td);
+ HNBAP_Ipv6Address_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_Ipv6Address_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_Ipv6Address_constr_1 GCC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 16l, 16l } /* (SIZE(16..16)) */,
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_Ipv6Address_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_Ipv6Address_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_Ipv6Address = {
- "Ipv6Address",
- "Ipv6Address",
- Ipv6Address_free,
- Ipv6Address_print,
- Ipv6Address_constraint,
- Ipv6Address_decode_ber,
- Ipv6Address_encode_der,
- Ipv6Address_decode_xer,
- Ipv6Address_encode_xer,
- Ipv6Address_decode_uper,
- Ipv6Address_encode_uper,
- Ipv6Address_decode_aper,
- Ipv6Address_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_Ipv6Address = {
+ "HNBAP_Ipv6Address",
+ "HNBAP_Ipv6Address",
+ HNBAP_Ipv6Address_free,
+ HNBAP_Ipv6Address_print,
+ HNBAP_Ipv6Address_constraint,
+ HNBAP_Ipv6Address_decode_ber,
+ HNBAP_Ipv6Address_encode_der,
+ HNBAP_Ipv6Address_decode_xer,
+ HNBAP_Ipv6Address_encode_xer,
+ HNBAP_Ipv6Address_decode_uper,
+ HNBAP_Ipv6Address_encode_uper,
+ HNBAP_Ipv6Address_decode_aper,
+ HNBAP_Ipv6Address_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_Ipv6Address_tags_1,
- sizeof(asn_DEF_Ipv6Address_tags_1)
- /sizeof(asn_DEF_Ipv6Address_tags_1[0]), /* 1 */
- asn_DEF_Ipv6Address_tags_1, /* Same as above */
- sizeof(asn_DEF_Ipv6Address_tags_1)
- /sizeof(asn_DEF_Ipv6Address_tags_1[0]), /* 1 */
- &asn_PER_type_Ipv6Address_constr_1,
+ asn_DEF_HNBAP_Ipv6Address_tags_1,
+ sizeof(asn_DEF_HNBAP_Ipv6Address_tags_1)
+ /sizeof(asn_DEF_HNBAP_Ipv6Address_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_Ipv6Address_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_Ipv6Address_tags_1)
+ /sizeof(asn_DEF_HNBAP_Ipv6Address_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_Ipv6Address_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/HNBAP_Iurh-Signalling-TNL-AddressList.c b/src/hnbap/HNBAP_Iurh-Signalling-TNL-AddressList.c
new file mode 100644
index 0000000..b618d52
--- /dev/null
+++ b/src/hnbap/HNBAP_Iurh-Signalling-TNL-AddressList.c
@@ -0,0 +1,60 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#include <osmocom/hnbap/HNBAP_Iurh-Signalling-TNL-AddressList.h>
+
+static asn_per_constraints_t asn_PER_type_HNBAP_Iurh_Signalling_TNL_AddressList_constr_1 GCC_NOTUSED = {
+ { APC_UNCONSTRAINED, -1, -1, 0, 0 },
+ { APC_CONSTRAINED, 2, 2, 1l, 3l } /* (SIZE(1..3)) */,
+ 0, 0 /* No PER value map */
+};
+static asn_TYPE_member_t asn_MBR_HNBAP_Iurh_Signalling_TNL_AddressList_1[] = {
+ { ATF_POINTER, 0, 0,
+ -1 /* Ambiguous tag (CHOICE?) */,
+ 0,
+ &asn_DEF_HNBAP_IP_Address,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ ""
+ },
+};
+static const ber_tlv_tag_t asn_DEF_HNBAP_Iurh_Signalling_TNL_AddressList_tags_1[] = {
+ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
+};
+static asn_SET_OF_specifics_t asn_SPC_HNBAP_Iurh_Signalling_TNL_AddressList_specs_1 = {
+ sizeof(struct HNBAP_Iurh_Signalling_TNL_AddressList),
+ offsetof(struct HNBAP_Iurh_Signalling_TNL_AddressList, _asn_ctx),
+ 0, /* XER encoding is XMLDelimitedItemList */
+};
+asn_TYPE_descriptor_t asn_DEF_HNBAP_Iurh_Signalling_TNL_AddressList = {
+ "HNBAP_Iurh-Signalling-TNL-AddressList",
+ "HNBAP_Iurh-Signalling-TNL-AddressList",
+ 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,
+ SEQUENCE_OF_decode_aper,
+ SEQUENCE_OF_encode_aper,
+ 0, /* Use generic outmost tag fetcher */
+ asn_DEF_HNBAP_Iurh_Signalling_TNL_AddressList_tags_1,
+ sizeof(asn_DEF_HNBAP_Iurh_Signalling_TNL_AddressList_tags_1)
+ /sizeof(asn_DEF_HNBAP_Iurh_Signalling_TNL_AddressList_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_Iurh_Signalling_TNL_AddressList_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_Iurh_Signalling_TNL_AddressList_tags_1)
+ /sizeof(asn_DEF_HNBAP_Iurh_Signalling_TNL_AddressList_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_Iurh_Signalling_TNL_AddressList_constr_1,
+ asn_MBR_HNBAP_Iurh_Signalling_TNL_AddressList_1,
+ 1, /* Single element */
+ &asn_SPC_HNBAP_Iurh_Signalling_TNL_AddressList_specs_1 /* Additional specs */
+};
+
diff --git a/src/hnbap/LAC.c b/src/hnbap/HNBAP_LAC.c
index 2b2d60a..5e1229e 100644
--- a/src/hnbap/LAC.c
+++ b/src/hnbap/HNBAP_LAC.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/LAC.h>
+#include <osmocom/hnbap/HNBAP_LAC.h>
int
-LAC_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_LAC_constraint(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;
@@ -38,7 +38,7 @@ LAC_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-LAC_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_LAC_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->check_constraints = asn_DEF_OCTET_STRING.check_constraints;
@@ -58,109 +58,109 @@ LAC_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-LAC_free(asn_TYPE_descriptor_t *td,
+HNBAP_LAC_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- LAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_LAC_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-LAC_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_LAC_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- LAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_LAC_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-LAC_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_LAC_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- LAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_LAC_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-LAC_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_LAC_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- LAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_LAC_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-LAC_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_LAC_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- LAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_LAC_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-LAC_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_LAC_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- LAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_LAC_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-LAC_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_LAC_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- LAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_LAC_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-LAC_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_LAC_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- LAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_LAC_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-LAC_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_LAC_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- LAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_LAC_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-LAC_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_LAC_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- LAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_LAC_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_LAC_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_LAC_constr_1 GCC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 2l, 2l } /* (SIZE(2..2)) */,
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_LAC_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_LAC_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_LAC = {
- "LAC",
- "LAC",
- LAC_free,
- LAC_print,
- LAC_constraint,
- LAC_decode_ber,
- LAC_encode_der,
- LAC_decode_xer,
- LAC_encode_xer,
- LAC_decode_uper,
- LAC_encode_uper,
- LAC_decode_aper,
- LAC_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_LAC = {
+ "HNBAP_LAC",
+ "HNBAP_LAC",
+ HNBAP_LAC_free,
+ HNBAP_LAC_print,
+ HNBAP_LAC_constraint,
+ HNBAP_LAC_decode_ber,
+ HNBAP_LAC_encode_der,
+ HNBAP_LAC_decode_xer,
+ HNBAP_LAC_encode_xer,
+ HNBAP_LAC_decode_uper,
+ HNBAP_LAC_encode_uper,
+ HNBAP_LAC_decode_aper,
+ HNBAP_LAC_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_LAC_tags_1,
- sizeof(asn_DEF_LAC_tags_1)
- /sizeof(asn_DEF_LAC_tags_1[0]), /* 1 */
- asn_DEF_LAC_tags_1, /* Same as above */
- sizeof(asn_DEF_LAC_tags_1)
- /sizeof(asn_DEF_LAC_tags_1[0]), /* 1 */
- &asn_PER_type_LAC_constr_1,
+ asn_DEF_HNBAP_LAC_tags_1,
+ sizeof(asn_DEF_HNBAP_LAC_tags_1)
+ /sizeof(asn_DEF_HNBAP_LAC_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_LAC_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_LAC_tags_1)
+ /sizeof(asn_DEF_HNBAP_LAC_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_LAC_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/LAI.c b/src/hnbap/HNBAP_LAI.c
index 029bd46..2be18c8 100644
--- a/src/hnbap/LAI.c
+++ b/src/hnbap/HNBAP_LAI.c
@@ -5,47 +5,47 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/LAI.h>
+#include <osmocom/hnbap/HNBAP_LAI.h>
-static asn_TYPE_member_t asn_MBR_LAI_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct LAI, pLMNID),
+static asn_TYPE_member_t asn_MBR_HNBAP_LAI_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_LAI, pLMNID),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_PLMNidentity,
+ &asn_DEF_HNBAP_PLMNidentity,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"pLMNID"
},
- { ATF_NOFLAGS, 0, offsetof(struct LAI, lAC),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_LAI, lAC),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_LAC,
+ &asn_DEF_HNBAP_LAC,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"lAC"
},
};
-static const ber_tlv_tag_t asn_DEF_LAI_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_LAI_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_LAI_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_LAI_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pLMNID */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* lAC */
};
-static asn_SEQUENCE_specifics_t asn_SPC_LAI_specs_1 = {
- sizeof(struct LAI),
- offsetof(struct LAI, _asn_ctx),
- asn_MAP_LAI_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_LAI_specs_1 = {
+ sizeof(struct HNBAP_LAI),
+ offsetof(struct HNBAP_LAI, _asn_ctx),
+ asn_MAP_HNBAP_LAI_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_LAI = {
- "LAI",
- "LAI",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_LAI = {
+ "HNBAP_LAI",
+ "HNBAP_LAI",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -58,15 +58,15 @@ asn_TYPE_descriptor_t asn_DEF_LAI = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_LAI_tags_1,
- sizeof(asn_DEF_LAI_tags_1)
- /sizeof(asn_DEF_LAI_tags_1[0]), /* 1 */
- asn_DEF_LAI_tags_1, /* Same as above */
- sizeof(asn_DEF_LAI_tags_1)
- /sizeof(asn_DEF_LAI_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_LAI_tags_1,
+ sizeof(asn_DEF_HNBAP_LAI_tags_1)
+ /sizeof(asn_DEF_HNBAP_LAI_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_LAI_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_LAI_tags_1)
+ /sizeof(asn_DEF_HNBAP_LAI_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_LAI_1,
+ asn_MBR_HNBAP_LAI_1,
2, /* Elements count */
- &asn_SPC_LAI_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_LAI_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/MacroCellID.c b/src/hnbap/HNBAP_MacroCellID.c
index 5a05219..1ede6cf 100644
--- a/src/hnbap/MacroCellID.c
+++ b/src/hnbap/HNBAP_MacroCellID.c
@@ -5,50 +5,50 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/MacroCellID.h>
+#include <osmocom/hnbap/HNBAP_MacroCellID.h>
-static asn_per_constraints_t asn_PER_type_MacroCellID_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_MacroCellID_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0l, 1l } /* (0..1,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static asn_TYPE_member_t asn_MBR_MacroCellID_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct MacroCellID, choice.uTRANCellID),
+static asn_TYPE_member_t asn_MBR_HNBAP_MacroCellID_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_MacroCellID, choice.uTRANCellID),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_UTRANCellID,
+ &asn_DEF_HNBAP_UTRANCellID,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"uTRANCellID"
},
- { ATF_NOFLAGS, 0, offsetof(struct MacroCellID, choice.gERANCellID),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_MacroCellID, choice.gERANCellID),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_CGI,
+ &asn_DEF_HNBAP_CGI,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"gERANCellID"
},
};
-static const asn_TYPE_tag2member_t asn_MAP_MacroCellID_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_MacroCellID_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* uTRANCellID */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* gERANCellID */
};
-static asn_CHOICE_specifics_t asn_SPC_MacroCellID_specs_1 = {
- sizeof(struct MacroCellID),
- offsetof(struct MacroCellID, _asn_ctx),
- offsetof(struct MacroCellID, present),
- sizeof(((struct MacroCellID *)0)->present),
- asn_MAP_MacroCellID_tag2el_1,
+static asn_CHOICE_specifics_t asn_SPC_HNBAP_MacroCellID_specs_1 = {
+ sizeof(struct HNBAP_MacroCellID),
+ offsetof(struct HNBAP_MacroCellID, _asn_ctx),
+ offsetof(struct HNBAP_MacroCellID, present),
+ sizeof(((struct HNBAP_MacroCellID *)0)->present),
+ asn_MAP_HNBAP_MacroCellID_tag2el_1,
2, /* Count of tags in the map */
0,
2 /* Extensions start */
};
-asn_TYPE_descriptor_t asn_DEF_MacroCellID = {
- "MacroCellID",
- "MacroCellID",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_MacroCellID = {
+ "HNBAP_MacroCellID",
+ "HNBAP_MacroCellID",
CHOICE_free,
CHOICE_print,
CHOICE_constraint,
@@ -65,9 +65,9 @@ asn_TYPE_descriptor_t asn_DEF_MacroCellID = {
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
- &asn_PER_type_MacroCellID_constr_1,
- asn_MBR_MacroCellID_1,
+ &asn_PER_type_HNBAP_MacroCellID_constr_1,
+ asn_MBR_HNBAP_MacroCellID_1,
2, /* Elements count */
- &asn_SPC_MacroCellID_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_MacroCellID_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/HNBAP_MacroCoverageInformation.c b/src/hnbap/HNBAP_MacroCoverageInformation.c
new file mode 100644
index 0000000..e397ce5
--- /dev/null
+++ b/src/hnbap/HNBAP_MacroCoverageInformation.c
@@ -0,0 +1,74 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#include <osmocom/hnbap/HNBAP_MacroCoverageInformation.h>
+
+static asn_TYPE_member_t asn_MBR_HNBAP_MacroCoverageInformation_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_MacroCoverageInformation, cellIdentity),
+ (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
+ +1, /* EXPLICIT tag at current level */
+ &asn_DEF_HNBAP_MacroCellID,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ "cellIdentity"
+ },
+ { ATF_POINTER, 1, offsetof(struct HNBAP_MacroCoverageInformation, iE_Extensions),
+ (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
+ -1, /* IMPLICIT tag at current level */
+ &asn_DEF_HNBAP_IE_Extensions,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ "iE-Extensions"
+ },
+};
+static const int asn_MAP_HNBAP_MacroCoverageInformation_oms_1[] = { 1 };
+static const ber_tlv_tag_t asn_DEF_HNBAP_MacroCoverageInformation_tags_1[] = {
+ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
+};
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_MacroCoverageInformation_tag2el_1[] = {
+ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cellIdentity */
+ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* iE-Extensions */
+};
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_MacroCoverageInformation_specs_1 = {
+ sizeof(struct HNBAP_MacroCoverageInformation),
+ offsetof(struct HNBAP_MacroCoverageInformation, _asn_ctx),
+ asn_MAP_HNBAP_MacroCoverageInformation_tag2el_1,
+ 2, /* Count of tags in the map */
+ asn_MAP_HNBAP_MacroCoverageInformation_oms_1, /* Optional members */
+ 1, 0, /* Root/Additions */
+ 1, /* Start extensions */
+ 3 /* Stop extensions */
+};
+asn_TYPE_descriptor_t asn_DEF_HNBAP_MacroCoverageInformation = {
+ "HNBAP_MacroCoverageInformation",
+ "HNBAP_MacroCoverageInformation",
+ SEQUENCE_free,
+ SEQUENCE_print,
+ SEQUENCE_constraint,
+ SEQUENCE_decode_ber,
+ SEQUENCE_encode_der,
+ SEQUENCE_decode_xer,
+ SEQUENCE_encode_xer,
+ SEQUENCE_decode_uper,
+ SEQUENCE_encode_uper,
+ SEQUENCE_decode_aper,
+ SEQUENCE_encode_aper,
+ 0, /* Use generic outmost tag fetcher */
+ asn_DEF_HNBAP_MacroCoverageInformation_tags_1,
+ sizeof(asn_DEF_HNBAP_MacroCoverageInformation_tags_1)
+ /sizeof(asn_DEF_HNBAP_MacroCoverageInformation_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_MacroCoverageInformation_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_MacroCoverageInformation_tags_1)
+ /sizeof(asn_DEF_HNBAP_MacroCoverageInformation_tags_1[0]), /* 1 */
+ 0, /* No PER visible constraints */
+ asn_MBR_HNBAP_MacroCoverageInformation_1,
+ 2, /* Elements count */
+ &asn_SPC_HNBAP_MacroCoverageInformation_specs_1 /* Additional specs */
+};
+
diff --git a/src/hnbap/MuxPortNumber.c b/src/hnbap/HNBAP_MuxPortNumber.c
index 32596db..6de4326 100644
--- a/src/hnbap/MuxPortNumber.c
+++ b/src/hnbap/HNBAP_MuxPortNumber.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/MuxPortNumber.h>
+#include <osmocom/hnbap/HNBAP_MuxPortNumber.h>
int
-MuxPortNumber_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_MuxPortNumber_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
long value;
@@ -37,7 +37,7 @@ MuxPortNumber_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-MuxPortNumber_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_MuxPortNumber_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->check_constraints = asn_DEF_NativeInteger.check_constraints;
@@ -57,109 +57,109 @@ MuxPortNumber_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-MuxPortNumber_free(asn_TYPE_descriptor_t *td,
+HNBAP_MuxPortNumber_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- MuxPortNumber_1_inherit_TYPE_descriptor(td);
+ HNBAP_MuxPortNumber_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-MuxPortNumber_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_MuxPortNumber_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- MuxPortNumber_1_inherit_TYPE_descriptor(td);
+ HNBAP_MuxPortNumber_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-MuxPortNumber_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_MuxPortNumber_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- MuxPortNumber_1_inherit_TYPE_descriptor(td);
+ HNBAP_MuxPortNumber_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-MuxPortNumber_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_MuxPortNumber_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- MuxPortNumber_1_inherit_TYPE_descriptor(td);
+ HNBAP_MuxPortNumber_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-MuxPortNumber_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_MuxPortNumber_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- MuxPortNumber_1_inherit_TYPE_descriptor(td);
+ HNBAP_MuxPortNumber_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-MuxPortNumber_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_MuxPortNumber_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- MuxPortNumber_1_inherit_TYPE_descriptor(td);
+ HNBAP_MuxPortNumber_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-MuxPortNumber_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_MuxPortNumber_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- MuxPortNumber_1_inherit_TYPE_descriptor(td);
+ HNBAP_MuxPortNumber_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-MuxPortNumber_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_MuxPortNumber_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- MuxPortNumber_1_inherit_TYPE_descriptor(td);
+ HNBAP_MuxPortNumber_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-MuxPortNumber_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_MuxPortNumber_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- MuxPortNumber_1_inherit_TYPE_descriptor(td);
+ HNBAP_MuxPortNumber_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-MuxPortNumber_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_MuxPortNumber_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- MuxPortNumber_1_inherit_TYPE_descriptor(td);
+ HNBAP_MuxPortNumber_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_MuxPortNumber_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_MuxPortNumber_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED, 16, 16, 1024l, 65535l } /* (1024..65535) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_MuxPortNumber_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_MuxPortNumber_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_MuxPortNumber = {
- "MuxPortNumber",
- "MuxPortNumber",
- MuxPortNumber_free,
- MuxPortNumber_print,
- MuxPortNumber_constraint,
- MuxPortNumber_decode_ber,
- MuxPortNumber_encode_der,
- MuxPortNumber_decode_xer,
- MuxPortNumber_encode_xer,
- MuxPortNumber_decode_uper,
- MuxPortNumber_encode_uper,
- MuxPortNumber_decode_aper,
- MuxPortNumber_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_MuxPortNumber = {
+ "HNBAP_MuxPortNumber",
+ "HNBAP_MuxPortNumber",
+ HNBAP_MuxPortNumber_free,
+ HNBAP_MuxPortNumber_print,
+ HNBAP_MuxPortNumber_constraint,
+ HNBAP_MuxPortNumber_decode_ber,
+ HNBAP_MuxPortNumber_encode_der,
+ HNBAP_MuxPortNumber_decode_xer,
+ HNBAP_MuxPortNumber_encode_xer,
+ HNBAP_MuxPortNumber_decode_uper,
+ HNBAP_MuxPortNumber_encode_uper,
+ HNBAP_MuxPortNumber_decode_aper,
+ HNBAP_MuxPortNumber_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_MuxPortNumber_tags_1,
- sizeof(asn_DEF_MuxPortNumber_tags_1)
- /sizeof(asn_DEF_MuxPortNumber_tags_1[0]), /* 1 */
- asn_DEF_MuxPortNumber_tags_1, /* Same as above */
- sizeof(asn_DEF_MuxPortNumber_tags_1)
- /sizeof(asn_DEF_MuxPortNumber_tags_1[0]), /* 1 */
- &asn_PER_type_MuxPortNumber_constr_1,
+ asn_DEF_HNBAP_MuxPortNumber_tags_1,
+ sizeof(asn_DEF_HNBAP_MuxPortNumber_tags_1)
+ /sizeof(asn_DEF_HNBAP_MuxPortNumber_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_MuxPortNumber_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_MuxPortNumber_tags_1)
+ /sizeof(asn_DEF_HNBAP_MuxPortNumber_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_MuxPortNumber_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/HNBAP_NeighbourCellIdentityList.c b/src/hnbap/HNBAP_NeighbourCellIdentityList.c
new file mode 100644
index 0000000..5823068
--- /dev/null
+++ b/src/hnbap/HNBAP_NeighbourCellIdentityList.c
@@ -0,0 +1,60 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#include <osmocom/hnbap/HNBAP_NeighbourCellIdentityList.h>
+
+static asn_per_constraints_t asn_PER_type_HNBAP_NeighbourCellIdentityList_constr_1 GCC_NOTUSED = {
+ { APC_UNCONSTRAINED, -1, -1, 0, 0 },
+ { APC_CONSTRAINED, 8, 8, 0l, 128l } /* (SIZE(0..128)) */,
+ 0, 0 /* No PER value map */
+};
+static asn_TYPE_member_t asn_MBR_HNBAP_NeighbourCellIdentityList_1[] = {
+ { ATF_POINTER, 0, 0,
+ -1 /* Ambiguous tag (CHOICE?) */,
+ 0,
+ &asn_DEF_HNBAP_NeighbourIdentity,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ ""
+ },
+};
+static const ber_tlv_tag_t asn_DEF_HNBAP_NeighbourCellIdentityList_tags_1[] = {
+ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
+};
+static asn_SET_OF_specifics_t asn_SPC_HNBAP_NeighbourCellIdentityList_specs_1 = {
+ sizeof(struct HNBAP_NeighbourCellIdentityList),
+ offsetof(struct HNBAP_NeighbourCellIdentityList, _asn_ctx),
+ 0, /* XER encoding is XMLDelimitedItemList */
+};
+asn_TYPE_descriptor_t asn_DEF_HNBAP_NeighbourCellIdentityList = {
+ "HNBAP_NeighbourCellIdentityList",
+ "HNBAP_NeighbourCellIdentityList",
+ 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,
+ SEQUENCE_OF_decode_aper,
+ SEQUENCE_OF_encode_aper,
+ 0, /* Use generic outmost tag fetcher */
+ asn_DEF_HNBAP_NeighbourCellIdentityList_tags_1,
+ sizeof(asn_DEF_HNBAP_NeighbourCellIdentityList_tags_1)
+ /sizeof(asn_DEF_HNBAP_NeighbourCellIdentityList_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_NeighbourCellIdentityList_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_NeighbourCellIdentityList_tags_1)
+ /sizeof(asn_DEF_HNBAP_NeighbourCellIdentityList_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_NeighbourCellIdentityList_constr_1,
+ asn_MBR_HNBAP_NeighbourCellIdentityList_1,
+ 1, /* Single element */
+ &asn_SPC_HNBAP_NeighbourCellIdentityList_specs_1 /* Additional specs */
+};
+
diff --git a/src/hnbap/NeighbourIdentity.c b/src/hnbap/HNBAP_NeighbourIdentity.c
index 68bf855..6a7b9f1 100644
--- a/src/hnbap/NeighbourIdentity.c
+++ b/src/hnbap/HNBAP_NeighbourIdentity.c
@@ -5,50 +5,50 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/NeighbourIdentity.h>
+#include <osmocom/hnbap/HNBAP_NeighbourIdentity.h>
-static asn_per_constraints_t asn_PER_type_NeighbourIdentity_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_NeighbourIdentity_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0l, 1l } /* (0..1,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static asn_TYPE_member_t asn_MBR_NeighbourIdentity_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct NeighbourIdentity, choice.hNB_RNL_Identity),
+static asn_TYPE_member_t asn_MBR_HNBAP_NeighbourIdentity_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_NeighbourIdentity, choice.hNB_RNL_Identity),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
+1, /* EXPLICIT tag at current level */
- &asn_DEF_HNB_RNL_Identity,
+ &asn_DEF_HNBAP_HNB_RNL_Identity,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"hNB-RNL-Identity"
},
- { ATF_NOFLAGS, 0, offsetof(struct NeighbourIdentity, choice.cell_ID),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_NeighbourIdentity, choice.cell_ID),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_CellIdentity,
+ &asn_DEF_HNBAP_CellIdentity,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"cell-ID"
},
};
-static const asn_TYPE_tag2member_t asn_MAP_NeighbourIdentity_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_NeighbourIdentity_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* hNB-RNL-Identity */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* cell-ID */
};
-static asn_CHOICE_specifics_t asn_SPC_NeighbourIdentity_specs_1 = {
- sizeof(struct NeighbourIdentity),
- offsetof(struct NeighbourIdentity, _asn_ctx),
- offsetof(struct NeighbourIdentity, present),
- sizeof(((struct NeighbourIdentity *)0)->present),
- asn_MAP_NeighbourIdentity_tag2el_1,
+static asn_CHOICE_specifics_t asn_SPC_HNBAP_NeighbourIdentity_specs_1 = {
+ sizeof(struct HNBAP_NeighbourIdentity),
+ offsetof(struct HNBAP_NeighbourIdentity, _asn_ctx),
+ offsetof(struct HNBAP_NeighbourIdentity, present),
+ sizeof(((struct HNBAP_NeighbourIdentity *)0)->present),
+ asn_MAP_HNBAP_NeighbourIdentity_tag2el_1,
2, /* Count of tags in the map */
0,
2 /* Extensions start */
};
-asn_TYPE_descriptor_t asn_DEF_NeighbourIdentity = {
- "NeighbourIdentity",
- "NeighbourIdentity",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_NeighbourIdentity = {
+ "HNBAP_NeighbourIdentity",
+ "HNBAP_NeighbourIdentity",
CHOICE_free,
CHOICE_print,
CHOICE_constraint,
@@ -65,9 +65,9 @@ asn_TYPE_descriptor_t asn_DEF_NeighbourIdentity = {
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
- &asn_PER_type_NeighbourIdentity_constr_1,
- asn_MBR_NeighbourIdentity_1,
+ &asn_PER_type_HNBAP_NeighbourIdentity_constr_1,
+ asn_MBR_HNBAP_NeighbourIdentity_1,
2, /* Elements count */
- &asn_SPC_NeighbourIdentity_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_NeighbourIdentity_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/HNBAP_NeighbourInfoList.c b/src/hnbap/HNBAP_NeighbourInfoList.c
new file mode 100644
index 0000000..2646b0a
--- /dev/null
+++ b/src/hnbap/HNBAP_NeighbourInfoList.c
@@ -0,0 +1,60 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#include <osmocom/hnbap/HNBAP_NeighbourInfoList.h>
+
+static asn_per_constraints_t asn_PER_type_HNBAP_NeighbourInfoList_constr_1 GCC_NOTUSED = {
+ { APC_UNCONSTRAINED, -1, -1, 0, 0 },
+ { APC_CONSTRAINED, 5, 5, 1l, 32l } /* (SIZE(1..32)) */,
+ 0, 0 /* No PER value map */
+};
+static asn_TYPE_member_t asn_MBR_HNBAP_NeighbourInfoList_1[] = {
+ { ATF_POINTER, 0, 0,
+ -1 /* Ambiguous tag (CHOICE?) */,
+ 0,
+ &asn_DEF_HNBAP_HNBConfigInfo,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ ""
+ },
+};
+static const ber_tlv_tag_t asn_DEF_HNBAP_NeighbourInfoList_tags_1[] = {
+ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
+};
+static asn_SET_OF_specifics_t asn_SPC_HNBAP_NeighbourInfoList_specs_1 = {
+ sizeof(struct HNBAP_NeighbourInfoList),
+ offsetof(struct HNBAP_NeighbourInfoList, _asn_ctx),
+ 0, /* XER encoding is XMLDelimitedItemList */
+};
+asn_TYPE_descriptor_t asn_DEF_HNBAP_NeighbourInfoList = {
+ "HNBAP_NeighbourInfoList",
+ "HNBAP_NeighbourInfoList",
+ 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,
+ SEQUENCE_OF_decode_aper,
+ SEQUENCE_OF_encode_aper,
+ 0, /* Use generic outmost tag fetcher */
+ asn_DEF_HNBAP_NeighbourInfoList_tags_1,
+ sizeof(asn_DEF_HNBAP_NeighbourInfoList_tags_1)
+ /sizeof(asn_DEF_HNBAP_NeighbourInfoList_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_NeighbourInfoList_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_NeighbourInfoList_tags_1)
+ /sizeof(asn_DEF_HNBAP_NeighbourInfoList_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_NeighbourInfoList_constr_1,
+ asn_MBR_HNBAP_NeighbourInfoList_1,
+ 1, /* Single element */
+ &asn_SPC_HNBAP_NeighbourInfoList_specs_1 /* Additional specs */
+};
+
diff --git a/src/hnbap/HNBAP_NeighbourInfoRequestItem.c b/src/hnbap/HNBAP_NeighbourInfoRequestItem.c
new file mode 100644
index 0000000..3e7f416
--- /dev/null
+++ b/src/hnbap/HNBAP_NeighbourInfoRequestItem.c
@@ -0,0 +1,74 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#include <osmocom/hnbap/HNBAP_NeighbourInfoRequestItem.h>
+
+static asn_TYPE_member_t asn_MBR_HNBAP_NeighbourInfoRequestItem_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_NeighbourInfoRequestItem, hnb_RNL_Identity),
+ (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
+ +1, /* EXPLICIT tag at current level */
+ &asn_DEF_HNBAP_HNB_RNL_Identity,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ "hnb-RNL-Identity"
+ },
+ { ATF_POINTER, 1, offsetof(struct HNBAP_NeighbourInfoRequestItem, iE_Extensions),
+ (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
+ -1, /* IMPLICIT tag at current level */
+ &asn_DEF_HNBAP_IE_Extensions,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ "iE-Extensions"
+ },
+};
+static const int asn_MAP_HNBAP_NeighbourInfoRequestItem_oms_1[] = { 1 };
+static const ber_tlv_tag_t asn_DEF_HNBAP_NeighbourInfoRequestItem_tags_1[] = {
+ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
+};
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_NeighbourInfoRequestItem_tag2el_1[] = {
+ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* hnb-RNL-Identity */
+ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* iE-Extensions */
+};
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_NeighbourInfoRequestItem_specs_1 = {
+ sizeof(struct HNBAP_NeighbourInfoRequestItem),
+ offsetof(struct HNBAP_NeighbourInfoRequestItem, _asn_ctx),
+ asn_MAP_HNBAP_NeighbourInfoRequestItem_tag2el_1,
+ 2, /* Count of tags in the map */
+ asn_MAP_HNBAP_NeighbourInfoRequestItem_oms_1, /* Optional members */
+ 1, 0, /* Root/Additions */
+ 1, /* Start extensions */
+ 3 /* Stop extensions */
+};
+asn_TYPE_descriptor_t asn_DEF_HNBAP_NeighbourInfoRequestItem = {
+ "HNBAP_NeighbourInfoRequestItem",
+ "HNBAP_NeighbourInfoRequestItem",
+ SEQUENCE_free,
+ SEQUENCE_print,
+ SEQUENCE_constraint,
+ SEQUENCE_decode_ber,
+ SEQUENCE_encode_der,
+ SEQUENCE_decode_xer,
+ SEQUENCE_encode_xer,
+ SEQUENCE_decode_uper,
+ SEQUENCE_encode_uper,
+ SEQUENCE_decode_aper,
+ SEQUENCE_encode_aper,
+ 0, /* Use generic outmost tag fetcher */
+ asn_DEF_HNBAP_NeighbourInfoRequestItem_tags_1,
+ sizeof(asn_DEF_HNBAP_NeighbourInfoRequestItem_tags_1)
+ /sizeof(asn_DEF_HNBAP_NeighbourInfoRequestItem_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_NeighbourInfoRequestItem_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_NeighbourInfoRequestItem_tags_1)
+ /sizeof(asn_DEF_HNBAP_NeighbourInfoRequestItem_tags_1[0]), /* 1 */
+ 0, /* No PER visible constraints */
+ asn_MBR_HNBAP_NeighbourInfoRequestItem_1,
+ 2, /* Elements count */
+ &asn_SPC_HNBAP_NeighbourInfoRequestItem_specs_1 /* Additional specs */
+};
+
diff --git a/src/hnbap/HNBAP_NeighbourInfoRequestList.c b/src/hnbap/HNBAP_NeighbourInfoRequestList.c
new file mode 100644
index 0000000..6a45cb3
--- /dev/null
+++ b/src/hnbap/HNBAP_NeighbourInfoRequestList.c
@@ -0,0 +1,60 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#include <osmocom/hnbap/HNBAP_NeighbourInfoRequestList.h>
+
+static asn_per_constraints_t asn_PER_type_HNBAP_NeighbourInfoRequestList_constr_1 GCC_NOTUSED = {
+ { APC_UNCONSTRAINED, -1, -1, 0, 0 },
+ { APC_CONSTRAINED, 5, 5, 1l, 32l } /* (SIZE(1..32)) */,
+ 0, 0 /* No PER value map */
+};
+static asn_TYPE_member_t asn_MBR_HNBAP_NeighbourInfoRequestList_1[] = {
+ { ATF_POINTER, 0, 0,
+ -1 /* Ambiguous tag (CHOICE?) */,
+ 0,
+ &asn_DEF_HNBAP_NeighbourInfoRequestItem,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ ""
+ },
+};
+static const ber_tlv_tag_t asn_DEF_HNBAP_NeighbourInfoRequestList_tags_1[] = {
+ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
+};
+static asn_SET_OF_specifics_t asn_SPC_HNBAP_NeighbourInfoRequestList_specs_1 = {
+ sizeof(struct HNBAP_NeighbourInfoRequestList),
+ offsetof(struct HNBAP_NeighbourInfoRequestList, _asn_ctx),
+ 0, /* XER encoding is XMLDelimitedItemList */
+};
+asn_TYPE_descriptor_t asn_DEF_HNBAP_NeighbourInfoRequestList = {
+ "HNBAP_NeighbourInfoRequestList",
+ "HNBAP_NeighbourInfoRequestList",
+ 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,
+ SEQUENCE_OF_decode_aper,
+ SEQUENCE_OF_encode_aper,
+ 0, /* Use generic outmost tag fetcher */
+ asn_DEF_HNBAP_NeighbourInfoRequestList_tags_1,
+ sizeof(asn_DEF_HNBAP_NeighbourInfoRequestList_tags_1)
+ /sizeof(asn_DEF_HNBAP_NeighbourInfoRequestList_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_NeighbourInfoRequestList_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_NeighbourInfoRequestList_tags_1)
+ /sizeof(asn_DEF_HNBAP_NeighbourInfoRequestList_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_NeighbourInfoRequestList_constr_1,
+ asn_MBR_HNBAP_NeighbourInfoRequestList_1,
+ 1, /* Single element */
+ &asn_SPC_HNBAP_NeighbourInfoRequestList_specs_1 /* Additional specs */
+};
+
diff --git a/src/hnbap/PLMNidentity.c b/src/hnbap/HNBAP_PLMNidentity.c
index 08d2764..90c9095 100644
--- a/src/hnbap/PLMNidentity.c
+++ b/src/hnbap/HNBAP_PLMNidentity.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/PLMNidentity.h>
+#include <osmocom/hnbap/HNBAP_PLMNidentity.h>
int
-PLMNidentity_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_PLMNidentity_constraint(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;
@@ -38,7 +38,7 @@ PLMNidentity_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-PLMNidentity_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_PLMNidentity_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->check_constraints = asn_DEF_OCTET_STRING.check_constraints;
@@ -58,109 +58,109 @@ PLMNidentity_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-PLMNidentity_free(asn_TYPE_descriptor_t *td,
+HNBAP_PLMNidentity_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- PLMNidentity_1_inherit_TYPE_descriptor(td);
+ HNBAP_PLMNidentity_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-PLMNidentity_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_PLMNidentity_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- PLMNidentity_1_inherit_TYPE_descriptor(td);
+ HNBAP_PLMNidentity_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-PLMNidentity_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_PLMNidentity_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- PLMNidentity_1_inherit_TYPE_descriptor(td);
+ HNBAP_PLMNidentity_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-PLMNidentity_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_PLMNidentity_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- PLMNidentity_1_inherit_TYPE_descriptor(td);
+ HNBAP_PLMNidentity_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-PLMNidentity_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_PLMNidentity_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- PLMNidentity_1_inherit_TYPE_descriptor(td);
+ HNBAP_PLMNidentity_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-PLMNidentity_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_PLMNidentity_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- PLMNidentity_1_inherit_TYPE_descriptor(td);
+ HNBAP_PLMNidentity_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-PLMNidentity_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_PLMNidentity_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- PLMNidentity_1_inherit_TYPE_descriptor(td);
+ HNBAP_PLMNidentity_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-PLMNidentity_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_PLMNidentity_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- PLMNidentity_1_inherit_TYPE_descriptor(td);
+ HNBAP_PLMNidentity_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-PLMNidentity_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_PLMNidentity_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- PLMNidentity_1_inherit_TYPE_descriptor(td);
+ HNBAP_PLMNidentity_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-PLMNidentity_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_PLMNidentity_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- PLMNidentity_1_inherit_TYPE_descriptor(td);
+ HNBAP_PLMNidentity_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_PLMNidentity_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_PLMNidentity_constr_1 GCC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 3l, 3l } /* (SIZE(3..3)) */,
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_PLMNidentity_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_PLMNidentity_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_PLMNidentity = {
- "PLMNidentity",
- "PLMNidentity",
- PLMNidentity_free,
- PLMNidentity_print,
- PLMNidentity_constraint,
- PLMNidentity_decode_ber,
- PLMNidentity_encode_der,
- PLMNidentity_decode_xer,
- PLMNidentity_encode_xer,
- PLMNidentity_decode_uper,
- PLMNidentity_encode_uper,
- PLMNidentity_decode_aper,
- PLMNidentity_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_PLMNidentity = {
+ "HNBAP_PLMNidentity",
+ "HNBAP_PLMNidentity",
+ HNBAP_PLMNidentity_free,
+ HNBAP_PLMNidentity_print,
+ HNBAP_PLMNidentity_constraint,
+ HNBAP_PLMNidentity_decode_ber,
+ HNBAP_PLMNidentity_encode_der,
+ HNBAP_PLMNidentity_decode_xer,
+ HNBAP_PLMNidentity_encode_xer,
+ HNBAP_PLMNidentity_decode_uper,
+ HNBAP_PLMNidentity_encode_uper,
+ HNBAP_PLMNidentity_decode_aper,
+ HNBAP_PLMNidentity_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_PLMNidentity_tags_1,
- sizeof(asn_DEF_PLMNidentity_tags_1)
- /sizeof(asn_DEF_PLMNidentity_tags_1[0]), /* 1 */
- asn_DEF_PLMNidentity_tags_1, /* Same as above */
- sizeof(asn_DEF_PLMNidentity_tags_1)
- /sizeof(asn_DEF_PLMNidentity_tags_1[0]), /* 1 */
- &asn_PER_type_PLMNidentity_constr_1,
+ asn_DEF_HNBAP_PLMNidentity_tags_1,
+ sizeof(asn_DEF_HNBAP_PLMNidentity_tags_1)
+ /sizeof(asn_DEF_HNBAP_PLMNidentity_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_PLMNidentity_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_PLMNidentity_tags_1)
+ /sizeof(asn_DEF_HNBAP_PLMNidentity_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_PLMNidentity_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/PSC.c b/src/hnbap/HNBAP_PSC.c
index d5ef737..1147efb 100644
--- a/src/hnbap/PSC.c
+++ b/src/hnbap/HNBAP_PSC.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/PSC.h>
+#include <osmocom/hnbap/HNBAP_PSC.h>
int
-PSC_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_PSC_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;
@@ -43,7 +43,7 @@ PSC_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-PSC_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_PSC_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;
@@ -63,109 +63,109 @@ PSC_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-PSC_free(asn_TYPE_descriptor_t *td,
+HNBAP_PSC_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- PSC_1_inherit_TYPE_descriptor(td);
+ HNBAP_PSC_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-PSC_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_PSC_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- PSC_1_inherit_TYPE_descriptor(td);
+ HNBAP_PSC_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-PSC_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_PSC_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- PSC_1_inherit_TYPE_descriptor(td);
+ HNBAP_PSC_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-PSC_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_PSC_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- PSC_1_inherit_TYPE_descriptor(td);
+ HNBAP_PSC_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-PSC_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_PSC_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- PSC_1_inherit_TYPE_descriptor(td);
+ HNBAP_PSC_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-PSC_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_PSC_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- PSC_1_inherit_TYPE_descriptor(td);
+ HNBAP_PSC_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-PSC_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_PSC_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- PSC_1_inherit_TYPE_descriptor(td);
+ HNBAP_PSC_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-PSC_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_PSC_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- PSC_1_inherit_TYPE_descriptor(td);
+ HNBAP_PSC_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-PSC_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_PSC_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- PSC_1_inherit_TYPE_descriptor(td);
+ HNBAP_PSC_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-PSC_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_PSC_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- PSC_1_inherit_TYPE_descriptor(td);
+ HNBAP_PSC_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_PSC_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_PSC_constr_1 GCC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 9l, 9l } /* (SIZE(9..9)) */,
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_PSC_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_PSC_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (3 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_PSC = {
- "PSC",
- "PSC",
- PSC_free,
- PSC_print,
- PSC_constraint,
- PSC_decode_ber,
- PSC_encode_der,
- PSC_decode_xer,
- PSC_encode_xer,
- PSC_decode_uper,
- PSC_encode_uper,
- PSC_decode_aper,
- PSC_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_PSC = {
+ "HNBAP_PSC",
+ "HNBAP_PSC",
+ HNBAP_PSC_free,
+ HNBAP_PSC_print,
+ HNBAP_PSC_constraint,
+ HNBAP_PSC_decode_ber,
+ HNBAP_PSC_encode_der,
+ HNBAP_PSC_decode_xer,
+ HNBAP_PSC_encode_xer,
+ HNBAP_PSC_decode_uper,
+ HNBAP_PSC_encode_uper,
+ HNBAP_PSC_decode_aper,
+ HNBAP_PSC_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_PSC_tags_1,
- sizeof(asn_DEF_PSC_tags_1)
- /sizeof(asn_DEF_PSC_tags_1[0]), /* 1 */
- asn_DEF_PSC_tags_1, /* Same as above */
- sizeof(asn_DEF_PSC_tags_1)
- /sizeof(asn_DEF_PSC_tags_1[0]), /* 1 */
- &asn_PER_type_PSC_constr_1,
+ asn_DEF_HNBAP_PSC_tags_1,
+ sizeof(asn_DEF_HNBAP_PSC_tags_1)
+ /sizeof(asn_DEF_HNBAP_PSC_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_PSC_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_PSC_tags_1)
+ /sizeof(asn_DEF_HNBAP_PSC_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_PSC_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/U-RNTI.c b/src/hnbap/HNBAP_PTMSI.c
index 2ba7b83..273f421 100644
--- a/src/hnbap/U-RNTI.c
+++ b/src/hnbap/HNBAP_PTMSI.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/U-RNTI.h>
+#include <osmocom/hnbap/HNBAP_PTMSI.h>
int
-U_RNTI_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_PTMSI_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;
@@ -43,7 +43,7 @@ U_RNTI_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-U_RNTI_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_PTMSI_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;
@@ -63,109 +63,109 @@ U_RNTI_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-U_RNTI_free(asn_TYPE_descriptor_t *td,
+HNBAP_PTMSI_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- U_RNTI_1_inherit_TYPE_descriptor(td);
+ HNBAP_PTMSI_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-U_RNTI_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_PTMSI_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- U_RNTI_1_inherit_TYPE_descriptor(td);
+ HNBAP_PTMSI_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-U_RNTI_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_PTMSI_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- U_RNTI_1_inherit_TYPE_descriptor(td);
+ HNBAP_PTMSI_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-U_RNTI_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_PTMSI_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- U_RNTI_1_inherit_TYPE_descriptor(td);
+ HNBAP_PTMSI_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-U_RNTI_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_PTMSI_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- U_RNTI_1_inherit_TYPE_descriptor(td);
+ HNBAP_PTMSI_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-U_RNTI_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_PTMSI_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- U_RNTI_1_inherit_TYPE_descriptor(td);
+ HNBAP_PTMSI_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-U_RNTI_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_PTMSI_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- U_RNTI_1_inherit_TYPE_descriptor(td);
+ HNBAP_PTMSI_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-U_RNTI_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_PTMSI_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- U_RNTI_1_inherit_TYPE_descriptor(td);
+ HNBAP_PTMSI_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-U_RNTI_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_PTMSI_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- U_RNTI_1_inherit_TYPE_descriptor(td);
+ HNBAP_PTMSI_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-U_RNTI_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_PTMSI_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- U_RNTI_1_inherit_TYPE_descriptor(td);
+ HNBAP_PTMSI_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_U_RNTI_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_PTMSI_constr_1 GCC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 32l, 32l } /* (SIZE(32..32)) */,
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_U_RNTI_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_PTMSI_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (3 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_U_RNTI = {
- "U-RNTI",
- "U-RNTI",
- U_RNTI_free,
- U_RNTI_print,
- U_RNTI_constraint,
- U_RNTI_decode_ber,
- U_RNTI_encode_der,
- U_RNTI_decode_xer,
- U_RNTI_encode_xer,
- U_RNTI_decode_uper,
- U_RNTI_encode_uper,
- U_RNTI_decode_aper,
- U_RNTI_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_PTMSI = {
+ "HNBAP_PTMSI",
+ "HNBAP_PTMSI",
+ HNBAP_PTMSI_free,
+ HNBAP_PTMSI_print,
+ HNBAP_PTMSI_constraint,
+ HNBAP_PTMSI_decode_ber,
+ HNBAP_PTMSI_encode_der,
+ HNBAP_PTMSI_decode_xer,
+ HNBAP_PTMSI_encode_xer,
+ HNBAP_PTMSI_decode_uper,
+ HNBAP_PTMSI_encode_uper,
+ HNBAP_PTMSI_decode_aper,
+ HNBAP_PTMSI_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_U_RNTI_tags_1,
- sizeof(asn_DEF_U_RNTI_tags_1)
- /sizeof(asn_DEF_U_RNTI_tags_1[0]), /* 1 */
- asn_DEF_U_RNTI_tags_1, /* Same as above */
- sizeof(asn_DEF_U_RNTI_tags_1)
- /sizeof(asn_DEF_U_RNTI_tags_1[0]), /* 1 */
- &asn_PER_type_U_RNTI_constr_1,
+ asn_DEF_HNBAP_PTMSI_tags_1,
+ sizeof(asn_DEF_HNBAP_PTMSI_tags_1)
+ /sizeof(asn_DEF_HNBAP_PTMSI_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_PTMSI_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_PTMSI_tags_1)
+ /sizeof(asn_DEF_HNBAP_PTMSI_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_PTMSI_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/PTMSIRAI.c b/src/hnbap/HNBAP_PTMSIRAI.c
index d6b742c..422225a 100644
--- a/src/hnbap/PTMSIRAI.c
+++ b/src/hnbap/HNBAP_PTMSIRAI.c
@@ -5,47 +5,47 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/PTMSIRAI.h>
+#include <osmocom/hnbap/HNBAP_PTMSIRAI.h>
-static asn_TYPE_member_t asn_MBR_PTMSIRAI_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct PTMSIRAI, pTMSI),
+static asn_TYPE_member_t asn_MBR_HNBAP_PTMSIRAI_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_PTMSIRAI, pTMSI),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_PTMSI,
+ &asn_DEF_HNBAP_PTMSI,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"pTMSI"
},
- { ATF_NOFLAGS, 0, offsetof(struct PTMSIRAI, rAI),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_PTMSIRAI, rAI),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_RAI,
+ &asn_DEF_HNBAP_RAI,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"rAI"
},
};
-static const ber_tlv_tag_t asn_DEF_PTMSIRAI_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_PTMSIRAI_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_PTMSIRAI_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_PTMSIRAI_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pTMSI */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* rAI */
};
-static asn_SEQUENCE_specifics_t asn_SPC_PTMSIRAI_specs_1 = {
- sizeof(struct PTMSIRAI),
- offsetof(struct PTMSIRAI, _asn_ctx),
- asn_MAP_PTMSIRAI_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_PTMSIRAI_specs_1 = {
+ sizeof(struct HNBAP_PTMSIRAI),
+ offsetof(struct HNBAP_PTMSIRAI, _asn_ctx),
+ asn_MAP_HNBAP_PTMSIRAI_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_PTMSIRAI = {
- "PTMSIRAI",
- "PTMSIRAI",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_PTMSIRAI = {
+ "HNBAP_PTMSIRAI",
+ "HNBAP_PTMSIRAI",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -58,15 +58,15 @@ asn_TYPE_descriptor_t asn_DEF_PTMSIRAI = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_PTMSIRAI_tags_1,
- sizeof(asn_DEF_PTMSIRAI_tags_1)
- /sizeof(asn_DEF_PTMSIRAI_tags_1[0]), /* 1 */
- asn_DEF_PTMSIRAI_tags_1, /* Same as above */
- sizeof(asn_DEF_PTMSIRAI_tags_1)
- /sizeof(asn_DEF_PTMSIRAI_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_PTMSIRAI_tags_1,
+ sizeof(asn_DEF_HNBAP_PTMSIRAI_tags_1)
+ /sizeof(asn_DEF_HNBAP_PTMSIRAI_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_PTMSIRAI_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_PTMSIRAI_tags_1)
+ /sizeof(asn_DEF_HNBAP_PTMSIRAI_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_PTMSIRAI_1,
+ asn_MBR_HNBAP_PTMSIRAI_1,
2, /* Elements count */
- &asn_SPC_PTMSIRAI_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_PTMSIRAI_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/Presence.c b/src/hnbap/HNBAP_Presence.c
index 8ea56bd..550df56 100644
--- a/src/hnbap/Presence.c
+++ b/src/hnbap/HNBAP_Presence.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/Presence.h>
+#include <osmocom/hnbap/HNBAP_Presence.h>
int
-Presence_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_Presence_constraint(asn_TYPE_descriptor_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;
@@ -20,7 +20,7 @@ Presence_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-Presence_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_Presence_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->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
@@ -40,129 +40,129 @@ Presence_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-Presence_free(asn_TYPE_descriptor_t *td,
+HNBAP_Presence_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- Presence_1_inherit_TYPE_descriptor(td);
+ HNBAP_Presence_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-Presence_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_Presence_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- Presence_1_inherit_TYPE_descriptor(td);
+ HNBAP_Presence_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-Presence_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Presence_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- Presence_1_inherit_TYPE_descriptor(td);
+ HNBAP_Presence_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-Presence_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_Presence_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- Presence_1_inherit_TYPE_descriptor(td);
+ HNBAP_Presence_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-Presence_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Presence_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- Presence_1_inherit_TYPE_descriptor(td);
+ HNBAP_Presence_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-Presence_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_Presence_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- Presence_1_inherit_TYPE_descriptor(td);
+ HNBAP_Presence_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-Presence_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Presence_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- Presence_1_inherit_TYPE_descriptor(td);
+ HNBAP_Presence_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-Presence_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_Presence_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- Presence_1_inherit_TYPE_descriptor(td);
+ HNBAP_Presence_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-Presence_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_Presence_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- Presence_1_inherit_TYPE_descriptor(td);
+ HNBAP_Presence_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-Presence_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Presence_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- Presence_1_inherit_TYPE_descriptor(td);
+ HNBAP_Presence_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_Presence_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_Presence_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED, 2, 2, 0l, 2l } /* (0..2) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static const asn_INTEGER_enum_map_t asn_MAP_Presence_value2enum_1[] = {
+static const asn_INTEGER_enum_map_t asn_MAP_HNBAP_Presence_value2enum_1[] = {
{ 0, 8, "optional" },
{ 1, 11, "conditional" },
{ 2, 9, "mandatory" }
};
-static const unsigned int asn_MAP_Presence_enum2value_1[] = {
+static const unsigned int asn_MAP_HNBAP_Presence_enum2value_1[] = {
1, /* conditional(1) */
2, /* mandatory(2) */
0 /* optional(0) */
};
-static const asn_INTEGER_specifics_t asn_SPC_Presence_specs_1 = {
- asn_MAP_Presence_value2enum_1, /* "tag" => N; sorted by tag */
- asn_MAP_Presence_enum2value_1, /* N => "tag"; sorted by N */
+static const asn_INTEGER_specifics_t asn_SPC_HNBAP_Presence_specs_1 = {
+ asn_MAP_HNBAP_Presence_value2enum_1, /* "tag" => N; sorted by tag */
+ asn_MAP_HNBAP_Presence_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 const ber_tlv_tag_t asn_DEF_Presence_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_Presence_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_Presence = {
- "Presence",
- "Presence",
- Presence_free,
- Presence_print,
- Presence_constraint,
- Presence_decode_ber,
- Presence_encode_der,
- Presence_decode_xer,
- Presence_encode_xer,
- Presence_decode_uper,
- Presence_encode_uper,
- Presence_decode_aper,
- Presence_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_Presence = {
+ "HNBAP_Presence",
+ "HNBAP_Presence",
+ HNBAP_Presence_free,
+ HNBAP_Presence_print,
+ HNBAP_Presence_constraint,
+ HNBAP_Presence_decode_ber,
+ HNBAP_Presence_encode_der,
+ HNBAP_Presence_decode_xer,
+ HNBAP_Presence_encode_xer,
+ HNBAP_Presence_decode_uper,
+ HNBAP_Presence_encode_uper,
+ HNBAP_Presence_decode_aper,
+ HNBAP_Presence_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_Presence_tags_1,
- sizeof(asn_DEF_Presence_tags_1)
- /sizeof(asn_DEF_Presence_tags_1[0]), /* 1 */
- asn_DEF_Presence_tags_1, /* Same as above */
- sizeof(asn_DEF_Presence_tags_1)
- /sizeof(asn_DEF_Presence_tags_1[0]), /* 1 */
- &asn_PER_type_Presence_constr_1,
+ asn_DEF_HNBAP_Presence_tags_1,
+ sizeof(asn_DEF_HNBAP_Presence_tags_1)
+ /sizeof(asn_DEF_HNBAP_Presence_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_Presence_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_Presence_tags_1)
+ /sizeof(asn_DEF_HNBAP_Presence_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_Presence_constr_1,
0, 0, /* Defined elsewhere */
- &asn_SPC_Presence_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_Presence_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/PrivateIE-ID.c b/src/hnbap/HNBAP_PrivateIE-ID.c
index 4da711d..0df265a 100644
--- a/src/hnbap/PrivateIE-ID.c
+++ b/src/hnbap/HNBAP_PrivateIE-ID.c
@@ -5,7 +5,7 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/PrivateIE-ID.h>
+#include <osmocom/hnbap/HNBAP_PrivateIE-ID.h>
static int
memb_local_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
@@ -37,13 +37,13 @@ static asn_per_constraints_t asn_PER_memb_local_constr_2 GCC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static asn_per_constraints_t asn_PER_type_PrivateIE_ID_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_PrivateIE_ID_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED, 1, 1, 0l, 1l } /* (0..1) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static asn_TYPE_member_t asn_MBR_PrivateIE_ID_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct PrivateIE_ID, choice.local),
+static asn_TYPE_member_t asn_MBR_HNBAP_PrivateIE_ID_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_PrivateIE_ID, choice.local),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_NativeInteger,
@@ -52,7 +52,7 @@ static asn_TYPE_member_t asn_MBR_PrivateIE_ID_1[] = {
0,
"local"
},
- { ATF_NOFLAGS, 0, offsetof(struct PrivateIE_ID, choice.global),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_PrivateIE_ID, choice.global),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_OBJECT_IDENTIFIER,
@@ -62,23 +62,23 @@ static asn_TYPE_member_t asn_MBR_PrivateIE_ID_1[] = {
"global"
},
};
-static const asn_TYPE_tag2member_t asn_MAP_PrivateIE_ID_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_PrivateIE_ID_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* local */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* global */
};
-static asn_CHOICE_specifics_t asn_SPC_PrivateIE_ID_specs_1 = {
- sizeof(struct PrivateIE_ID),
- offsetof(struct PrivateIE_ID, _asn_ctx),
- offsetof(struct PrivateIE_ID, present),
- sizeof(((struct PrivateIE_ID *)0)->present),
- asn_MAP_PrivateIE_ID_tag2el_1,
+static asn_CHOICE_specifics_t asn_SPC_HNBAP_PrivateIE_ID_specs_1 = {
+ sizeof(struct HNBAP_PrivateIE_ID),
+ offsetof(struct HNBAP_PrivateIE_ID, _asn_ctx),
+ offsetof(struct HNBAP_PrivateIE_ID, present),
+ sizeof(((struct HNBAP_PrivateIE_ID *)0)->present),
+ asn_MAP_HNBAP_PrivateIE_ID_tag2el_1,
2, /* Count of tags in the map */
0,
-1 /* Extensions start */
};
-asn_TYPE_descriptor_t asn_DEF_PrivateIE_ID = {
- "PrivateIE-ID",
- "PrivateIE-ID",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_PrivateIE_ID = {
+ "HNBAP_PrivateIE-ID",
+ "HNBAP_PrivateIE-ID",
CHOICE_free,
CHOICE_print,
CHOICE_constraint,
@@ -95,9 +95,9 @@ asn_TYPE_descriptor_t asn_DEF_PrivateIE_ID = {
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
- &asn_PER_type_PrivateIE_ID_constr_1,
- asn_MBR_PrivateIE_ID_1,
+ &asn_PER_type_HNBAP_PrivateIE_ID_constr_1,
+ asn_MBR_HNBAP_PrivateIE_ID_1,
2, /* Elements count */
- &asn_SPC_PrivateIE_ID_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_PrivateIE_ID_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/PrivateMessage.c b/src/hnbap/HNBAP_PrivateMessage.c
index a6d39fc..6cc1ace 100644
--- a/src/hnbap/PrivateMessage.c
+++ b/src/hnbap/HNBAP_PrivateMessage.c
@@ -5,7 +5,7 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/PrivateMessage.h>
+#include <osmocom/hnbap/HNBAP_PrivateMessage.h>
static int
memb_privateMessage_ies_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
@@ -45,9 +45,9 @@ static asn_per_constraints_t asn_PER_memb_privateMessage_ies_constr_2 GCC_NOTUSE
};
static asn_TYPE_member_t asn_MBR_privateMessage_ies_2[] = {
{ ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
+ -1 /* Ambiguous tag (CHOICE?) */,
0,
- &asn_DEF_IE,
+ &asn_DEF_HNBAP_IE,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -91,8 +91,8 @@ asn_TYPE_descriptor_t asn_DEF_privateMessage_ies_2 = {
&asn_SPC_privateMessage_ies_specs_2 /* Additional specs */
};
-static asn_TYPE_member_t asn_MBR_PrivateMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct PrivateMessage, privateMessage_ies),
+static asn_TYPE_member_t asn_MBR_HNBAP_PrivateMessage_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_PrivateMessage, privateMessage_ies),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
0,
&asn_DEF_privateMessage_ies_2,
@@ -102,24 +102,24 @@ static asn_TYPE_member_t asn_MBR_PrivateMessage_1[] = {
"privateMessage-ies"
},
};
-static const ber_tlv_tag_t asn_DEF_PrivateMessage_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_PrivateMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_PrivateMessage_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_PrivateMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* privateMessage-ies */
};
-static asn_SEQUENCE_specifics_t asn_SPC_PrivateMessage_specs_1 = {
- sizeof(struct PrivateMessage),
- offsetof(struct PrivateMessage, _asn_ctx),
- asn_MAP_PrivateMessage_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_PrivateMessage_specs_1 = {
+ sizeof(struct HNBAP_PrivateMessage),
+ offsetof(struct HNBAP_PrivateMessage, _asn_ctx),
+ asn_MAP_HNBAP_PrivateMessage_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_PrivateMessage = {
- "PrivateMessage",
- "PrivateMessage",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_PrivateMessage = {
+ "HNBAP_PrivateMessage",
+ "HNBAP_PrivateMessage",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -132,15 +132,15 @@ asn_TYPE_descriptor_t asn_DEF_PrivateMessage = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_PrivateMessage_tags_1,
- sizeof(asn_DEF_PrivateMessage_tags_1)
- /sizeof(asn_DEF_PrivateMessage_tags_1[0]), /* 1 */
- asn_DEF_PrivateMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_PrivateMessage_tags_1)
- /sizeof(asn_DEF_PrivateMessage_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_PrivateMessage_tags_1,
+ sizeof(asn_DEF_HNBAP_PrivateMessage_tags_1)
+ /sizeof(asn_DEF_HNBAP_PrivateMessage_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_PrivateMessage_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_PrivateMessage_tags_1)
+ /sizeof(asn_DEF_HNBAP_PrivateMessage_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_PrivateMessage_1,
+ asn_MBR_HNBAP_PrivateMessage_1,
1, /* Elements count */
- &asn_SPC_PrivateMessage_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_PrivateMessage_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/ProcedureCode.c b/src/hnbap/HNBAP_ProcedureCode.c
index 4cc8d1c..ff34f8d 100644
--- a/src/hnbap/ProcedureCode.c
+++ b/src/hnbap/HNBAP_ProcedureCode.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/ProcedureCode.h>
+#include <osmocom/hnbap/HNBAP_ProcedureCode.h>
int
-ProcedureCode_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_ProcedureCode_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
long value;
@@ -37,7 +37,7 @@ ProcedureCode_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-ProcedureCode_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_ProcedureCode_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->check_constraints = asn_DEF_NativeInteger.check_constraints;
@@ -57,109 +57,109 @@ ProcedureCode_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-ProcedureCode_free(asn_TYPE_descriptor_t *td,
+HNBAP_ProcedureCode_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- ProcedureCode_1_inherit_TYPE_descriptor(td);
+ HNBAP_ProcedureCode_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-ProcedureCode_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_ProcedureCode_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- ProcedureCode_1_inherit_TYPE_descriptor(td);
+ HNBAP_ProcedureCode_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-ProcedureCode_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_ProcedureCode_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- ProcedureCode_1_inherit_TYPE_descriptor(td);
+ HNBAP_ProcedureCode_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-ProcedureCode_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_ProcedureCode_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- ProcedureCode_1_inherit_TYPE_descriptor(td);
+ HNBAP_ProcedureCode_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-ProcedureCode_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_ProcedureCode_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- ProcedureCode_1_inherit_TYPE_descriptor(td);
+ HNBAP_ProcedureCode_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-ProcedureCode_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_ProcedureCode_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- ProcedureCode_1_inherit_TYPE_descriptor(td);
+ HNBAP_ProcedureCode_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-ProcedureCode_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_ProcedureCode_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- ProcedureCode_1_inherit_TYPE_descriptor(td);
+ HNBAP_ProcedureCode_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-ProcedureCode_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_ProcedureCode_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- ProcedureCode_1_inherit_TYPE_descriptor(td);
+ HNBAP_ProcedureCode_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-ProcedureCode_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_ProcedureCode_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- ProcedureCode_1_inherit_TYPE_descriptor(td);
+ HNBAP_ProcedureCode_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-ProcedureCode_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_ProcedureCode_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- ProcedureCode_1_inherit_TYPE_descriptor(td);
+ HNBAP_ProcedureCode_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_ProcedureCode_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_ProcedureCode_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED, 8, 8, 0l, 255l } /* (0..255) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_ProcedureCode_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_ProcedureCode_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_ProcedureCode = {
- "ProcedureCode",
- "ProcedureCode",
- ProcedureCode_free,
- ProcedureCode_print,
- ProcedureCode_constraint,
- ProcedureCode_decode_ber,
- ProcedureCode_encode_der,
- ProcedureCode_decode_xer,
- ProcedureCode_encode_xer,
- ProcedureCode_decode_uper,
- ProcedureCode_encode_uper,
- ProcedureCode_decode_aper,
- ProcedureCode_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_ProcedureCode = {
+ "HNBAP_ProcedureCode",
+ "HNBAP_ProcedureCode",
+ HNBAP_ProcedureCode_free,
+ HNBAP_ProcedureCode_print,
+ HNBAP_ProcedureCode_constraint,
+ HNBAP_ProcedureCode_decode_ber,
+ HNBAP_ProcedureCode_encode_der,
+ HNBAP_ProcedureCode_decode_xer,
+ HNBAP_ProcedureCode_encode_xer,
+ HNBAP_ProcedureCode_decode_uper,
+ HNBAP_ProcedureCode_encode_uper,
+ HNBAP_ProcedureCode_decode_aper,
+ HNBAP_ProcedureCode_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_ProcedureCode_tags_1,
- sizeof(asn_DEF_ProcedureCode_tags_1)
- /sizeof(asn_DEF_ProcedureCode_tags_1[0]), /* 1 */
- asn_DEF_ProcedureCode_tags_1, /* Same as above */
- sizeof(asn_DEF_ProcedureCode_tags_1)
- /sizeof(asn_DEF_ProcedureCode_tags_1[0]), /* 1 */
- &asn_PER_type_ProcedureCode_constr_1,
+ asn_DEF_HNBAP_ProcedureCode_tags_1,
+ sizeof(asn_DEF_HNBAP_ProcedureCode_tags_1)
+ /sizeof(asn_DEF_HNBAP_ProcedureCode_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_ProcedureCode_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_ProcedureCode_tags_1)
+ /sizeof(asn_DEF_HNBAP_ProcedureCode_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_ProcedureCode_constr_1,
0, 0, /* Defined elsewhere */
0 /* No specifics */
};
diff --git a/src/hnbap/ProtocolIE-ID.c b/src/hnbap/HNBAP_ProtocolIE-ID.c
index b9a18fe..2df4268 100644
--- a/src/hnbap/ProtocolIE-ID.c
+++ b/src/hnbap/HNBAP_ProtocolIE-ID.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/ProtocolIE-ID.h>
+#include <osmocom/hnbap/HNBAP_ProtocolIE-ID.h>
int
-ProtocolIE_ID_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_ProtocolIE_ID_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
long value;
@@ -37,7 +37,7 @@ ProtocolIE_ID_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-ProtocolIE_ID_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_ProtocolIE_ID_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->check_constraints = asn_DEF_NativeInteger.check_constraints;
@@ -57,109 +57,109 @@ ProtocolIE_ID_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-ProtocolIE_ID_free(asn_TYPE_descriptor_t *td,
+HNBAP_ProtocolIE_ID_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- ProtocolIE_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_ProtocolIE_ID_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-ProtocolIE_ID_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_ProtocolIE_ID_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- ProtocolIE_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_ProtocolIE_ID_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-ProtocolIE_ID_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_ProtocolIE_ID_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- ProtocolIE_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_ProtocolIE_ID_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-ProtocolIE_ID_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_ProtocolIE_ID_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- ProtocolIE_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_ProtocolIE_ID_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-ProtocolIE_ID_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_ProtocolIE_ID_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- ProtocolIE_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_ProtocolIE_ID_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-ProtocolIE_ID_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_ProtocolIE_ID_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- ProtocolIE_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_ProtocolIE_ID_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-ProtocolIE_ID_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_ProtocolIE_ID_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- ProtocolIE_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_ProtocolIE_ID_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-ProtocolIE_ID_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_ProtocolIE_ID_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- ProtocolIE_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_ProtocolIE_ID_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-ProtocolIE_ID_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_ProtocolIE_ID_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- ProtocolIE_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_ProtocolIE_ID_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-ProtocolIE_ID_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_ProtocolIE_ID_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- ProtocolIE_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_ProtocolIE_ID_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_ProtocolIE_ID_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_ProtocolIE_ID_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED, 16, 16, 0l, 65535l } /* (0..65535) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_ProtocolIE_ID_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_ProtocolIE_ID_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_ProtocolIE_ID = {
- "ProtocolIE-ID",
- "ProtocolIE-ID",
- ProtocolIE_ID_free,
- ProtocolIE_ID_print,
- ProtocolIE_ID_constraint,
- ProtocolIE_ID_decode_ber,
- ProtocolIE_ID_encode_der,
- ProtocolIE_ID_decode_xer,
- ProtocolIE_ID_encode_xer,
- ProtocolIE_ID_decode_uper,
- ProtocolIE_ID_encode_uper,
- ProtocolIE_ID_decode_aper,
- ProtocolIE_ID_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_ProtocolIE_ID = {
+ "HNBAP_ProtocolIE-ID",
+ "HNBAP_ProtocolIE-ID",
+ HNBAP_ProtocolIE_ID_free,
+ HNBAP_ProtocolIE_ID_print,
+ HNBAP_ProtocolIE_ID_constraint,
+ HNBAP_ProtocolIE_ID_decode_ber,
+ HNBAP_ProtocolIE_ID_encode_der,
+ HNBAP_ProtocolIE_ID_decode_xer,
+ HNBAP_ProtocolIE_ID_encode_xer,
+ HNBAP_ProtocolIE_ID_decode_uper,
+ HNBAP_ProtocolIE_ID_encode_uper,
+ HNBAP_ProtocolIE_ID_decode_aper,
+ HNBAP_ProtocolIE_ID_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_ProtocolIE_ID_tags_1,
- sizeof(asn_DEF_ProtocolIE_ID_tags_1)
- /sizeof(asn_DEF_ProtocolIE_ID_tags_1[0]), /* 1 */
- asn_DEF_ProtocolIE_ID_tags_1, /* Same as above */
- sizeof(asn_DEF_ProtocolIE_ID_tags_1)
- /sizeof(asn_DEF_ProtocolIE_ID_tags_1[0]), /* 1 */
- &asn_PER_type_ProtocolIE_ID_constr_1,
+ asn_DEF_HNBAP_ProtocolIE_ID_tags_1,
+ sizeof(asn_DEF_HNBAP_ProtocolIE_ID_tags_1)
+ /sizeof(asn_DEF_HNBAP_ProtocolIE_ID_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_ProtocolIE_ID_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_ProtocolIE_ID_tags_1)
+ /sizeof(asn_DEF_HNBAP_ProtocolIE_ID_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_ProtocolIE_ID_constr_1,
0, 0, /* Defined elsewhere */
0 /* No specifics */
};
diff --git a/src/hnbap/CellIdentity.c b/src/hnbap/HNBAP_RAB-ID.c
index 0b29fad..f9f1f3a 100644
--- a/src/hnbap/CellIdentity.c
+++ b/src/hnbap/HNBAP_RAB-ID.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/CellIdentity.h>
+#include <osmocom/hnbap/HNBAP_RAB-ID.h>
int
-CellIdentity_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_RAB_ID_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;
@@ -27,7 +27,7 @@ CellIdentity_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
size = 0;
}
- if((size == 28l)) {
+ if((size == 8l)) {
/* Constraint check succeeded */
return 0;
} else {
@@ -43,7 +43,7 @@ CellIdentity_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-CellIdentity_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_RAB_ID_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;
@@ -63,109 +63,109 @@ CellIdentity_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-CellIdentity_free(asn_TYPE_descriptor_t *td,
+HNBAP_RAB_ID_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- CellIdentity_1_inherit_TYPE_descriptor(td);
+ HNBAP_RAB_ID_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,
+HNBAP_RAB_ID_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);
+ HNBAP_RAB_ID_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,
+HNBAP_RAB_ID_decode_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);
+ HNBAP_RAB_ID_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,
+HNBAP_RAB_ID_encode_der(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);
+ HNBAP_RAB_ID_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,
+HNBAP_RAB_ID_decode_xer(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);
+ HNBAP_RAB_ID_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,
+HNBAP_RAB_ID_encode_xer(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);
+ HNBAP_RAB_ID_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,
+HNBAP_RAB_ID_decode_uper(asn_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);
+ HNBAP_RAB_ID_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,
+HNBAP_RAB_ID_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);
+ HNBAP_RAB_ID_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-CellIdentity_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_RAB_ID_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- CellIdentity_1_inherit_TYPE_descriptor(td);
+ HNBAP_RAB_ID_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-CellIdentity_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_RAB_ID_decode_aper(asn_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);
+ HNBAP_RAB_ID_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_CellIdentity_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_RAB_ID_constr_1 GCC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
- { APC_CONSTRAINED, 0, 0, 28l, 28l } /* (SIZE(28..28)) */,
+ { APC_CONSTRAINED, 0, 0, 8l, 8l } /* (SIZE(8..8)) */,
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_CellIdentity_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_RAB_ID_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,
- CellIdentity_decode_aper,
- CellIdentity_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_RAB_ID = {
+ "HNBAP_RAB-ID",
+ "HNBAP_RAB-ID",
+ HNBAP_RAB_ID_free,
+ HNBAP_RAB_ID_print,
+ HNBAP_RAB_ID_constraint,
+ HNBAP_RAB_ID_decode_ber,
+ HNBAP_RAB_ID_encode_der,
+ HNBAP_RAB_ID_decode_xer,
+ HNBAP_RAB_ID_encode_xer,
+ HNBAP_RAB_ID_decode_uper,
+ HNBAP_RAB_ID_encode_uper,
+ HNBAP_RAB_ID_decode_aper,
+ HNBAP_RAB_ID_encode_aper,
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,
+ asn_DEF_HNBAP_RAB_ID_tags_1,
+ sizeof(asn_DEF_HNBAP_RAB_ID_tags_1)
+ /sizeof(asn_DEF_HNBAP_RAB_ID_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_RAB_ID_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_RAB_ID_tags_1)
+ /sizeof(asn_DEF_HNBAP_RAB_ID_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_RAB_ID_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/HNBAP_RABList.c b/src/hnbap/HNBAP_RABList.c
new file mode 100644
index 0000000..7a94a2d
--- /dev/null
+++ b/src/hnbap/HNBAP_RABList.c
@@ -0,0 +1,60 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#include <osmocom/hnbap/HNBAP_RABList.h>
+
+static asn_per_constraints_t asn_PER_type_HNBAP_RABList_constr_1 GCC_NOTUSED = {
+ { APC_UNCONSTRAINED, -1, -1, 0, 0 },
+ { APC_CONSTRAINED, 8, 8, 1l, 256l } /* (SIZE(1..256)) */,
+ 0, 0 /* No PER value map */
+};
+static asn_TYPE_member_t asn_MBR_HNBAP_RABList_1[] = {
+ { ATF_POINTER, 0, 0,
+ -1 /* Ambiguous tag (CHOICE?) */,
+ 0,
+ &asn_DEF_HNBAP_RABListItem,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ ""
+ },
+};
+static const ber_tlv_tag_t asn_DEF_HNBAP_RABList_tags_1[] = {
+ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
+};
+static asn_SET_OF_specifics_t asn_SPC_HNBAP_RABList_specs_1 = {
+ sizeof(struct HNBAP_RABList),
+ offsetof(struct HNBAP_RABList, _asn_ctx),
+ 0, /* XER encoding is XMLDelimitedItemList */
+};
+asn_TYPE_descriptor_t asn_DEF_HNBAP_RABList = {
+ "HNBAP_RABList",
+ "HNBAP_RABList",
+ 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,
+ SEQUENCE_OF_decode_aper,
+ SEQUENCE_OF_encode_aper,
+ 0, /* Use generic outmost tag fetcher */
+ asn_DEF_HNBAP_RABList_tags_1,
+ sizeof(asn_DEF_HNBAP_RABList_tags_1)
+ /sizeof(asn_DEF_HNBAP_RABList_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_RABList_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_RABList_tags_1)
+ /sizeof(asn_DEF_HNBAP_RABList_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_RABList_constr_1,
+ asn_MBR_HNBAP_RABList_1,
+ 1, /* Single element */
+ &asn_SPC_HNBAP_RABList_specs_1 /* Additional specs */
+};
+
diff --git a/src/hnbap/RABListItem.c b/src/hnbap/HNBAP_RABListItem.c
index 06a5028..280fd8c 100644
--- a/src/hnbap/RABListItem.c
+++ b/src/hnbap/HNBAP_RABListItem.c
@@ -5,79 +5,79 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/RABListItem.h>
+#include <osmocom/hnbap/HNBAP_RABListItem.h>
-static asn_TYPE_member_t asn_MBR_RABListItem_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct RABListItem, rAB_ID),
+static asn_TYPE_member_t asn_MBR_HNBAP_RABListItem_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_RABListItem, rAB_ID),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_RAB_ID,
+ &asn_DEF_HNBAP_RAB_ID,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"rAB-ID"
},
- { ATF_NOFLAGS, 0, offsetof(struct RABListItem, old_transport_Info),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_RABListItem, old_transport_Info),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_TransportInfo,
+ &asn_DEF_HNBAP_TransportInfo,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"old-transport-Info"
},
- { ATF_NOFLAGS, 0, offsetof(struct RABListItem, new_transport_Info),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_RABListItem, new_transport_Info),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_TransportInfo,
+ &asn_DEF_HNBAP_TransportInfo,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"new-transport-Info"
},
- { ATF_NOFLAGS, 0, offsetof(struct RABListItem, cn_domain_indicator),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_RABListItem, cn_domain_indicator),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_CN_DomainIndicator,
+ &asn_DEF_HNBAP_CN_DomainIndicator,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"cn-domain-indicator"
},
- { ATF_POINTER, 1, offsetof(struct RABListItem, iE_Extensions),
+ { ATF_POINTER, 1, offsetof(struct HNBAP_RABListItem, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_IE_Extensions,
+ &asn_DEF_HNBAP_IE_Extensions,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"iE-Extensions"
},
};
-static const int asn_MAP_RABListItem_oms_1[] = { 4 };
-static const ber_tlv_tag_t asn_DEF_RABListItem_tags_1[] = {
+static const int asn_MAP_HNBAP_RABListItem_oms_1[] = { 4 };
+static const ber_tlv_tag_t asn_DEF_HNBAP_RABListItem_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_RABListItem_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_RABListItem_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rAB-ID */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* old-transport-Info */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* new-transport-Info */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* cn-domain-indicator */
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* iE-Extensions */
};
-static asn_SEQUENCE_specifics_t asn_SPC_RABListItem_specs_1 = {
- sizeof(struct RABListItem),
- offsetof(struct RABListItem, _asn_ctx),
- asn_MAP_RABListItem_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_RABListItem_specs_1 = {
+ sizeof(struct HNBAP_RABListItem),
+ offsetof(struct HNBAP_RABListItem, _asn_ctx),
+ asn_MAP_HNBAP_RABListItem_tag2el_1,
5, /* Count of tags in the map */
- asn_MAP_RABListItem_oms_1, /* Optional members */
+ asn_MAP_HNBAP_RABListItem_oms_1, /* Optional members */
1, 0, /* Root/Additions */
4, /* Start extensions */
6 /* Stop extensions */
};
-asn_TYPE_descriptor_t asn_DEF_RABListItem = {
- "RABListItem",
- "RABListItem",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_RABListItem = {
+ "HNBAP_RABListItem",
+ "HNBAP_RABListItem",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -90,15 +90,15 @@ asn_TYPE_descriptor_t asn_DEF_RABListItem = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_RABListItem_tags_1,
- sizeof(asn_DEF_RABListItem_tags_1)
- /sizeof(asn_DEF_RABListItem_tags_1[0]), /* 1 */
- asn_DEF_RABListItem_tags_1, /* Same as above */
- sizeof(asn_DEF_RABListItem_tags_1)
- /sizeof(asn_DEF_RABListItem_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_RABListItem_tags_1,
+ sizeof(asn_DEF_HNBAP_RABListItem_tags_1)
+ /sizeof(asn_DEF_HNBAP_RABListItem_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_RABListItem_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_RABListItem_tags_1)
+ /sizeof(asn_DEF_HNBAP_RABListItem_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_RABListItem_1,
+ asn_MBR_HNBAP_RABListItem_1,
5, /* Elements count */
- &asn_SPC_RABListItem_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_RABListItem_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/RAC.c b/src/hnbap/HNBAP_RAC.c
index 7f29618..d1b9947 100644
--- a/src/hnbap/RAC.c
+++ b/src/hnbap/HNBAP_RAC.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/RAC.h>
+#include <osmocom/hnbap/HNBAP_RAC.h>
int
-RAC_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_RAC_constraint(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;
@@ -38,7 +38,7 @@ RAC_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-RAC_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_RAC_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->check_constraints = asn_DEF_OCTET_STRING.check_constraints;
@@ -58,109 +58,109 @@ RAC_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-RAC_free(asn_TYPE_descriptor_t *td,
+HNBAP_RAC_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- RAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_RAC_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-RAC_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_RAC_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- RAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_RAC_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-RAC_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_RAC_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- RAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_RAC_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-RAC_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_RAC_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- RAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_RAC_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-RAC_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_RAC_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- RAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_RAC_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-RAC_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_RAC_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- RAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_RAC_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-RAC_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_RAC_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- RAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_RAC_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-RAC_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_RAC_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- RAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_RAC_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-RAC_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_RAC_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- RAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_RAC_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-RAC_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_RAC_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- RAC_1_inherit_TYPE_descriptor(td);
+ HNBAP_RAC_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_RAC_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_RAC_constr_1 GCC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 1l, 1l } /* (SIZE(1..1)) */,
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_RAC_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_RAC_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_RAC = {
- "RAC",
- "RAC",
- RAC_free,
- RAC_print,
- RAC_constraint,
- RAC_decode_ber,
- RAC_encode_der,
- RAC_decode_xer,
- RAC_encode_xer,
- RAC_decode_uper,
- RAC_encode_uper,
- RAC_decode_aper,
- RAC_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_RAC = {
+ "HNBAP_RAC",
+ "HNBAP_RAC",
+ HNBAP_RAC_free,
+ HNBAP_RAC_print,
+ HNBAP_RAC_constraint,
+ HNBAP_RAC_decode_ber,
+ HNBAP_RAC_encode_der,
+ HNBAP_RAC_decode_xer,
+ HNBAP_RAC_encode_xer,
+ HNBAP_RAC_decode_uper,
+ HNBAP_RAC_encode_uper,
+ HNBAP_RAC_decode_aper,
+ HNBAP_RAC_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_RAC_tags_1,
- sizeof(asn_DEF_RAC_tags_1)
- /sizeof(asn_DEF_RAC_tags_1[0]), /* 1 */
- asn_DEF_RAC_tags_1, /* Same as above */
- sizeof(asn_DEF_RAC_tags_1)
- /sizeof(asn_DEF_RAC_tags_1[0]), /* 1 */
- &asn_PER_type_RAC_constr_1,
+ asn_DEF_HNBAP_RAC_tags_1,
+ sizeof(asn_DEF_HNBAP_RAC_tags_1)
+ /sizeof(asn_DEF_HNBAP_RAC_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_RAC_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_RAC_tags_1)
+ /sizeof(asn_DEF_HNBAP_RAC_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_RAC_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/RAI.c b/src/hnbap/HNBAP_RAI.c
index 150c87e..9f35417 100644
--- a/src/hnbap/RAI.c
+++ b/src/hnbap/HNBAP_RAI.c
@@ -5,47 +5,47 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/RAI.h>
+#include <osmocom/hnbap/HNBAP_RAI.h>
-static asn_TYPE_member_t asn_MBR_RAI_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct RAI, lAI),
+static asn_TYPE_member_t asn_MBR_HNBAP_RAI_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_RAI, lAI),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_LAI,
+ &asn_DEF_HNBAP_LAI,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"lAI"
},
- { ATF_NOFLAGS, 0, offsetof(struct RAI, rAC),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_RAI, rAC),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_RAC,
+ &asn_DEF_HNBAP_RAC,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"rAC"
},
};
-static const ber_tlv_tag_t asn_DEF_RAI_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_RAI_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_RAI_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_RAI_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lAI */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* rAC */
};
-static asn_SEQUENCE_specifics_t asn_SPC_RAI_specs_1 = {
- sizeof(struct RAI),
- offsetof(struct RAI, _asn_ctx),
- asn_MAP_RAI_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_RAI_specs_1 = {
+ sizeof(struct HNBAP_RAI),
+ offsetof(struct HNBAP_RAI, _asn_ctx),
+ asn_MAP_HNBAP_RAI_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_RAI = {
- "RAI",
- "RAI",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_RAI = {
+ "HNBAP_RAI",
+ "HNBAP_RAI",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -58,15 +58,15 @@ asn_TYPE_descriptor_t asn_DEF_RAI = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_RAI_tags_1,
- sizeof(asn_DEF_RAI_tags_1)
- /sizeof(asn_DEF_RAI_tags_1[0]), /* 1 */
- asn_DEF_RAI_tags_1, /* Same as above */
- sizeof(asn_DEF_RAI_tags_1)
- /sizeof(asn_DEF_RAI_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_RAI_tags_1,
+ sizeof(asn_DEF_HNBAP_RAI_tags_1)
+ /sizeof(asn_DEF_HNBAP_RAI_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_RAI_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_RAI_tags_1)
+ /sizeof(asn_DEF_HNBAP_RAI_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_RAI_1,
+ asn_MBR_HNBAP_RAI_1,
2, /* Elements count */
- &asn_SPC_RAI_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_RAI_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/URAIdentity.c b/src/hnbap/HNBAP_RNC-ID.c
index 97da17c..323944d 100644
--- a/src/hnbap/URAIdentity.c
+++ b/src/hnbap/HNBAP_RNC-ID.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/URAIdentity.h>
+#include <osmocom/hnbap/HNBAP_RNC-ID.h>
int
-URAIdentity_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_RNC_ID_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
long value;
@@ -37,7 +37,7 @@ URAIdentity_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-URAIdentity_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_RNC_ID_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->check_constraints = asn_DEF_NativeInteger.check_constraints;
@@ -57,109 +57,109 @@ URAIdentity_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-URAIdentity_free(asn_TYPE_descriptor_t *td,
+HNBAP_RNC_ID_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- URAIdentity_1_inherit_TYPE_descriptor(td);
+ HNBAP_RNC_ID_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-URAIdentity_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_RNC_ID_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- URAIdentity_1_inherit_TYPE_descriptor(td);
+ HNBAP_RNC_ID_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-URAIdentity_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_RNC_ID_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- URAIdentity_1_inherit_TYPE_descriptor(td);
+ HNBAP_RNC_ID_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-URAIdentity_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_RNC_ID_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- URAIdentity_1_inherit_TYPE_descriptor(td);
+ HNBAP_RNC_ID_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-URAIdentity_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_RNC_ID_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- URAIdentity_1_inherit_TYPE_descriptor(td);
+ HNBAP_RNC_ID_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-URAIdentity_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_RNC_ID_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- URAIdentity_1_inherit_TYPE_descriptor(td);
+ HNBAP_RNC_ID_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-URAIdentity_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_RNC_ID_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- URAIdentity_1_inherit_TYPE_descriptor(td);
+ HNBAP_RNC_ID_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-URAIdentity_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_RNC_ID_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- URAIdentity_1_inherit_TYPE_descriptor(td);
+ HNBAP_RNC_ID_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-URAIdentity_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_RNC_ID_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- URAIdentity_1_inherit_TYPE_descriptor(td);
+ HNBAP_RNC_ID_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-URAIdentity_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_RNC_ID_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- URAIdentity_1_inherit_TYPE_descriptor(td);
+ HNBAP_RNC_ID_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_URAIdentity_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_RNC_ID_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED, 16, 16, 0l, 65535l } /* (0..65535) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_URAIdentity_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_RNC_ID_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_URAIdentity = {
- "URAIdentity",
- "URAIdentity",
- URAIdentity_free,
- URAIdentity_print,
- URAIdentity_constraint,
- URAIdentity_decode_ber,
- URAIdentity_encode_der,
- URAIdentity_decode_xer,
- URAIdentity_encode_xer,
- URAIdentity_decode_uper,
- URAIdentity_encode_uper,
- URAIdentity_decode_aper,
- URAIdentity_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_RNC_ID = {
+ "HNBAP_RNC-ID",
+ "HNBAP_RNC-ID",
+ HNBAP_RNC_ID_free,
+ HNBAP_RNC_ID_print,
+ HNBAP_RNC_ID_constraint,
+ HNBAP_RNC_ID_decode_ber,
+ HNBAP_RNC_ID_encode_der,
+ HNBAP_RNC_ID_decode_xer,
+ HNBAP_RNC_ID_encode_xer,
+ HNBAP_RNC_ID_decode_uper,
+ HNBAP_RNC_ID_encode_uper,
+ HNBAP_RNC_ID_decode_aper,
+ HNBAP_RNC_ID_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_URAIdentity_tags_1,
- sizeof(asn_DEF_URAIdentity_tags_1)
- /sizeof(asn_DEF_URAIdentity_tags_1[0]), /* 1 */
- asn_DEF_URAIdentity_tags_1, /* Same as above */
- sizeof(asn_DEF_URAIdentity_tags_1)
- /sizeof(asn_DEF_URAIdentity_tags_1[0]), /* 1 */
- &asn_PER_type_URAIdentity_constr_1,
+ asn_DEF_HNBAP_RNC_ID_tags_1,
+ sizeof(asn_DEF_HNBAP_RNC_ID_tags_1)
+ /sizeof(asn_DEF_HNBAP_RNC_ID_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_RNC_ID_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_RNC_ID_tags_1)
+ /sizeof(asn_DEF_HNBAP_RNC_ID_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_RNC_ID_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/CELL-FACHMobilitySupport.c b/src/hnbap/HNBAP_Registration-Cause.c
index ad494a6..6d54bb2 100644
--- a/src/hnbap/CELL-FACHMobilitySupport.c
+++ b/src/hnbap/HNBAP_Registration-Cause.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/CELL-FACHMobilitySupport.h>
+#include <osmocom/hnbap/HNBAP_Registration-Cause.h>
int
-CELL_FACHMobilitySupport_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_Registration_Cause_constraint(asn_TYPE_descriptor_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;
@@ -20,7 +20,7 @@ CELL_FACHMobilitySupport_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-CELL_FACHMobilitySupport_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_Registration_Cause_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->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
@@ -40,127 +40,131 @@ CELL_FACHMobilitySupport_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-CELL_FACHMobilitySupport_free(asn_TYPE_descriptor_t *td,
+HNBAP_Registration_Cause_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- CELL_FACHMobilitySupport_1_inherit_TYPE_descriptor(td);
+ HNBAP_Registration_Cause_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-CELL_FACHMobilitySupport_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_Registration_Cause_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- CELL_FACHMobilitySupport_1_inherit_TYPE_descriptor(td);
+ HNBAP_Registration_Cause_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-CELL_FACHMobilitySupport_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Registration_Cause_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- CELL_FACHMobilitySupport_1_inherit_TYPE_descriptor(td);
+ HNBAP_Registration_Cause_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-CELL_FACHMobilitySupport_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_Registration_Cause_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- CELL_FACHMobilitySupport_1_inherit_TYPE_descriptor(td);
+ HNBAP_Registration_Cause_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-CELL_FACHMobilitySupport_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Registration_Cause_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- CELL_FACHMobilitySupport_1_inherit_TYPE_descriptor(td);
+ HNBAP_Registration_Cause_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-CELL_FACHMobilitySupport_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_Registration_Cause_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- CELL_FACHMobilitySupport_1_inherit_TYPE_descriptor(td);
+ HNBAP_Registration_Cause_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-CELL_FACHMobilitySupport_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Registration_Cause_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- CELL_FACHMobilitySupport_1_inherit_TYPE_descriptor(td);
+ HNBAP_Registration_Cause_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-CELL_FACHMobilitySupport_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_Registration_Cause_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- CELL_FACHMobilitySupport_1_inherit_TYPE_descriptor(td);
+ HNBAP_Registration_Cause_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-CELL_FACHMobilitySupport_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_Registration_Cause_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- CELL_FACHMobilitySupport_1_inherit_TYPE_descriptor(td);
+ HNBAP_Registration_Cause_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-CELL_FACHMobilitySupport_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Registration_Cause_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- CELL_FACHMobilitySupport_1_inherit_TYPE_descriptor(td);
+ HNBAP_Registration_Cause_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_CELL_FACHMobilitySupport_constr_1 GCC_NOTUSED = {
- { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0l, 0l } /* (0..0,...) */,
+static asn_per_constraints_t asn_PER_type_HNBAP_Registration_Cause_constr_1 GCC_NOTUSED = {
+ { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0l, 1l } /* (0..1,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static const asn_INTEGER_enum_map_t asn_MAP_CELL_FACHMobilitySupport_value2enum_1[] = {
- { 0, 9, "supported" }
+static const asn_INTEGER_enum_map_t asn_MAP_HNBAP_Registration_Cause_value2enum_1[] = {
+ { 0, 14, "emergency-call" },
+ { 1, 6, "normal" },
+ { 2, 13, "ue-relocation" }
/* This list is extensible */
};
-static const unsigned int asn_MAP_CELL_FACHMobilitySupport_enum2value_1[] = {
- 0 /* supported(0) */
+static const unsigned int asn_MAP_HNBAP_Registration_Cause_enum2value_1[] = {
+ 0, /* emergency-call(0) */
+ 1, /* normal(1) */
+ 2 /* ue-relocation(2) */
/* This list is extensible */
};
-static const asn_INTEGER_specifics_t asn_SPC_CELL_FACHMobilitySupport_specs_1 = {
- asn_MAP_CELL_FACHMobilitySupport_value2enum_1, /* "tag" => N; sorted by tag */
- asn_MAP_CELL_FACHMobilitySupport_enum2value_1, /* N => "tag"; sorted by N */
- 1, /* Number of elements in the maps */
- 2, /* Extensions before this member */
+static const asn_INTEGER_specifics_t asn_SPC_HNBAP_Registration_Cause_specs_1 = {
+ asn_MAP_HNBAP_Registration_Cause_value2enum_1, /* "tag" => N; sorted by tag */
+ asn_MAP_HNBAP_Registration_Cause_enum2value_1, /* N => "tag"; sorted by N */
+ 3, /* Number of elements in the maps */
+ 3, /* Extensions before this member */
1, /* Strict enumeration */
0, /* Native long size */
0
};
-static const ber_tlv_tag_t asn_DEF_CELL_FACHMobilitySupport_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_Registration_Cause_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_CELL_FACHMobilitySupport = {
- "CELL-FACHMobilitySupport",
- "CELL-FACHMobilitySupport",
- CELL_FACHMobilitySupport_free,
- CELL_FACHMobilitySupport_print,
- CELL_FACHMobilitySupport_constraint,
- CELL_FACHMobilitySupport_decode_ber,
- CELL_FACHMobilitySupport_encode_der,
- CELL_FACHMobilitySupport_decode_xer,
- CELL_FACHMobilitySupport_encode_xer,
- CELL_FACHMobilitySupport_decode_uper,
- CELL_FACHMobilitySupport_encode_uper,
- CELL_FACHMobilitySupport_decode_aper,
- CELL_FACHMobilitySupport_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_Registration_Cause = {
+ "HNBAP_Registration-Cause",
+ "HNBAP_Registration-Cause",
+ HNBAP_Registration_Cause_free,
+ HNBAP_Registration_Cause_print,
+ HNBAP_Registration_Cause_constraint,
+ HNBAP_Registration_Cause_decode_ber,
+ HNBAP_Registration_Cause_encode_der,
+ HNBAP_Registration_Cause_decode_xer,
+ HNBAP_Registration_Cause_encode_xer,
+ HNBAP_Registration_Cause_decode_uper,
+ HNBAP_Registration_Cause_encode_uper,
+ HNBAP_Registration_Cause_decode_aper,
+ HNBAP_Registration_Cause_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_CELL_FACHMobilitySupport_tags_1,
- sizeof(asn_DEF_CELL_FACHMobilitySupport_tags_1)
- /sizeof(asn_DEF_CELL_FACHMobilitySupport_tags_1[0]), /* 1 */
- asn_DEF_CELL_FACHMobilitySupport_tags_1, /* Same as above */
- sizeof(asn_DEF_CELL_FACHMobilitySupport_tags_1)
- /sizeof(asn_DEF_CELL_FACHMobilitySupport_tags_1[0]), /* 1 */
- &asn_PER_type_CELL_FACHMobilitySupport_constr_1,
+ asn_DEF_HNBAP_Registration_Cause_tags_1,
+ sizeof(asn_DEF_HNBAP_Registration_Cause_tags_1)
+ /sizeof(asn_DEF_HNBAP_Registration_Cause_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_Registration_Cause_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_Registration_Cause_tags_1)
+ /sizeof(asn_DEF_HNBAP_Registration_Cause_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_Registration_Cause_constr_1,
0, 0, /* Defined elsewhere */
- &asn_SPC_CELL_FACHMobilitySupport_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_Registration_Cause_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/RelocationComplete.c b/src/hnbap/HNBAP_RelocationComplete.c
index b76fad6..33136bd 100644
--- a/src/hnbap/RelocationComplete.c
+++ b/src/hnbap/HNBAP_RelocationComplete.c
@@ -5,7 +5,7 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/RelocationComplete.h>
+#include <osmocom/hnbap/HNBAP_RelocationComplete.h>
static int
memb_relocationComplete_ies_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
@@ -45,9 +45,9 @@ static asn_per_constraints_t asn_PER_memb_relocationComplete_ies_constr_2 GCC_NO
};
static asn_TYPE_member_t asn_MBR_relocationComplete_ies_2[] = {
{ ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
+ -1 /* Ambiguous tag (CHOICE?) */,
0,
- &asn_DEF_IE,
+ &asn_DEF_HNBAP_IE,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -91,8 +91,8 @@ asn_TYPE_descriptor_t asn_DEF_relocationComplete_ies_2 = {
&asn_SPC_relocationComplete_ies_specs_2 /* Additional specs */
};
-static asn_TYPE_member_t asn_MBR_RelocationComplete_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct RelocationComplete, relocationComplete_ies),
+static asn_TYPE_member_t asn_MBR_HNBAP_RelocationComplete_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_RelocationComplete, relocationComplete_ies),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
0,
&asn_DEF_relocationComplete_ies_2,
@@ -102,24 +102,24 @@ static asn_TYPE_member_t asn_MBR_RelocationComplete_1[] = {
"relocationComplete-ies"
},
};
-static const ber_tlv_tag_t asn_DEF_RelocationComplete_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_RelocationComplete_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_RelocationComplete_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_RelocationComplete_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* relocationComplete-ies */
};
-static asn_SEQUENCE_specifics_t asn_SPC_RelocationComplete_specs_1 = {
- sizeof(struct RelocationComplete),
- offsetof(struct RelocationComplete, _asn_ctx),
- asn_MAP_RelocationComplete_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_RelocationComplete_specs_1 = {
+ sizeof(struct HNBAP_RelocationComplete),
+ offsetof(struct HNBAP_RelocationComplete, _asn_ctx),
+ asn_MAP_HNBAP_RelocationComplete_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_RelocationComplete = {
- "RelocationComplete",
- "RelocationComplete",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_RelocationComplete = {
+ "HNBAP_RelocationComplete",
+ "HNBAP_RelocationComplete",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -132,15 +132,15 @@ asn_TYPE_descriptor_t asn_DEF_RelocationComplete = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_RelocationComplete_tags_1,
- sizeof(asn_DEF_RelocationComplete_tags_1)
- /sizeof(asn_DEF_RelocationComplete_tags_1[0]), /* 1 */
- asn_DEF_RelocationComplete_tags_1, /* Same as above */
- sizeof(asn_DEF_RelocationComplete_tags_1)
- /sizeof(asn_DEF_RelocationComplete_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_RelocationComplete_tags_1,
+ sizeof(asn_DEF_HNBAP_RelocationComplete_tags_1)
+ /sizeof(asn_DEF_HNBAP_RelocationComplete_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_RelocationComplete_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_RelocationComplete_tags_1)
+ /sizeof(asn_DEF_HNBAP_RelocationComplete_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_RelocationComplete_1,
+ asn_MBR_HNBAP_RelocationComplete_1,
1, /* Elements count */
- &asn_SPC_RelocationComplete_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_RelocationComplete_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/HNBAP_S-RNTIPrefix.c b/src/hnbap/HNBAP_S-RNTIPrefix.c
new file mode 100644
index 0000000..1170eec
--- /dev/null
+++ b/src/hnbap/HNBAP_S-RNTIPrefix.c
@@ -0,0 +1,172 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#include <osmocom/hnbap/HNBAP_S-RNTIPrefix.h>
+
+int
+HNBAP_S_RNTIPrefix_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 >= 1l && size <= 16l)) {
+ /* 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
+HNBAP_S_RNTIPrefix_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;
+ td->aper_decoder = asn_DEF_BIT_STRING.aper_decoder;
+ td->aper_encoder = asn_DEF_BIT_STRING.aper_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
+HNBAP_S_RNTIPrefix_free(asn_TYPE_descriptor_t *td,
+ void *struct_ptr, int contents_only) {
+ HNBAP_S_RNTIPrefix_1_inherit_TYPE_descriptor(td);
+ td->free_struct(td, struct_ptr, contents_only);
+}
+
+int
+HNBAP_S_RNTIPrefix_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+ int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
+ HNBAP_S_RNTIPrefix_1_inherit_TYPE_descriptor(td);
+ return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
+}
+
+asn_dec_rval_t
+HNBAP_S_RNTIPrefix_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+ void **structure, const void *bufptr, size_t size, int tag_mode) {
+ HNBAP_S_RNTIPrefix_1_inherit_TYPE_descriptor(td);
+ return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
+}
+
+asn_enc_rval_t
+HNBAP_S_RNTIPrefix_encode_der(asn_TYPE_descriptor_t *td,
+ void *structure, int tag_mode, ber_tlv_tag_t tag,
+ asn_app_consume_bytes_f *cb, void *app_key) {
+ HNBAP_S_RNTIPrefix_1_inherit_TYPE_descriptor(td);
+ return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
+}
+
+asn_dec_rval_t
+HNBAP_S_RNTIPrefix_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+ void **structure, const char *opt_mname, const void *bufptr, size_t size) {
+ HNBAP_S_RNTIPrefix_1_inherit_TYPE_descriptor(td);
+ return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
+}
+
+asn_enc_rval_t
+HNBAP_S_RNTIPrefix_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+ int ilevel, enum xer_encoder_flags_e flags,
+ asn_app_consume_bytes_f *cb, void *app_key) {
+ HNBAP_S_RNTIPrefix_1_inherit_TYPE_descriptor(td);
+ return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
+}
+
+asn_dec_rval_t
+HNBAP_S_RNTIPrefix_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
+ HNBAP_S_RNTIPrefix_1_inherit_TYPE_descriptor(td);
+ return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
+}
+
+asn_enc_rval_t
+HNBAP_S_RNTIPrefix_encode_uper(asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints,
+ void *structure, asn_per_outp_t *per_out) {
+ HNBAP_S_RNTIPrefix_1_inherit_TYPE_descriptor(td);
+ return td->uper_encoder(td, constraints, structure, per_out);
+}
+
+asn_enc_rval_t
+HNBAP_S_RNTIPrefix_encode_aper(asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints,
+ void *structure, asn_per_outp_t *per_out) {
+ HNBAP_S_RNTIPrefix_1_inherit_TYPE_descriptor(td);
+ return td->aper_encoder(td, constraints, structure, per_out);
+}
+
+asn_dec_rval_t
+HNBAP_S_RNTIPrefix_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
+ HNBAP_S_RNTIPrefix_1_inherit_TYPE_descriptor(td);
+ return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
+}
+
+static asn_per_constraints_t asn_PER_type_HNBAP_S_RNTIPrefix_constr_1 GCC_NOTUSED = {
+ { APC_UNCONSTRAINED, -1, -1, 0, 0 },
+ { APC_CONSTRAINED | APC_EXTENSIBLE, 4, 4, 1l, 16l } /* (SIZE(1..16,...)) */,
+ 0, 0 /* No PER value map */
+};
+static const ber_tlv_tag_t asn_DEF_HNBAP_S_RNTIPrefix_tags_1[] = {
+ (ASN_TAG_CLASS_UNIVERSAL | (3 << 2))
+};
+asn_TYPE_descriptor_t asn_DEF_HNBAP_S_RNTIPrefix = {
+ "HNBAP_S-RNTIPrefix",
+ "HNBAP_S-RNTIPrefix",
+ HNBAP_S_RNTIPrefix_free,
+ HNBAP_S_RNTIPrefix_print,
+ HNBAP_S_RNTIPrefix_constraint,
+ HNBAP_S_RNTIPrefix_decode_ber,
+ HNBAP_S_RNTIPrefix_encode_der,
+ HNBAP_S_RNTIPrefix_decode_xer,
+ HNBAP_S_RNTIPrefix_encode_xer,
+ HNBAP_S_RNTIPrefix_decode_uper,
+ HNBAP_S_RNTIPrefix_encode_uper,
+ HNBAP_S_RNTIPrefix_decode_aper,
+ HNBAP_S_RNTIPrefix_encode_aper,
+ 0, /* Use generic outmost tag fetcher */
+ asn_DEF_HNBAP_S_RNTIPrefix_tags_1,
+ sizeof(asn_DEF_HNBAP_S_RNTIPrefix_tags_1)
+ /sizeof(asn_DEF_HNBAP_S_RNTIPrefix_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_S_RNTIPrefix_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_S_RNTIPrefix_tags_1)
+ /sizeof(asn_DEF_HNBAP_S_RNTIPrefix_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_S_RNTIPrefix_constr_1,
+ 0, 0, /* No members */
+ 0 /* No specifics */
+};
+
diff --git a/src/hnbap/CI.c b/src/hnbap/HNBAP_SAC.c
index 6730df9..ba4e4a9 100644
--- a/src/hnbap/CI.c
+++ b/src/hnbap/HNBAP_SAC.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/CI.h>
+#include <osmocom/hnbap/HNBAP_SAC.h>
int
-CI_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_SAC_constraint(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;
@@ -38,7 +38,7 @@ CI_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-CI_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_SAC_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->check_constraints = asn_DEF_OCTET_STRING.check_constraints;
@@ -58,109 +58,109 @@ CI_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-CI_free(asn_TYPE_descriptor_t *td,
+HNBAP_SAC_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- CI_1_inherit_TYPE_descriptor(td);
+ HNBAP_SAC_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-CI_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_SAC_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- CI_1_inherit_TYPE_descriptor(td);
+ HNBAP_SAC_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-CI_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_SAC_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- CI_1_inherit_TYPE_descriptor(td);
+ HNBAP_SAC_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-CI_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_SAC_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- CI_1_inherit_TYPE_descriptor(td);
+ HNBAP_SAC_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-CI_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_SAC_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- CI_1_inherit_TYPE_descriptor(td);
+ HNBAP_SAC_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-CI_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_SAC_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- CI_1_inherit_TYPE_descriptor(td);
+ HNBAP_SAC_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-CI_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_SAC_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- CI_1_inherit_TYPE_descriptor(td);
+ HNBAP_SAC_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-CI_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_SAC_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- CI_1_inherit_TYPE_descriptor(td);
+ HNBAP_SAC_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-CI_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_SAC_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- CI_1_inherit_TYPE_descriptor(td);
+ HNBAP_SAC_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-CI_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_SAC_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- CI_1_inherit_TYPE_descriptor(td);
+ HNBAP_SAC_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_CI_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_SAC_constr_1 GCC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 2l, 2l } /* (SIZE(2..2)) */,
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_CI_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_SAC_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_CI = {
- "CI",
- "CI",
- CI_free,
- CI_print,
- CI_constraint,
- CI_decode_ber,
- CI_encode_der,
- CI_decode_xer,
- CI_encode_xer,
- CI_decode_uper,
- CI_encode_uper,
- CI_decode_aper,
- CI_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_SAC = {
+ "HNBAP_SAC",
+ "HNBAP_SAC",
+ HNBAP_SAC_free,
+ HNBAP_SAC_print,
+ HNBAP_SAC_constraint,
+ HNBAP_SAC_decode_ber,
+ HNBAP_SAC_encode_der,
+ HNBAP_SAC_decode_xer,
+ HNBAP_SAC_encode_xer,
+ HNBAP_SAC_decode_uper,
+ HNBAP_SAC_encode_uper,
+ HNBAP_SAC_decode_aper,
+ HNBAP_SAC_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_CI_tags_1,
- sizeof(asn_DEF_CI_tags_1)
- /sizeof(asn_DEF_CI_tags_1[0]), /* 1 */
- asn_DEF_CI_tags_1, /* Same as above */
- sizeof(asn_DEF_CI_tags_1)
- /sizeof(asn_DEF_CI_tags_1[0]), /* 1 */
- &asn_PER_type_CI_constr_1,
+ asn_DEF_HNBAP_SAC_tags_1,
+ sizeof(asn_DEF_HNBAP_SAC_tags_1)
+ /sizeof(asn_DEF_HNBAP_SAC_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_SAC_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_SAC_tags_1)
+ /sizeof(asn_DEF_HNBAP_SAC_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_SAC_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/SuccessfulOutcome.c b/src/hnbap/HNBAP_SuccessfulOutcome.c
index 9c54531..ff6c35e 100644
--- a/src/hnbap/SuccessfulOutcome.c
+++ b/src/hnbap/HNBAP_SuccessfulOutcome.c
@@ -5,28 +5,28 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/SuccessfulOutcome.h>
+#include <osmocom/hnbap/HNBAP_SuccessfulOutcome.h>
-static asn_TYPE_member_t asn_MBR_SuccessfulOutcome_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome, procedureCode),
+static asn_TYPE_member_t asn_MBR_HNBAP_SuccessfulOutcome_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_SuccessfulOutcome, procedureCode),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_ProcedureCode,
+ &asn_DEF_HNBAP_ProcedureCode,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"procedureCode"
},
- { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome, criticality),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_SuccessfulOutcome, criticality),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_Criticality,
+ &asn_DEF_HNBAP_Criticality,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"criticality"
},
- { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome, value),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_SuccessfulOutcome, value),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
+1, /* EXPLICIT tag at current level */
&asn_DEF_ANY,
@@ -36,26 +36,26 @@ static asn_TYPE_member_t asn_MBR_SuccessfulOutcome_1[] = {
"value"
},
};
-static const ber_tlv_tag_t asn_DEF_SuccessfulOutcome_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_SuccessfulOutcome_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_SuccessfulOutcome_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_SuccessfulOutcome_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* procedureCode */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */
};
-static asn_SEQUENCE_specifics_t asn_SPC_SuccessfulOutcome_specs_1 = {
- sizeof(struct SuccessfulOutcome),
- offsetof(struct SuccessfulOutcome, _asn_ctx),
- asn_MAP_SuccessfulOutcome_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_SuccessfulOutcome_specs_1 = {
+ sizeof(struct HNBAP_SuccessfulOutcome),
+ offsetof(struct HNBAP_SuccessfulOutcome, _asn_ctx),
+ asn_MAP_HNBAP_SuccessfulOutcome_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_SuccessfulOutcome = {
- "SuccessfulOutcome",
- "SuccessfulOutcome",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_SuccessfulOutcome = {
+ "HNBAP_SuccessfulOutcome",
+ "HNBAP_SuccessfulOutcome",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -68,15 +68,15 @@ asn_TYPE_descriptor_t asn_DEF_SuccessfulOutcome = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_SuccessfulOutcome_tags_1,
- sizeof(asn_DEF_SuccessfulOutcome_tags_1)
- /sizeof(asn_DEF_SuccessfulOutcome_tags_1[0]), /* 1 */
- asn_DEF_SuccessfulOutcome_tags_1, /* Same as above */
- sizeof(asn_DEF_SuccessfulOutcome_tags_1)
- /sizeof(asn_DEF_SuccessfulOutcome_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_SuccessfulOutcome_tags_1,
+ sizeof(asn_DEF_HNBAP_SuccessfulOutcome_tags_1)
+ /sizeof(asn_DEF_HNBAP_SuccessfulOutcome_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_SuccessfulOutcome_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_SuccessfulOutcome_tags_1)
+ /sizeof(asn_DEF_HNBAP_SuccessfulOutcome_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_SuccessfulOutcome_1,
+ asn_MBR_HNBAP_SuccessfulOutcome_1,
3, /* Elements count */
- &asn_SPC_SuccessfulOutcome_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_SuccessfulOutcome_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/TMSIDS41.c b/src/hnbap/HNBAP_TMSIDS41.c
index 7aae342..f78bd85 100644
--- a/src/hnbap/TMSIDS41.c
+++ b/src/hnbap/HNBAP_TMSIDS41.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/TMSIDS41.h>
+#include <osmocom/hnbap/HNBAP_TMSIDS41.h>
int
-TMSIDS41_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_TMSIDS41_constraint(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;
@@ -38,7 +38,7 @@ TMSIDS41_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-TMSIDS41_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_TMSIDS41_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->check_constraints = asn_DEF_OCTET_STRING.check_constraints;
@@ -58,109 +58,109 @@ TMSIDS41_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-TMSIDS41_free(asn_TYPE_descriptor_t *td,
+HNBAP_TMSIDS41_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- TMSIDS41_1_inherit_TYPE_descriptor(td);
+ HNBAP_TMSIDS41_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-TMSIDS41_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_TMSIDS41_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- TMSIDS41_1_inherit_TYPE_descriptor(td);
+ HNBAP_TMSIDS41_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-TMSIDS41_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_TMSIDS41_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- TMSIDS41_1_inherit_TYPE_descriptor(td);
+ HNBAP_TMSIDS41_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-TMSIDS41_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_TMSIDS41_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- TMSIDS41_1_inherit_TYPE_descriptor(td);
+ HNBAP_TMSIDS41_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-TMSIDS41_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_TMSIDS41_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- TMSIDS41_1_inherit_TYPE_descriptor(td);
+ HNBAP_TMSIDS41_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-TMSIDS41_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_TMSIDS41_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- TMSIDS41_1_inherit_TYPE_descriptor(td);
+ HNBAP_TMSIDS41_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-TMSIDS41_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_TMSIDS41_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- TMSIDS41_1_inherit_TYPE_descriptor(td);
+ HNBAP_TMSIDS41_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-TMSIDS41_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_TMSIDS41_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- TMSIDS41_1_inherit_TYPE_descriptor(td);
+ HNBAP_TMSIDS41_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-TMSIDS41_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_TMSIDS41_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- TMSIDS41_1_inherit_TYPE_descriptor(td);
+ HNBAP_TMSIDS41_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-TMSIDS41_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_TMSIDS41_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- TMSIDS41_1_inherit_TYPE_descriptor(td);
+ HNBAP_TMSIDS41_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_TMSIDS41_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_TMSIDS41_constr_1 GCC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 4, 4, 2l, 17l } /* (SIZE(2..17)) */,
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_TMSIDS41_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_TMSIDS41_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_TMSIDS41 = {
- "TMSIDS41",
- "TMSIDS41",
- TMSIDS41_free,
- TMSIDS41_print,
- TMSIDS41_constraint,
- TMSIDS41_decode_ber,
- TMSIDS41_encode_der,
- TMSIDS41_decode_xer,
- TMSIDS41_encode_xer,
- TMSIDS41_decode_uper,
- TMSIDS41_encode_uper,
- TMSIDS41_decode_aper,
- TMSIDS41_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_TMSIDS41 = {
+ "HNBAP_TMSIDS41",
+ "HNBAP_TMSIDS41",
+ HNBAP_TMSIDS41_free,
+ HNBAP_TMSIDS41_print,
+ HNBAP_TMSIDS41_constraint,
+ HNBAP_TMSIDS41_decode_ber,
+ HNBAP_TMSIDS41_encode_der,
+ HNBAP_TMSIDS41_decode_xer,
+ HNBAP_TMSIDS41_encode_xer,
+ HNBAP_TMSIDS41_decode_uper,
+ HNBAP_TMSIDS41_encode_uper,
+ HNBAP_TMSIDS41_decode_aper,
+ HNBAP_TMSIDS41_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_TMSIDS41_tags_1,
- sizeof(asn_DEF_TMSIDS41_tags_1)
- /sizeof(asn_DEF_TMSIDS41_tags_1[0]), /* 1 */
- asn_DEF_TMSIDS41_tags_1, /* Same as above */
- sizeof(asn_DEF_TMSIDS41_tags_1)
- /sizeof(asn_DEF_TMSIDS41_tags_1[0]), /* 1 */
- &asn_PER_type_TMSIDS41_constr_1,
+ asn_DEF_HNBAP_TMSIDS41_tags_1,
+ sizeof(asn_DEF_HNBAP_TMSIDS41_tags_1)
+ /sizeof(asn_DEF_HNBAP_TMSIDS41_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_TMSIDS41_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_TMSIDS41_tags_1)
+ /sizeof(asn_DEF_HNBAP_TMSIDS41_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_TMSIDS41_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/TMSILAI.c b/src/hnbap/HNBAP_TMSILAI.c
index baf8597..cd52d58 100644
--- a/src/hnbap/TMSILAI.c
+++ b/src/hnbap/HNBAP_TMSILAI.c
@@ -5,7 +5,7 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/TMSILAI.h>
+#include <osmocom/hnbap/HNBAP_TMSILAI.h>
static int
memb_tMSI_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
@@ -43,8 +43,8 @@ static asn_per_constraints_t asn_PER_memb_tMSI_constr_2 GCC_NOTUSED = {
{ APC_CONSTRAINED, 0, 0, 32l, 32l } /* (SIZE(32..32)) */,
0, 0 /* No PER value map */
};
-static asn_TYPE_member_t asn_MBR_TMSILAI_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct TMSILAI, tMSI),
+static asn_TYPE_member_t asn_MBR_HNBAP_TMSILAI_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_TMSILAI, tMSI),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_BIT_STRING,
@@ -53,35 +53,35 @@ static asn_TYPE_member_t asn_MBR_TMSILAI_1[] = {
0,
"tMSI"
},
- { ATF_NOFLAGS, 0, offsetof(struct TMSILAI, lAI),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_TMSILAI, lAI),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_LAI,
+ &asn_DEF_HNBAP_LAI,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"lAI"
},
};
-static const ber_tlv_tag_t asn_DEF_TMSILAI_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_TMSILAI_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_TMSILAI_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_TMSILAI_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* tMSI */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* lAI */
};
-static asn_SEQUENCE_specifics_t asn_SPC_TMSILAI_specs_1 = {
- sizeof(struct TMSILAI),
- offsetof(struct TMSILAI, _asn_ctx),
- asn_MAP_TMSILAI_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_TMSILAI_specs_1 = {
+ sizeof(struct HNBAP_TMSILAI),
+ offsetof(struct HNBAP_TMSILAI, _asn_ctx),
+ asn_MAP_HNBAP_TMSILAI_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_TMSILAI = {
- "TMSILAI",
- "TMSILAI",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_TMSILAI = {
+ "HNBAP_TMSILAI",
+ "HNBAP_TMSILAI",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -94,15 +94,15 @@ asn_TYPE_descriptor_t asn_DEF_TMSILAI = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_TMSILAI_tags_1,
- sizeof(asn_DEF_TMSILAI_tags_1)
- /sizeof(asn_DEF_TMSILAI_tags_1[0]), /* 1 */
- asn_DEF_TMSILAI_tags_1, /* Same as above */
- sizeof(asn_DEF_TMSILAI_tags_1)
- /sizeof(asn_DEF_TMSILAI_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_TMSILAI_tags_1,
+ sizeof(asn_DEF_HNBAP_TMSILAI_tags_1)
+ /sizeof(asn_DEF_HNBAP_TMSILAI_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_TMSILAI_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_TMSILAI_tags_1)
+ /sizeof(asn_DEF_HNBAP_TMSILAI_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_TMSILAI_1,
+ asn_MBR_HNBAP_TMSILAI_1,
2, /* Elements count */
- &asn_SPC_TMSILAI_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_TMSILAI_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/TNLUpdateFailure.c b/src/hnbap/HNBAP_TNLUpdateFailure.c
index cee6cb6..b344711 100644
--- a/src/hnbap/TNLUpdateFailure.c
+++ b/src/hnbap/HNBAP_TNLUpdateFailure.c
@@ -5,7 +5,7 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/TNLUpdateFailure.h>
+#include <osmocom/hnbap/HNBAP_TNLUpdateFailure.h>
static int
memb_tnlUpdateFailure_ies_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
@@ -45,9 +45,9 @@ static asn_per_constraints_t asn_PER_memb_tnlUpdateFailure_ies_constr_2 GCC_NOTU
};
static asn_TYPE_member_t asn_MBR_tnlUpdateFailure_ies_2[] = {
{ ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
+ -1 /* Ambiguous tag (CHOICE?) */,
0,
- &asn_DEF_IE,
+ &asn_DEF_HNBAP_IE,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -91,8 +91,8 @@ asn_TYPE_descriptor_t asn_DEF_tnlUpdateFailure_ies_2 = {
&asn_SPC_tnlUpdateFailure_ies_specs_2 /* Additional specs */
};
-static asn_TYPE_member_t asn_MBR_TNLUpdateFailure_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct TNLUpdateFailure, tnlUpdateFailure_ies),
+static asn_TYPE_member_t asn_MBR_HNBAP_TNLUpdateFailure_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_TNLUpdateFailure, tnlUpdateFailure_ies),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
0,
&asn_DEF_tnlUpdateFailure_ies_2,
@@ -102,24 +102,24 @@ static asn_TYPE_member_t asn_MBR_TNLUpdateFailure_1[] = {
"tnlUpdateFailure-ies"
},
};
-static const ber_tlv_tag_t asn_DEF_TNLUpdateFailure_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_TNLUpdateFailure_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_TNLUpdateFailure_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_TNLUpdateFailure_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* tnlUpdateFailure-ies */
};
-static asn_SEQUENCE_specifics_t asn_SPC_TNLUpdateFailure_specs_1 = {
- sizeof(struct TNLUpdateFailure),
- offsetof(struct TNLUpdateFailure, _asn_ctx),
- asn_MAP_TNLUpdateFailure_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_TNLUpdateFailure_specs_1 = {
+ sizeof(struct HNBAP_TNLUpdateFailure),
+ offsetof(struct HNBAP_TNLUpdateFailure, _asn_ctx),
+ asn_MAP_HNBAP_TNLUpdateFailure_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_TNLUpdateFailure = {
- "TNLUpdateFailure",
- "TNLUpdateFailure",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_TNLUpdateFailure = {
+ "HNBAP_TNLUpdateFailure",
+ "HNBAP_TNLUpdateFailure",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -132,15 +132,15 @@ asn_TYPE_descriptor_t asn_DEF_TNLUpdateFailure = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_TNLUpdateFailure_tags_1,
- sizeof(asn_DEF_TNLUpdateFailure_tags_1)
- /sizeof(asn_DEF_TNLUpdateFailure_tags_1[0]), /* 1 */
- asn_DEF_TNLUpdateFailure_tags_1, /* Same as above */
- sizeof(asn_DEF_TNLUpdateFailure_tags_1)
- /sizeof(asn_DEF_TNLUpdateFailure_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_TNLUpdateFailure_tags_1,
+ sizeof(asn_DEF_HNBAP_TNLUpdateFailure_tags_1)
+ /sizeof(asn_DEF_HNBAP_TNLUpdateFailure_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_TNLUpdateFailure_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_TNLUpdateFailure_tags_1)
+ /sizeof(asn_DEF_HNBAP_TNLUpdateFailure_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_TNLUpdateFailure_1,
+ asn_MBR_HNBAP_TNLUpdateFailure_1,
1, /* Elements count */
- &asn_SPC_TNLUpdateFailure_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_TNLUpdateFailure_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/TNLUpdateRequest.c b/src/hnbap/HNBAP_TNLUpdateRequest.c
index 32d7fe9..7ba5125 100644
--- a/src/hnbap/TNLUpdateRequest.c
+++ b/src/hnbap/HNBAP_TNLUpdateRequest.c
@@ -5,7 +5,7 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/TNLUpdateRequest.h>
+#include <osmocom/hnbap/HNBAP_TNLUpdateRequest.h>
static int
memb_tnlUpdateRequest_ies_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
@@ -45,9 +45,9 @@ static asn_per_constraints_t asn_PER_memb_tnlUpdateRequest_ies_constr_2 GCC_NOTU
};
static asn_TYPE_member_t asn_MBR_tnlUpdateRequest_ies_2[] = {
{ ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
+ -1 /* Ambiguous tag (CHOICE?) */,
0,
- &asn_DEF_IE,
+ &asn_DEF_HNBAP_IE,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -91,8 +91,8 @@ asn_TYPE_descriptor_t asn_DEF_tnlUpdateRequest_ies_2 = {
&asn_SPC_tnlUpdateRequest_ies_specs_2 /* Additional specs */
};
-static asn_TYPE_member_t asn_MBR_TNLUpdateRequest_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct TNLUpdateRequest, tnlUpdateRequest_ies),
+static asn_TYPE_member_t asn_MBR_HNBAP_TNLUpdateRequest_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_TNLUpdateRequest, tnlUpdateRequest_ies),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
0,
&asn_DEF_tnlUpdateRequest_ies_2,
@@ -102,24 +102,24 @@ static asn_TYPE_member_t asn_MBR_TNLUpdateRequest_1[] = {
"tnlUpdateRequest-ies"
},
};
-static const ber_tlv_tag_t asn_DEF_TNLUpdateRequest_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_TNLUpdateRequest_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_TNLUpdateRequest_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_TNLUpdateRequest_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* tnlUpdateRequest-ies */
};
-static asn_SEQUENCE_specifics_t asn_SPC_TNLUpdateRequest_specs_1 = {
- sizeof(struct TNLUpdateRequest),
- offsetof(struct TNLUpdateRequest, _asn_ctx),
- asn_MAP_TNLUpdateRequest_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_TNLUpdateRequest_specs_1 = {
+ sizeof(struct HNBAP_TNLUpdateRequest),
+ offsetof(struct HNBAP_TNLUpdateRequest, _asn_ctx),
+ asn_MAP_HNBAP_TNLUpdateRequest_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_TNLUpdateRequest = {
- "TNLUpdateRequest",
- "TNLUpdateRequest",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_TNLUpdateRequest = {
+ "HNBAP_TNLUpdateRequest",
+ "HNBAP_TNLUpdateRequest",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -132,15 +132,15 @@ asn_TYPE_descriptor_t asn_DEF_TNLUpdateRequest = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_TNLUpdateRequest_tags_1,
- sizeof(asn_DEF_TNLUpdateRequest_tags_1)
- /sizeof(asn_DEF_TNLUpdateRequest_tags_1[0]), /* 1 */
- asn_DEF_TNLUpdateRequest_tags_1, /* Same as above */
- sizeof(asn_DEF_TNLUpdateRequest_tags_1)
- /sizeof(asn_DEF_TNLUpdateRequest_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_TNLUpdateRequest_tags_1,
+ sizeof(asn_DEF_HNBAP_TNLUpdateRequest_tags_1)
+ /sizeof(asn_DEF_HNBAP_TNLUpdateRequest_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_TNLUpdateRequest_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_TNLUpdateRequest_tags_1)
+ /sizeof(asn_DEF_HNBAP_TNLUpdateRequest_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_TNLUpdateRequest_1,
+ asn_MBR_HNBAP_TNLUpdateRequest_1,
1, /* Elements count */
- &asn_SPC_TNLUpdateRequest_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_TNLUpdateRequest_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/TNLUpdateResponse.c b/src/hnbap/HNBAP_TNLUpdateResponse.c
index 5f7f5c4..41c26a8 100644
--- a/src/hnbap/TNLUpdateResponse.c
+++ b/src/hnbap/HNBAP_TNLUpdateResponse.c
@@ -5,7 +5,7 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/TNLUpdateResponse.h>
+#include <osmocom/hnbap/HNBAP_TNLUpdateResponse.h>
static int
memb_tnlUpdateResponse_ies_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
@@ -45,9 +45,9 @@ static asn_per_constraints_t asn_PER_memb_tnlUpdateResponse_ies_constr_2 GCC_NOT
};
static asn_TYPE_member_t asn_MBR_tnlUpdateResponse_ies_2[] = {
{ ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
+ -1 /* Ambiguous tag (CHOICE?) */,
0,
- &asn_DEF_IE,
+ &asn_DEF_HNBAP_IE,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -91,8 +91,8 @@ asn_TYPE_descriptor_t asn_DEF_tnlUpdateResponse_ies_2 = {
&asn_SPC_tnlUpdateResponse_ies_specs_2 /* Additional specs */
};
-static asn_TYPE_member_t asn_MBR_TNLUpdateResponse_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct TNLUpdateResponse, tnlUpdateResponse_ies),
+static asn_TYPE_member_t asn_MBR_HNBAP_TNLUpdateResponse_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_TNLUpdateResponse, tnlUpdateResponse_ies),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
0,
&asn_DEF_tnlUpdateResponse_ies_2,
@@ -102,24 +102,24 @@ static asn_TYPE_member_t asn_MBR_TNLUpdateResponse_1[] = {
"tnlUpdateResponse-ies"
},
};
-static const ber_tlv_tag_t asn_DEF_TNLUpdateResponse_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_TNLUpdateResponse_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_TNLUpdateResponse_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_TNLUpdateResponse_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* tnlUpdateResponse-ies */
};
-static asn_SEQUENCE_specifics_t asn_SPC_TNLUpdateResponse_specs_1 = {
- sizeof(struct TNLUpdateResponse),
- offsetof(struct TNLUpdateResponse, _asn_ctx),
- asn_MAP_TNLUpdateResponse_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_TNLUpdateResponse_specs_1 = {
+ sizeof(struct HNBAP_TNLUpdateResponse),
+ offsetof(struct HNBAP_TNLUpdateResponse, _asn_ctx),
+ asn_MAP_HNBAP_TNLUpdateResponse_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_TNLUpdateResponse = {
- "TNLUpdateResponse",
- "TNLUpdateResponse",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_TNLUpdateResponse = {
+ "HNBAP_TNLUpdateResponse",
+ "HNBAP_TNLUpdateResponse",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -132,15 +132,15 @@ asn_TYPE_descriptor_t asn_DEF_TNLUpdateResponse = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_TNLUpdateResponse_tags_1,
- sizeof(asn_DEF_TNLUpdateResponse_tags_1)
- /sizeof(asn_DEF_TNLUpdateResponse_tags_1[0]), /* 1 */
- asn_DEF_TNLUpdateResponse_tags_1, /* Same as above */
- sizeof(asn_DEF_TNLUpdateResponse_tags_1)
- /sizeof(asn_DEF_TNLUpdateResponse_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_TNLUpdateResponse_tags_1,
+ sizeof(asn_DEF_HNBAP_TNLUpdateResponse_tags_1)
+ /sizeof(asn_DEF_HNBAP_TNLUpdateResponse_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_TNLUpdateResponse_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_TNLUpdateResponse_tags_1)
+ /sizeof(asn_DEF_HNBAP_TNLUpdateResponse_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_TNLUpdateResponse_1,
+ asn_MBR_HNBAP_TNLUpdateResponse_1,
1, /* Elements count */
- &asn_SPC_TNLUpdateResponse_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_TNLUpdateResponse_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/TransportInfo.c b/src/hnbap/HNBAP_TransportInfo.c
index 2636601..aeaf033 100644
--- a/src/hnbap/TransportInfo.c
+++ b/src/hnbap/HNBAP_TransportInfo.c
@@ -5,7 +5,7 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/TransportInfo.h>
+#include <osmocom/hnbap/HNBAP_TransportInfo.h>
static asn_per_constraints_t asn_PER_type_transportAssociation_constr_3 GCC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0l, 1l } /* (0..1,...) */,
@@ -16,7 +16,7 @@ static asn_TYPE_member_t asn_MBR_transportAssociation_3[] = {
{ ATF_NOFLAGS, 0, offsetof(struct transportAssociation, choice.gtp_TEI),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_GTP_TEI,
+ &asn_DEF_HNBAP_GTP_TEI,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -25,7 +25,7 @@ static asn_TYPE_member_t asn_MBR_transportAssociation_3[] = {
{ ATF_NOFLAGS, 0, offsetof(struct transportAssociation, choice.bindingID),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_BindingID,
+ &asn_DEF_HNBAP_BindingID,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -72,17 +72,17 @@ asn_TYPE_descriptor_t asn_DEF_transportAssociation_3 = {
&asn_SPC_transportAssociation_specs_3 /* Additional specs */
};
-static asn_TYPE_member_t asn_MBR_TransportInfo_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct TransportInfo, transportLayerAddress),
+static asn_TYPE_member_t asn_MBR_HNBAP_TransportInfo_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_TransportInfo, transportLayerAddress),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_TransportLayerAddress,
+ &asn_DEF_HNBAP_TransportLayerAddress,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"transportLayerAddress"
},
- { ATF_NOFLAGS, 0, offsetof(struct TransportInfo, transportAssociation),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_TransportInfo, transportAssociation),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
+1, /* EXPLICIT tag at current level */
&asn_DEF_transportAssociation_3,
@@ -91,38 +91,38 @@ static asn_TYPE_member_t asn_MBR_TransportInfo_1[] = {
0,
"transportAssociation"
},
- { ATF_POINTER, 1, offsetof(struct TransportInfo, iE_Extensions),
+ { ATF_POINTER, 1, offsetof(struct HNBAP_TransportInfo, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_IE_Extensions,
+ &asn_DEF_HNBAP_IE_Extensions,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"iE-Extensions"
},
};
-static const int asn_MAP_TransportInfo_oms_1[] = { 2 };
-static const ber_tlv_tag_t asn_DEF_TransportInfo_tags_1[] = {
+static const int asn_MAP_HNBAP_TransportInfo_oms_1[] = { 2 };
+static const ber_tlv_tag_t asn_DEF_HNBAP_TransportInfo_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_TransportInfo_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_TransportInfo_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* transportLayerAddress */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* transportAssociation */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
};
-static asn_SEQUENCE_specifics_t asn_SPC_TransportInfo_specs_1 = {
- sizeof(struct TransportInfo),
- offsetof(struct TransportInfo, _asn_ctx),
- asn_MAP_TransportInfo_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_TransportInfo_specs_1 = {
+ sizeof(struct HNBAP_TransportInfo),
+ offsetof(struct HNBAP_TransportInfo, _asn_ctx),
+ asn_MAP_HNBAP_TransportInfo_tag2el_1,
3, /* Count of tags in the map */
- asn_MAP_TransportInfo_oms_1, /* Optional members */
+ asn_MAP_HNBAP_TransportInfo_oms_1, /* Optional members */
1, 0, /* Root/Additions */
2, /* Start extensions */
4 /* Stop extensions */
};
-asn_TYPE_descriptor_t asn_DEF_TransportInfo = {
- "TransportInfo",
- "TransportInfo",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_TransportInfo = {
+ "HNBAP_TransportInfo",
+ "HNBAP_TransportInfo",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -135,15 +135,15 @@ asn_TYPE_descriptor_t asn_DEF_TransportInfo = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_TransportInfo_tags_1,
- sizeof(asn_DEF_TransportInfo_tags_1)
- /sizeof(asn_DEF_TransportInfo_tags_1[0]), /* 1 */
- asn_DEF_TransportInfo_tags_1, /* Same as above */
- sizeof(asn_DEF_TransportInfo_tags_1)
- /sizeof(asn_DEF_TransportInfo_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_TransportInfo_tags_1,
+ sizeof(asn_DEF_HNBAP_TransportInfo_tags_1)
+ /sizeof(asn_DEF_HNBAP_TransportInfo_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_TransportInfo_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_TransportInfo_tags_1)
+ /sizeof(asn_DEF_HNBAP_TransportInfo_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_TransportInfo_1,
+ asn_MBR_HNBAP_TransportInfo_1,
3, /* Elements count */
- &asn_SPC_TransportInfo_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_TransportInfo_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/TransportLayerAddress.c b/src/hnbap/HNBAP_TransportLayerAddress.c
index 9a4e5b6..27c7e92 100644
--- a/src/hnbap/TransportLayerAddress.c
+++ b/src/hnbap/HNBAP_TransportLayerAddress.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/TransportLayerAddress.h>
+#include <osmocom/hnbap/HNBAP_TransportLayerAddress.h>
int
-TransportLayerAddress_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_TransportLayerAddress_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;
@@ -43,7 +43,7 @@ TransportLayerAddress_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-TransportLayerAddress_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_TransportLayerAddress_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;
@@ -63,109 +63,109 @@ TransportLayerAddress_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-TransportLayerAddress_free(asn_TYPE_descriptor_t *td,
+HNBAP_TransportLayerAddress_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- TransportLayerAddress_1_inherit_TYPE_descriptor(td);
+ HNBAP_TransportLayerAddress_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-TransportLayerAddress_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_TransportLayerAddress_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- TransportLayerAddress_1_inherit_TYPE_descriptor(td);
+ HNBAP_TransportLayerAddress_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-TransportLayerAddress_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_TransportLayerAddress_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- TransportLayerAddress_1_inherit_TYPE_descriptor(td);
+ HNBAP_TransportLayerAddress_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-TransportLayerAddress_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_TransportLayerAddress_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- TransportLayerAddress_1_inherit_TYPE_descriptor(td);
+ HNBAP_TransportLayerAddress_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-TransportLayerAddress_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_TransportLayerAddress_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- TransportLayerAddress_1_inherit_TYPE_descriptor(td);
+ HNBAP_TransportLayerAddress_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-TransportLayerAddress_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_TransportLayerAddress_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- TransportLayerAddress_1_inherit_TYPE_descriptor(td);
+ HNBAP_TransportLayerAddress_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-TransportLayerAddress_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_TransportLayerAddress_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- TransportLayerAddress_1_inherit_TYPE_descriptor(td);
+ HNBAP_TransportLayerAddress_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-TransportLayerAddress_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_TransportLayerAddress_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- TransportLayerAddress_1_inherit_TYPE_descriptor(td);
+ HNBAP_TransportLayerAddress_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-TransportLayerAddress_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_TransportLayerAddress_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- TransportLayerAddress_1_inherit_TYPE_descriptor(td);
+ HNBAP_TransportLayerAddress_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-TransportLayerAddress_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_TransportLayerAddress_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- TransportLayerAddress_1_inherit_TYPE_descriptor(td);
+ HNBAP_TransportLayerAddress_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_TransportLayerAddress_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_TransportLayerAddress_constr_1 GCC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED | APC_EXTENSIBLE, 8, 8, 1l, 160l } /* (SIZE(1..160,...)) */,
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_TransportLayerAddress_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_TransportLayerAddress_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (3 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_TransportLayerAddress = {
- "TransportLayerAddress",
- "TransportLayerAddress",
- TransportLayerAddress_free,
- TransportLayerAddress_print,
- TransportLayerAddress_constraint,
- TransportLayerAddress_decode_ber,
- TransportLayerAddress_encode_der,
- TransportLayerAddress_decode_xer,
- TransportLayerAddress_encode_xer,
- TransportLayerAddress_decode_uper,
- TransportLayerAddress_encode_uper,
- TransportLayerAddress_decode_aper,
- TransportLayerAddress_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_TransportLayerAddress = {
+ "HNBAP_TransportLayerAddress",
+ "HNBAP_TransportLayerAddress",
+ HNBAP_TransportLayerAddress_free,
+ HNBAP_TransportLayerAddress_print,
+ HNBAP_TransportLayerAddress_constraint,
+ HNBAP_TransportLayerAddress_decode_ber,
+ HNBAP_TransportLayerAddress_encode_der,
+ HNBAP_TransportLayerAddress_decode_xer,
+ HNBAP_TransportLayerAddress_encode_xer,
+ HNBAP_TransportLayerAddress_decode_uper,
+ HNBAP_TransportLayerAddress_encode_uper,
+ HNBAP_TransportLayerAddress_decode_aper,
+ HNBAP_TransportLayerAddress_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_TransportLayerAddress_tags_1,
- sizeof(asn_DEF_TransportLayerAddress_tags_1)
- /sizeof(asn_DEF_TransportLayerAddress_tags_1[0]), /* 1 */
- asn_DEF_TransportLayerAddress_tags_1, /* Same as above */
- sizeof(asn_DEF_TransportLayerAddress_tags_1)
- /sizeof(asn_DEF_TransportLayerAddress_tags_1[0]), /* 1 */
- &asn_PER_type_TransportLayerAddress_constr_1,
+ asn_DEF_HNBAP_TransportLayerAddress_tags_1,
+ sizeof(asn_DEF_HNBAP_TransportLayerAddress_tags_1)
+ /sizeof(asn_DEF_HNBAP_TransportLayerAddress_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_TransportLayerAddress_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_TransportLayerAddress_tags_1)
+ /sizeof(asn_DEF_HNBAP_TransportLayerAddress_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_TransportLayerAddress_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/Criticality.c b/src/hnbap/HNBAP_TriggeringMessage.c
index 21f2688..590b5d5 100644
--- a/src/hnbap/Criticality.c
+++ b/src/hnbap/HNBAP_TriggeringMessage.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/Criticality.h>
+#include <osmocom/hnbap/HNBAP_TriggeringMessage.h>
int
-Criticality_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_TriggeringMessage_constraint(asn_TYPE_descriptor_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;
@@ -20,7 +20,7 @@ Criticality_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-Criticality_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_TriggeringMessage_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->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
@@ -40,129 +40,129 @@ Criticality_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-Criticality_free(asn_TYPE_descriptor_t *td,
+HNBAP_TriggeringMessage_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- Criticality_1_inherit_TYPE_descriptor(td);
+ HNBAP_TriggeringMessage_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-Criticality_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_TriggeringMessage_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- Criticality_1_inherit_TYPE_descriptor(td);
+ HNBAP_TriggeringMessage_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-Criticality_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_TriggeringMessage_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- Criticality_1_inherit_TYPE_descriptor(td);
+ HNBAP_TriggeringMessage_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-Criticality_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_TriggeringMessage_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- Criticality_1_inherit_TYPE_descriptor(td);
+ HNBAP_TriggeringMessage_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-Criticality_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_TriggeringMessage_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- Criticality_1_inherit_TYPE_descriptor(td);
+ HNBAP_TriggeringMessage_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-Criticality_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_TriggeringMessage_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- Criticality_1_inherit_TYPE_descriptor(td);
+ HNBAP_TriggeringMessage_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-Criticality_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_TriggeringMessage_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- Criticality_1_inherit_TYPE_descriptor(td);
+ HNBAP_TriggeringMessage_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-Criticality_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_TriggeringMessage_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- Criticality_1_inherit_TYPE_descriptor(td);
+ HNBAP_TriggeringMessage_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-Criticality_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_TriggeringMessage_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- Criticality_1_inherit_TYPE_descriptor(td);
+ HNBAP_TriggeringMessage_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-Criticality_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_TriggeringMessage_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- Criticality_1_inherit_TYPE_descriptor(td);
+ HNBAP_TriggeringMessage_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_Criticality_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_TriggeringMessage_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED, 2, 2, 0l, 2l } /* (0..2) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static const asn_INTEGER_enum_map_t asn_MAP_Criticality_value2enum_1[] = {
- { 0, 6, "reject" },
- { 1, 6, "ignore" },
- { 2, 6, "notify" }
+static const asn_INTEGER_enum_map_t asn_MAP_HNBAP_TriggeringMessage_value2enum_1[] = {
+ { 0, 18, "initiating-message" },
+ { 1, 18, "successful-outcome" },
+ { 2, 20, "unsuccessful-outcome" }
};
-static const unsigned int asn_MAP_Criticality_enum2value_1[] = {
- 1, /* ignore(1) */
- 2, /* notify(2) */
- 0 /* reject(0) */
+static const unsigned int asn_MAP_HNBAP_TriggeringMessage_enum2value_1[] = {
+ 0, /* initiating-message(0) */
+ 1, /* successful-outcome(1) */
+ 2 /* unsuccessful-outcome(2) */
};
-static const asn_INTEGER_specifics_t asn_SPC_Criticality_specs_1 = {
- asn_MAP_Criticality_value2enum_1, /* "tag" => N; sorted by tag */
- asn_MAP_Criticality_enum2value_1, /* N => "tag"; sorted by N */
+static const asn_INTEGER_specifics_t asn_SPC_HNBAP_TriggeringMessage_specs_1 = {
+ asn_MAP_HNBAP_TriggeringMessage_value2enum_1, /* "tag" => N; sorted by tag */
+ asn_MAP_HNBAP_TriggeringMessage_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 const ber_tlv_tag_t asn_DEF_Criticality_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_TriggeringMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_Criticality = {
- "Criticality",
- "Criticality",
- Criticality_free,
- Criticality_print,
- Criticality_constraint,
- Criticality_decode_ber,
- Criticality_encode_der,
- Criticality_decode_xer,
- Criticality_encode_xer,
- Criticality_decode_uper,
- Criticality_encode_uper,
- Criticality_decode_aper,
- Criticality_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_TriggeringMessage = {
+ "HNBAP_TriggeringMessage",
+ "HNBAP_TriggeringMessage",
+ HNBAP_TriggeringMessage_free,
+ HNBAP_TriggeringMessage_print,
+ HNBAP_TriggeringMessage_constraint,
+ HNBAP_TriggeringMessage_decode_ber,
+ HNBAP_TriggeringMessage_encode_der,
+ HNBAP_TriggeringMessage_decode_xer,
+ HNBAP_TriggeringMessage_encode_xer,
+ HNBAP_TriggeringMessage_decode_uper,
+ HNBAP_TriggeringMessage_encode_uper,
+ HNBAP_TriggeringMessage_decode_aper,
+ HNBAP_TriggeringMessage_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_Criticality_tags_1,
- sizeof(asn_DEF_Criticality_tags_1)
- /sizeof(asn_DEF_Criticality_tags_1[0]), /* 1 */
- asn_DEF_Criticality_tags_1, /* Same as above */
- sizeof(asn_DEF_Criticality_tags_1)
- /sizeof(asn_DEF_Criticality_tags_1[0]), /* 1 */
- &asn_PER_type_Criticality_constr_1,
+ asn_DEF_HNBAP_TriggeringMessage_tags_1,
+ sizeof(asn_DEF_HNBAP_TriggeringMessage_tags_1)
+ /sizeof(asn_DEF_HNBAP_TriggeringMessage_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_TriggeringMessage_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_TriggeringMessage_tags_1)
+ /sizeof(asn_DEF_HNBAP_TriggeringMessage_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_TriggeringMessage_constr_1,
0, 0, /* Defined elsewhere */
- &asn_SPC_Criticality_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_TriggeringMessage_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/Tunnel-Information.c b/src/hnbap/HNBAP_Tunnel-Information.c
index 9d8aa56..6c0d0ac 100644
--- a/src/hnbap/Tunnel-Information.c
+++ b/src/hnbap/HNBAP_Tunnel-Information.c
@@ -5,59 +5,59 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/Tunnel-Information.h>
+#include <osmocom/hnbap/HNBAP_Tunnel-Information.h>
-static asn_TYPE_member_t asn_MBR_Tunnel_Information_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct Tunnel_Information, iP_Address),
+static asn_TYPE_member_t asn_MBR_HNBAP_Tunnel_Information_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_Tunnel_Information, iP_Address),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_IP_Address,
+ &asn_DEF_HNBAP_IP_Address,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"iP-Address"
},
- { ATF_POINTER, 2, offsetof(struct Tunnel_Information, uDP_Port_Number),
+ { ATF_POINTER, 2, offsetof(struct HNBAP_Tunnel_Information, uDP_Port_Number),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_UDP_Port_Number,
+ &asn_DEF_HNBAP_UDP_Port_Number,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"uDP-Port-Number"
},
- { ATF_POINTER, 1, offsetof(struct Tunnel_Information, iE_Extensions),
+ { ATF_POINTER, 1, offsetof(struct HNBAP_Tunnel_Information, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_IE_Extensions,
+ &asn_DEF_HNBAP_IE_Extensions,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"iE-Extensions"
},
};
-static const int asn_MAP_Tunnel_Information_oms_1[] = { 1, 2 };
-static const ber_tlv_tag_t asn_DEF_Tunnel_Information_tags_1[] = {
+static const int asn_MAP_HNBAP_Tunnel_Information_oms_1[] = { 1, 2 };
+static const ber_tlv_tag_t asn_DEF_HNBAP_Tunnel_Information_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_Tunnel_Information_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_Tunnel_Information_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* iP-Address */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* uDP-Port-Number */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
};
-static asn_SEQUENCE_specifics_t asn_SPC_Tunnel_Information_specs_1 = {
- sizeof(struct Tunnel_Information),
- offsetof(struct Tunnel_Information, _asn_ctx),
- asn_MAP_Tunnel_Information_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_Tunnel_Information_specs_1 = {
+ sizeof(struct HNBAP_Tunnel_Information),
+ offsetof(struct HNBAP_Tunnel_Information, _asn_ctx),
+ asn_MAP_HNBAP_Tunnel_Information_tag2el_1,
3, /* Count of tags in the map */
- asn_MAP_Tunnel_Information_oms_1, /* Optional members */
+ asn_MAP_HNBAP_Tunnel_Information_oms_1, /* Optional members */
2, 0, /* Root/Additions */
2, /* Start extensions */
4 /* Stop extensions */
};
-asn_TYPE_descriptor_t asn_DEF_Tunnel_Information = {
- "Tunnel-Information",
- "Tunnel-Information",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_Tunnel_Information = {
+ "HNBAP_Tunnel-Information",
+ "HNBAP_Tunnel-Information",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -70,15 +70,15 @@ asn_TYPE_descriptor_t asn_DEF_Tunnel_Information = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_Tunnel_Information_tags_1,
- sizeof(asn_DEF_Tunnel_Information_tags_1)
- /sizeof(asn_DEF_Tunnel_Information_tags_1[0]), /* 1 */
- asn_DEF_Tunnel_Information_tags_1, /* Same as above */
- sizeof(asn_DEF_Tunnel_Information_tags_1)
- /sizeof(asn_DEF_Tunnel_Information_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_Tunnel_Information_tags_1,
+ sizeof(asn_DEF_HNBAP_Tunnel_Information_tags_1)
+ /sizeof(asn_DEF_HNBAP_Tunnel_Information_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_Tunnel_Information_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_Tunnel_Information_tags_1)
+ /sizeof(asn_DEF_HNBAP_Tunnel_Information_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_Tunnel_Information_1,
+ asn_MBR_HNBAP_Tunnel_Information_1,
3, /* Elements count */
- &asn_SPC_Tunnel_Information_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_Tunnel_Information_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/TypeOfError.c b/src/hnbap/HNBAP_TypeOfError.c
index 339affa..3adc3c9 100644
--- a/src/hnbap/TypeOfError.c
+++ b/src/hnbap/HNBAP_TypeOfError.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/TypeOfError.h>
+#include <osmocom/hnbap/HNBAP_TypeOfError.h>
int
-TypeOfError_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_TypeOfError_constraint(asn_TYPE_descriptor_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;
@@ -20,7 +20,7 @@ TypeOfError_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-TypeOfError_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_TypeOfError_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->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
@@ -40,129 +40,129 @@ TypeOfError_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-TypeOfError_free(asn_TYPE_descriptor_t *td,
+HNBAP_TypeOfError_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- TypeOfError_1_inherit_TYPE_descriptor(td);
+ HNBAP_TypeOfError_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-TypeOfError_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_TypeOfError_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- TypeOfError_1_inherit_TYPE_descriptor(td);
+ HNBAP_TypeOfError_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-TypeOfError_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_TypeOfError_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- TypeOfError_1_inherit_TYPE_descriptor(td);
+ HNBAP_TypeOfError_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-TypeOfError_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_TypeOfError_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- TypeOfError_1_inherit_TYPE_descriptor(td);
+ HNBAP_TypeOfError_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-TypeOfError_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_TypeOfError_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- TypeOfError_1_inherit_TYPE_descriptor(td);
+ HNBAP_TypeOfError_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-TypeOfError_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_TypeOfError_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- TypeOfError_1_inherit_TYPE_descriptor(td);
+ HNBAP_TypeOfError_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-TypeOfError_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_TypeOfError_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- TypeOfError_1_inherit_TYPE_descriptor(td);
+ HNBAP_TypeOfError_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-TypeOfError_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_TypeOfError_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- TypeOfError_1_inherit_TYPE_descriptor(td);
+ HNBAP_TypeOfError_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-TypeOfError_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_TypeOfError_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- TypeOfError_1_inherit_TYPE_descriptor(td);
+ HNBAP_TypeOfError_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-TypeOfError_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_TypeOfError_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- TypeOfError_1_inherit_TYPE_descriptor(td);
+ HNBAP_TypeOfError_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_TypeOfError_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_TypeOfError_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0l, 1l } /* (0..1,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static const asn_INTEGER_enum_map_t asn_MAP_TypeOfError_value2enum_1[] = {
+static const asn_INTEGER_enum_map_t asn_MAP_HNBAP_TypeOfError_value2enum_1[] = {
{ 0, 14, "not-understood" },
{ 1, 7, "missing" }
/* This list is extensible */
};
-static const unsigned int asn_MAP_TypeOfError_enum2value_1[] = {
+static const unsigned int asn_MAP_HNBAP_TypeOfError_enum2value_1[] = {
1, /* missing(1) */
0 /* not-understood(0) */
/* This list is extensible */
};
-static const asn_INTEGER_specifics_t asn_SPC_TypeOfError_specs_1 = {
- asn_MAP_TypeOfError_value2enum_1, /* "tag" => N; sorted by tag */
- asn_MAP_TypeOfError_enum2value_1, /* N => "tag"; sorted by N */
+static const asn_INTEGER_specifics_t asn_SPC_HNBAP_TypeOfError_specs_1 = {
+ asn_MAP_HNBAP_TypeOfError_value2enum_1, /* "tag" => N; sorted by tag */
+ asn_MAP_HNBAP_TypeOfError_enum2value_1, /* N => "tag"; sorted by N */
2, /* Number of elements in the maps */
3, /* Extensions before this member */
1, /* Strict enumeration */
0, /* Native long size */
0
};
-static const ber_tlv_tag_t asn_DEF_TypeOfError_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_TypeOfError_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_TypeOfError = {
- "TypeOfError",
- "TypeOfError",
- TypeOfError_free,
- TypeOfError_print,
- TypeOfError_constraint,
- TypeOfError_decode_ber,
- TypeOfError_encode_der,
- TypeOfError_decode_xer,
- TypeOfError_encode_xer,
- TypeOfError_decode_uper,
- TypeOfError_encode_uper,
- TypeOfError_decode_aper,
- TypeOfError_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_TypeOfError = {
+ "HNBAP_TypeOfError",
+ "HNBAP_TypeOfError",
+ HNBAP_TypeOfError_free,
+ HNBAP_TypeOfError_print,
+ HNBAP_TypeOfError_constraint,
+ HNBAP_TypeOfError_decode_ber,
+ HNBAP_TypeOfError_encode_der,
+ HNBAP_TypeOfError_decode_xer,
+ HNBAP_TypeOfError_encode_xer,
+ HNBAP_TypeOfError_decode_uper,
+ HNBAP_TypeOfError_encode_uper,
+ HNBAP_TypeOfError_decode_aper,
+ HNBAP_TypeOfError_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_TypeOfError_tags_1,
- sizeof(asn_DEF_TypeOfError_tags_1)
- /sizeof(asn_DEF_TypeOfError_tags_1[0]), /* 1 */
- asn_DEF_TypeOfError_tags_1, /* Same as above */
- sizeof(asn_DEF_TypeOfError_tags_1)
- /sizeof(asn_DEF_TypeOfError_tags_1[0]), /* 1 */
- &asn_PER_type_TypeOfError_constr_1,
+ asn_DEF_HNBAP_TypeOfError_tags_1,
+ sizeof(asn_DEF_HNBAP_TypeOfError_tags_1)
+ /sizeof(asn_DEF_HNBAP_TypeOfError_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_TypeOfError_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_TypeOfError_tags_1)
+ /sizeof(asn_DEF_HNBAP_TypeOfError_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_TypeOfError_constr_1,
0, 0, /* Defined elsewhere */
- &asn_SPC_TypeOfError_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_TypeOfError_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/ESN.c b/src/hnbap/HNBAP_U-RNTI.c
index c7c5ac1..1b02864 100644
--- a/src/hnbap/ESN.c
+++ b/src/hnbap/HNBAP_U-RNTI.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/ESN.h>
+#include <osmocom/hnbap/HNBAP_U-RNTI.h>
int
-ESN_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_U_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;
@@ -43,7 +43,7 @@ ESN_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-ESN_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_U_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->check_constraints = asn_DEF_BIT_STRING.check_constraints;
@@ -63,109 +63,109 @@ ESN_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-ESN_free(asn_TYPE_descriptor_t *td,
+HNBAP_U_RNTI_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- ESN_1_inherit_TYPE_descriptor(td);
+ HNBAP_U_RNTI_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-ESN_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_U_RNTI_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- ESN_1_inherit_TYPE_descriptor(td);
+ HNBAP_U_RNTI_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-ESN_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_U_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) {
- ESN_1_inherit_TYPE_descriptor(td);
+ HNBAP_U_RNTI_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-ESN_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_U_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) {
- ESN_1_inherit_TYPE_descriptor(td);
+ HNBAP_U_RNTI_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-ESN_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_U_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) {
- ESN_1_inherit_TYPE_descriptor(td);
+ HNBAP_U_RNTI_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-ESN_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_U_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) {
- ESN_1_inherit_TYPE_descriptor(td);
+ HNBAP_U_RNTI_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-ESN_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_U_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) {
- ESN_1_inherit_TYPE_descriptor(td);
+ HNBAP_U_RNTI_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-ESN_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_U_RNTI_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- ESN_1_inherit_TYPE_descriptor(td);
+ HNBAP_U_RNTI_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-ESN_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_U_RNTI_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- ESN_1_inherit_TYPE_descriptor(td);
+ HNBAP_U_RNTI_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-ESN_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_U_RNTI_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- ESN_1_inherit_TYPE_descriptor(td);
+ HNBAP_U_RNTI_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_ESN_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_U_RNTI_constr_1 GCC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 32l, 32l } /* (SIZE(32..32)) */,
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_ESN_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_U_RNTI_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (3 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_ESN = {
- "ESN",
- "ESN",
- ESN_free,
- ESN_print,
- ESN_constraint,
- ESN_decode_ber,
- ESN_encode_der,
- ESN_decode_xer,
- ESN_encode_xer,
- ESN_decode_uper,
- ESN_encode_uper,
- ESN_decode_aper,
- ESN_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_U_RNTI = {
+ "HNBAP_U-RNTI",
+ "HNBAP_U-RNTI",
+ HNBAP_U_RNTI_free,
+ HNBAP_U_RNTI_print,
+ HNBAP_U_RNTI_constraint,
+ HNBAP_U_RNTI_decode_ber,
+ HNBAP_U_RNTI_encode_der,
+ HNBAP_U_RNTI_decode_xer,
+ HNBAP_U_RNTI_encode_xer,
+ HNBAP_U_RNTI_decode_uper,
+ HNBAP_U_RNTI_encode_uper,
+ HNBAP_U_RNTI_decode_aper,
+ HNBAP_U_RNTI_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_ESN_tags_1,
- sizeof(asn_DEF_ESN_tags_1)
- /sizeof(asn_DEF_ESN_tags_1[0]), /* 1 */
- asn_DEF_ESN_tags_1, /* Same as above */
- sizeof(asn_DEF_ESN_tags_1)
- /sizeof(asn_DEF_ESN_tags_1[0]), /* 1 */
- &asn_PER_type_ESN_constr_1,
+ asn_DEF_HNBAP_U_RNTI_tags_1,
+ sizeof(asn_DEF_HNBAP_U_RNTI_tags_1)
+ /sizeof(asn_DEF_HNBAP_U_RNTI_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_U_RNTI_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_U_RNTI_tags_1)
+ /sizeof(asn_DEF_HNBAP_U_RNTI_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_U_RNTI_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/U-RNTIQueryRequest.c b/src/hnbap/HNBAP_U-RNTIQueryRequest.c
index 198279f..8e2950c 100644
--- a/src/hnbap/U-RNTIQueryRequest.c
+++ b/src/hnbap/HNBAP_U-RNTIQueryRequest.c
@@ -5,7 +5,7 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/U-RNTIQueryRequest.h>
+#include <osmocom/hnbap/HNBAP_U-RNTIQueryRequest.h>
static int
memb_u_RNTIQueryRequest_ies_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
@@ -45,9 +45,9 @@ static asn_per_constraints_t asn_PER_memb_u_RNTIQueryRequest_ies_constr_2 GCC_NO
};
static asn_TYPE_member_t asn_MBR_u_RNTIQueryRequest_ies_2[] = {
{ ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
+ -1 /* Ambiguous tag (CHOICE?) */,
0,
- &asn_DEF_IE,
+ &asn_DEF_HNBAP_IE,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -91,8 +91,8 @@ asn_TYPE_descriptor_t asn_DEF_u_RNTIQueryRequest_ies_2 = {
&asn_SPC_u_RNTIQueryRequest_ies_specs_2 /* Additional specs */
};
-static asn_TYPE_member_t asn_MBR_U_RNTIQueryRequest_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct U_RNTIQueryRequest, u_RNTIQueryRequest_ies),
+static asn_TYPE_member_t asn_MBR_HNBAP_U_RNTIQueryRequest_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_U_RNTIQueryRequest, u_RNTIQueryRequest_ies),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
0,
&asn_DEF_u_RNTIQueryRequest_ies_2,
@@ -102,24 +102,24 @@ static asn_TYPE_member_t asn_MBR_U_RNTIQueryRequest_1[] = {
"u-RNTIQueryRequest-ies"
},
};
-static const ber_tlv_tag_t asn_DEF_U_RNTIQueryRequest_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_U_RNTIQueryRequest_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_U_RNTIQueryRequest_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_U_RNTIQueryRequest_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* u-RNTIQueryRequest-ies */
};
-static asn_SEQUENCE_specifics_t asn_SPC_U_RNTIQueryRequest_specs_1 = {
- sizeof(struct U_RNTIQueryRequest),
- offsetof(struct U_RNTIQueryRequest, _asn_ctx),
- asn_MAP_U_RNTIQueryRequest_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_U_RNTIQueryRequest_specs_1 = {
+ sizeof(struct HNBAP_U_RNTIQueryRequest),
+ offsetof(struct HNBAP_U_RNTIQueryRequest, _asn_ctx),
+ asn_MAP_HNBAP_U_RNTIQueryRequest_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_U_RNTIQueryRequest = {
- "U-RNTIQueryRequest",
- "U-RNTIQueryRequest",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_U_RNTIQueryRequest = {
+ "HNBAP_U-RNTIQueryRequest",
+ "HNBAP_U-RNTIQueryRequest",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -132,15 +132,15 @@ asn_TYPE_descriptor_t asn_DEF_U_RNTIQueryRequest = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_U_RNTIQueryRequest_tags_1,
- sizeof(asn_DEF_U_RNTIQueryRequest_tags_1)
- /sizeof(asn_DEF_U_RNTIQueryRequest_tags_1[0]), /* 1 */
- asn_DEF_U_RNTIQueryRequest_tags_1, /* Same as above */
- sizeof(asn_DEF_U_RNTIQueryRequest_tags_1)
- /sizeof(asn_DEF_U_RNTIQueryRequest_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_U_RNTIQueryRequest_tags_1,
+ sizeof(asn_DEF_HNBAP_U_RNTIQueryRequest_tags_1)
+ /sizeof(asn_DEF_HNBAP_U_RNTIQueryRequest_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_U_RNTIQueryRequest_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_U_RNTIQueryRequest_tags_1)
+ /sizeof(asn_DEF_HNBAP_U_RNTIQueryRequest_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_U_RNTIQueryRequest_1,
+ asn_MBR_HNBAP_U_RNTIQueryRequest_1,
1, /* Elements count */
- &asn_SPC_U_RNTIQueryRequest_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_U_RNTIQueryRequest_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/U-RNTIQueryResponse.c b/src/hnbap/HNBAP_U-RNTIQueryResponse.c
index b6ffe12..6f34bcf 100644
--- a/src/hnbap/U-RNTIQueryResponse.c
+++ b/src/hnbap/HNBAP_U-RNTIQueryResponse.c
@@ -5,7 +5,7 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/U-RNTIQueryResponse.h>
+#include <osmocom/hnbap/HNBAP_U-RNTIQueryResponse.h>
static int
memb_u_RNTIQueryResponse_ies_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
@@ -45,9 +45,9 @@ static asn_per_constraints_t asn_PER_memb_u_RNTIQueryResponse_ies_constr_2 GCC_N
};
static asn_TYPE_member_t asn_MBR_u_RNTIQueryResponse_ies_2[] = {
{ ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
+ -1 /* Ambiguous tag (CHOICE?) */,
0,
- &asn_DEF_IE,
+ &asn_DEF_HNBAP_IE,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -91,8 +91,8 @@ asn_TYPE_descriptor_t asn_DEF_u_RNTIQueryResponse_ies_2 = {
&asn_SPC_u_RNTIQueryResponse_ies_specs_2 /* Additional specs */
};
-static asn_TYPE_member_t asn_MBR_U_RNTIQueryResponse_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct U_RNTIQueryResponse, u_RNTIQueryResponse_ies),
+static asn_TYPE_member_t asn_MBR_HNBAP_U_RNTIQueryResponse_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_U_RNTIQueryResponse, u_RNTIQueryResponse_ies),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
0,
&asn_DEF_u_RNTIQueryResponse_ies_2,
@@ -102,24 +102,24 @@ static asn_TYPE_member_t asn_MBR_U_RNTIQueryResponse_1[] = {
"u-RNTIQueryResponse-ies"
},
};
-static const ber_tlv_tag_t asn_DEF_U_RNTIQueryResponse_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_U_RNTIQueryResponse_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_U_RNTIQueryResponse_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_U_RNTIQueryResponse_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* u-RNTIQueryResponse-ies */
};
-static asn_SEQUENCE_specifics_t asn_SPC_U_RNTIQueryResponse_specs_1 = {
- sizeof(struct U_RNTIQueryResponse),
- offsetof(struct U_RNTIQueryResponse, _asn_ctx),
- asn_MAP_U_RNTIQueryResponse_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_U_RNTIQueryResponse_specs_1 = {
+ sizeof(struct HNBAP_U_RNTIQueryResponse),
+ offsetof(struct HNBAP_U_RNTIQueryResponse, _asn_ctx),
+ asn_MAP_HNBAP_U_RNTIQueryResponse_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_U_RNTIQueryResponse = {
- "U-RNTIQueryResponse",
- "U-RNTIQueryResponse",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_U_RNTIQueryResponse = {
+ "HNBAP_U-RNTIQueryResponse",
+ "HNBAP_U-RNTIQueryResponse",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -132,15 +132,15 @@ asn_TYPE_descriptor_t asn_DEF_U_RNTIQueryResponse = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_U_RNTIQueryResponse_tags_1,
- sizeof(asn_DEF_U_RNTIQueryResponse_tags_1)
- /sizeof(asn_DEF_U_RNTIQueryResponse_tags_1[0]), /* 1 */
- asn_DEF_U_RNTIQueryResponse_tags_1, /* Same as above */
- sizeof(asn_DEF_U_RNTIQueryResponse_tags_1)
- /sizeof(asn_DEF_U_RNTIQueryResponse_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_U_RNTIQueryResponse_tags_1,
+ sizeof(asn_DEF_HNBAP_U_RNTIQueryResponse_tags_1)
+ /sizeof(asn_DEF_HNBAP_U_RNTIQueryResponse_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_U_RNTIQueryResponse_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_U_RNTIQueryResponse_tags_1)
+ /sizeof(asn_DEF_HNBAP_U_RNTIQueryResponse_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_U_RNTIQueryResponse_1,
+ asn_MBR_HNBAP_U_RNTIQueryResponse_1,
1, /* Elements count */
- &asn_SPC_U_RNTIQueryResponse_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_U_RNTIQueryResponse_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/HNBAP_UDP-Port-Number.c b/src/hnbap/HNBAP_UDP-Port-Number.c
new file mode 100644
index 0000000..447f571
--- /dev/null
+++ b/src/hnbap/HNBAP_UDP-Port-Number.c
@@ -0,0 +1,167 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#include <osmocom/hnbap/HNBAP_UDP-Port-Number.h>
+
+int
+HNBAP_UDP_Port_Number_constraint(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 == 2l)) {
+ /* 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 OCTET_STRING,
+ * so here we adjust the DEF accordingly.
+ */
+static void
+HNBAP_UDP_Port_Number_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->check_constraints = asn_DEF_OCTET_STRING.check_constraints;
+ 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;
+ td->aper_decoder = asn_DEF_OCTET_STRING.aper_decoder;
+ td->aper_encoder = asn_DEF_OCTET_STRING.aper_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
+HNBAP_UDP_Port_Number_free(asn_TYPE_descriptor_t *td,
+ void *struct_ptr, int contents_only) {
+ HNBAP_UDP_Port_Number_1_inherit_TYPE_descriptor(td);
+ td->free_struct(td, struct_ptr, contents_only);
+}
+
+int
+HNBAP_UDP_Port_Number_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+ int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
+ HNBAP_UDP_Port_Number_1_inherit_TYPE_descriptor(td);
+ return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
+}
+
+asn_dec_rval_t
+HNBAP_UDP_Port_Number_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+ void **structure, const void *bufptr, size_t size, int tag_mode) {
+ HNBAP_UDP_Port_Number_1_inherit_TYPE_descriptor(td);
+ return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
+}
+
+asn_enc_rval_t
+HNBAP_UDP_Port_Number_encode_der(asn_TYPE_descriptor_t *td,
+ void *structure, int tag_mode, ber_tlv_tag_t tag,
+ asn_app_consume_bytes_f *cb, void *app_key) {
+ HNBAP_UDP_Port_Number_1_inherit_TYPE_descriptor(td);
+ return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
+}
+
+asn_dec_rval_t
+HNBAP_UDP_Port_Number_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+ void **structure, const char *opt_mname, const void *bufptr, size_t size) {
+ HNBAP_UDP_Port_Number_1_inherit_TYPE_descriptor(td);
+ return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
+}
+
+asn_enc_rval_t
+HNBAP_UDP_Port_Number_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+ int ilevel, enum xer_encoder_flags_e flags,
+ asn_app_consume_bytes_f *cb, void *app_key) {
+ HNBAP_UDP_Port_Number_1_inherit_TYPE_descriptor(td);
+ return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
+}
+
+asn_dec_rval_t
+HNBAP_UDP_Port_Number_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
+ HNBAP_UDP_Port_Number_1_inherit_TYPE_descriptor(td);
+ return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
+}
+
+asn_enc_rval_t
+HNBAP_UDP_Port_Number_encode_uper(asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints,
+ void *structure, asn_per_outp_t *per_out) {
+ HNBAP_UDP_Port_Number_1_inherit_TYPE_descriptor(td);
+ return td->uper_encoder(td, constraints, structure, per_out);
+}
+
+asn_enc_rval_t
+HNBAP_UDP_Port_Number_encode_aper(asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints,
+ void *structure, asn_per_outp_t *per_out) {
+ HNBAP_UDP_Port_Number_1_inherit_TYPE_descriptor(td);
+ return td->aper_encoder(td, constraints, structure, per_out);
+}
+
+asn_dec_rval_t
+HNBAP_UDP_Port_Number_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+ asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
+ HNBAP_UDP_Port_Number_1_inherit_TYPE_descriptor(td);
+ return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
+}
+
+static asn_per_constraints_t asn_PER_type_HNBAP_UDP_Port_Number_constr_1 GCC_NOTUSED = {
+ { APC_UNCONSTRAINED, -1, -1, 0, 0 },
+ { APC_CONSTRAINED, 0, 0, 2l, 2l } /* (SIZE(2..2)) */,
+ 0, 0 /* No PER value map */
+};
+static const ber_tlv_tag_t asn_DEF_HNBAP_UDP_Port_Number_tags_1[] = {
+ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
+};
+asn_TYPE_descriptor_t asn_DEF_HNBAP_UDP_Port_Number = {
+ "HNBAP_UDP-Port-Number",
+ "HNBAP_UDP-Port-Number",
+ HNBAP_UDP_Port_Number_free,
+ HNBAP_UDP_Port_Number_print,
+ HNBAP_UDP_Port_Number_constraint,
+ HNBAP_UDP_Port_Number_decode_ber,
+ HNBAP_UDP_Port_Number_encode_der,
+ HNBAP_UDP_Port_Number_decode_xer,
+ HNBAP_UDP_Port_Number_encode_xer,
+ HNBAP_UDP_Port_Number_decode_uper,
+ HNBAP_UDP_Port_Number_encode_uper,
+ HNBAP_UDP_Port_Number_decode_aper,
+ HNBAP_UDP_Port_Number_encode_aper,
+ 0, /* Use generic outmost tag fetcher */
+ asn_DEF_HNBAP_UDP_Port_Number_tags_1,
+ sizeof(asn_DEF_HNBAP_UDP_Port_Number_tags_1)
+ /sizeof(asn_DEF_HNBAP_UDP_Port_Number_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_UDP_Port_Number_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_UDP_Port_Number_tags_1)
+ /sizeof(asn_DEF_HNBAP_UDP_Port_Number_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_UDP_Port_Number_constr_1,
+ 0, 0, /* No members */
+ 0 /* No specifics */
+};
+
diff --git a/src/hnbap/UE-Capabilities.c b/src/hnbap/HNBAP_UE-Capabilities.c
index 2d6bef1..1888d0e 100644
--- a/src/hnbap/UE-Capabilities.c
+++ b/src/hnbap/HNBAP_UE-Capabilities.c
@@ -5,59 +5,59 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/UE-Capabilities.h>
+#include <osmocom/hnbap/HNBAP_UE-Capabilities.h>
-static asn_TYPE_member_t asn_MBR_UE_Capabilities_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct UE_Capabilities, access_stratum_release_indicator),
+static asn_TYPE_member_t asn_MBR_HNBAP_UE_Capabilities_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_UE_Capabilities, access_stratum_release_indicator),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_Access_stratum_release_indicator,
+ &asn_DEF_HNBAP_Access_stratum_release_indicator,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"access-stratum-release-indicator"
},
- { ATF_NOFLAGS, 0, offsetof(struct UE_Capabilities, csg_capability),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_UE_Capabilities, csg_capability),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_CSG_Capability,
+ &asn_DEF_HNBAP_CSG_Capability,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"csg-capability"
},
- { ATF_POINTER, 1, offsetof(struct UE_Capabilities, iE_Extensions),
+ { ATF_POINTER, 1, offsetof(struct HNBAP_UE_Capabilities, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_IE_Extensions,
+ &asn_DEF_HNBAP_IE_Extensions,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"iE-Extensions"
},
};
-static const int asn_MAP_UE_Capabilities_oms_1[] = { 2 };
-static const ber_tlv_tag_t asn_DEF_UE_Capabilities_tags_1[] = {
+static const int asn_MAP_HNBAP_UE_Capabilities_oms_1[] = { 2 };
+static const ber_tlv_tag_t asn_DEF_HNBAP_UE_Capabilities_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_UE_Capabilities_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_UE_Capabilities_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* access-stratum-release-indicator */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* csg-capability */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
};
-static asn_SEQUENCE_specifics_t asn_SPC_UE_Capabilities_specs_1 = {
- sizeof(struct UE_Capabilities),
- offsetof(struct UE_Capabilities, _asn_ctx),
- asn_MAP_UE_Capabilities_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_UE_Capabilities_specs_1 = {
+ sizeof(struct HNBAP_UE_Capabilities),
+ offsetof(struct HNBAP_UE_Capabilities, _asn_ctx),
+ asn_MAP_HNBAP_UE_Capabilities_tag2el_1,
3, /* Count of tags in the map */
- asn_MAP_UE_Capabilities_oms_1, /* Optional members */
+ asn_MAP_HNBAP_UE_Capabilities_oms_1, /* Optional members */
1, 0, /* Root/Additions */
2, /* Start extensions */
4 /* Stop extensions */
};
-asn_TYPE_descriptor_t asn_DEF_UE_Capabilities = {
- "UE-Capabilities",
- "UE-Capabilities",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_UE_Capabilities = {
+ "HNBAP_UE-Capabilities",
+ "HNBAP_UE-Capabilities",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -70,15 +70,15 @@ asn_TYPE_descriptor_t asn_DEF_UE_Capabilities = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_UE_Capabilities_tags_1,
- sizeof(asn_DEF_UE_Capabilities_tags_1)
- /sizeof(asn_DEF_UE_Capabilities_tags_1[0]), /* 1 */
- asn_DEF_UE_Capabilities_tags_1, /* Same as above */
- sizeof(asn_DEF_UE_Capabilities_tags_1)
- /sizeof(asn_DEF_UE_Capabilities_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_UE_Capabilities_tags_1,
+ sizeof(asn_DEF_HNBAP_UE_Capabilities_tags_1)
+ /sizeof(asn_DEF_HNBAP_UE_Capabilities_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_UE_Capabilities_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_UE_Capabilities_tags_1)
+ /sizeof(asn_DEF_HNBAP_UE_Capabilities_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_UE_Capabilities_1,
+ asn_MBR_HNBAP_UE_Capabilities_1,
3, /* Elements count */
- &asn_SPC_UE_Capabilities_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_UE_Capabilities_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/UE-Identity.c b/src/hnbap/HNBAP_UE-Identity.c
index 32dbb63..4dfc5a9 100644
--- a/src/hnbap/UE-Identity.c
+++ b/src/hnbap/HNBAP_UE-Identity.c
@@ -5,88 +5,88 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/UE-Identity.h>
+#include <osmocom/hnbap/HNBAP_UE-Identity.h>
-static asn_per_constraints_t asn_PER_type_UE_Identity_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_UE_Identity_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0l, 7l } /* (0..7,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static asn_TYPE_member_t asn_MBR_UE_Identity_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct UE_Identity, choice.iMSI),
+static asn_TYPE_member_t asn_MBR_HNBAP_UE_Identity_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_UE_Identity, choice.iMSI),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_IMSI,
+ &asn_DEF_HNBAP_IMSI,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"iMSI"
},
- { ATF_NOFLAGS, 0, offsetof(struct UE_Identity, choice.tMSILAI),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_UE_Identity, choice.tMSILAI),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_TMSILAI,
+ &asn_DEF_HNBAP_TMSILAI,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"tMSILAI"
},
- { ATF_NOFLAGS, 0, offsetof(struct UE_Identity, choice.pTMSIRAI),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_UE_Identity, choice.pTMSIRAI),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_PTMSIRAI,
+ &asn_DEF_HNBAP_PTMSIRAI,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"pTMSIRAI"
},
- { ATF_NOFLAGS, 0, offsetof(struct UE_Identity, choice.iMEI),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_UE_Identity, choice.iMEI),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_IMEI,
+ &asn_DEF_HNBAP_IMEI,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"iMEI"
},
- { ATF_NOFLAGS, 0, offsetof(struct UE_Identity, choice.eSN),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_UE_Identity, choice.eSN),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_ESN,
+ &asn_DEF_HNBAP_ESN,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"eSN"
},
- { ATF_NOFLAGS, 0, offsetof(struct UE_Identity, choice.iMSIDS41),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_UE_Identity, choice.iMSIDS41),
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_IMSIDS41,
+ &asn_DEF_HNBAP_IMSIDS41,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"iMSIDS41"
},
- { ATF_NOFLAGS, 0, offsetof(struct UE_Identity, choice.iMSIESN),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_UE_Identity, choice.iMSIESN),
(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_IMSIESN,
+ &asn_DEF_HNBAP_IMSIESN,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"iMSIESN"
},
- { ATF_NOFLAGS, 0, offsetof(struct UE_Identity, choice.tMSIDS41),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_UE_Identity, choice.tMSIDS41),
(ASN_TAG_CLASS_CONTEXT | (7 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_TMSIDS41,
+ &asn_DEF_HNBAP_TMSIDS41,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"tMSIDS41"
},
};
-static const asn_TYPE_tag2member_t asn_MAP_UE_Identity_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_UE_Identity_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* iMSI */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* tMSILAI */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* pTMSIRAI */
@@ -96,19 +96,19 @@ static const asn_TYPE_tag2member_t asn_MAP_UE_Identity_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* iMSIESN */
{ (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 } /* tMSIDS41 */
};
-static asn_CHOICE_specifics_t asn_SPC_UE_Identity_specs_1 = {
- sizeof(struct UE_Identity),
- offsetof(struct UE_Identity, _asn_ctx),
- offsetof(struct UE_Identity, present),
- sizeof(((struct UE_Identity *)0)->present),
- asn_MAP_UE_Identity_tag2el_1,
+static asn_CHOICE_specifics_t asn_SPC_HNBAP_UE_Identity_specs_1 = {
+ sizeof(struct HNBAP_UE_Identity),
+ offsetof(struct HNBAP_UE_Identity, _asn_ctx),
+ offsetof(struct HNBAP_UE_Identity, present),
+ sizeof(((struct HNBAP_UE_Identity *)0)->present),
+ asn_MAP_HNBAP_UE_Identity_tag2el_1,
8, /* Count of tags in the map */
0,
8 /* Extensions start */
};
-asn_TYPE_descriptor_t asn_DEF_UE_Identity = {
- "UE-Identity",
- "UE-Identity",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_UE_Identity = {
+ "HNBAP_UE-Identity",
+ "HNBAP_UE-Identity",
CHOICE_free,
CHOICE_print,
CHOICE_constraint,
@@ -125,9 +125,9 @@ asn_TYPE_descriptor_t asn_DEF_UE_Identity = {
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
- &asn_PER_type_UE_Identity_constr_1,
- asn_MBR_UE_Identity_1,
+ &asn_PER_type_HNBAP_UE_Identity_constr_1,
+ asn_MBR_HNBAP_UE_Identity_1,
8, /* Elements count */
- &asn_SPC_UE_Identity_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_UE_Identity_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/UEDe-Register.c b/src/hnbap/HNBAP_UEDe-Register.c
index c299970..80f6658 100644
--- a/src/hnbap/UEDe-Register.c
+++ b/src/hnbap/HNBAP_UEDe-Register.c
@@ -5,7 +5,7 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/UEDe-Register.h>
+#include <osmocom/hnbap/HNBAP_UEDe-Register.h>
static int
memb_ueDe_Register_ies_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
@@ -45,9 +45,9 @@ static asn_per_constraints_t asn_PER_memb_ueDe_Register_ies_constr_2 GCC_NOTUSED
};
static asn_TYPE_member_t asn_MBR_ueDe_Register_ies_2[] = {
{ ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
+ -1 /* Ambiguous tag (CHOICE?) */,
0,
- &asn_DEF_IE,
+ &asn_DEF_HNBAP_IE,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -91,8 +91,8 @@ asn_TYPE_descriptor_t asn_DEF_ueDe_Register_ies_2 = {
&asn_SPC_ueDe_Register_ies_specs_2 /* Additional specs */
};
-static asn_TYPE_member_t asn_MBR_UEDe_Register_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct UEDe_Register, ueDe_Register_ies),
+static asn_TYPE_member_t asn_MBR_HNBAP_UEDe_Register_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_UEDe_Register, ueDe_Register_ies),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
0,
&asn_DEF_ueDe_Register_ies_2,
@@ -102,24 +102,24 @@ static asn_TYPE_member_t asn_MBR_UEDe_Register_1[] = {
"ueDe-Register-ies"
},
};
-static const ber_tlv_tag_t asn_DEF_UEDe_Register_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_UEDe_Register_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_UEDe_Register_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_UEDe_Register_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* ueDe-Register-ies */
};
-static asn_SEQUENCE_specifics_t asn_SPC_UEDe_Register_specs_1 = {
- sizeof(struct UEDe_Register),
- offsetof(struct UEDe_Register, _asn_ctx),
- asn_MAP_UEDe_Register_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_UEDe_Register_specs_1 = {
+ sizeof(struct HNBAP_UEDe_Register),
+ offsetof(struct HNBAP_UEDe_Register, _asn_ctx),
+ asn_MAP_HNBAP_UEDe_Register_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_UEDe_Register = {
- "UEDe-Register",
- "UEDe-Register",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_UEDe_Register = {
+ "HNBAP_UEDe-Register",
+ "HNBAP_UEDe-Register",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -132,15 +132,15 @@ asn_TYPE_descriptor_t asn_DEF_UEDe_Register = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_UEDe_Register_tags_1,
- sizeof(asn_DEF_UEDe_Register_tags_1)
- /sizeof(asn_DEF_UEDe_Register_tags_1[0]), /* 1 */
- asn_DEF_UEDe_Register_tags_1, /* Same as above */
- sizeof(asn_DEF_UEDe_Register_tags_1)
- /sizeof(asn_DEF_UEDe_Register_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_UEDe_Register_tags_1,
+ sizeof(asn_DEF_HNBAP_UEDe_Register_tags_1)
+ /sizeof(asn_DEF_HNBAP_UEDe_Register_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_UEDe_Register_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_UEDe_Register_tags_1)
+ /sizeof(asn_DEF_HNBAP_UEDe_Register_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_UEDe_Register_1,
+ asn_MBR_HNBAP_UEDe_Register_1,
1, /* Elements count */
- &asn_SPC_UEDe_Register_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_UEDe_Register_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/UERegisterAccept.c b/src/hnbap/HNBAP_UERegisterAccept.c
index c7912ac..898613f 100644
--- a/src/hnbap/UERegisterAccept.c
+++ b/src/hnbap/HNBAP_UERegisterAccept.c
@@ -5,7 +5,7 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/UERegisterAccept.h>
+#include <osmocom/hnbap/HNBAP_UERegisterAccept.h>
static int
memb_ueRegisterAccept_ies_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
@@ -45,9 +45,9 @@ static asn_per_constraints_t asn_PER_memb_ueRegisterAccept_ies_constr_2 GCC_NOTU
};
static asn_TYPE_member_t asn_MBR_ueRegisterAccept_ies_2[] = {
{ ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
+ -1 /* Ambiguous tag (CHOICE?) */,
0,
- &asn_DEF_IE,
+ &asn_DEF_HNBAP_IE,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -91,8 +91,8 @@ asn_TYPE_descriptor_t asn_DEF_ueRegisterAccept_ies_2 = {
&asn_SPC_ueRegisterAccept_ies_specs_2 /* Additional specs */
};
-static asn_TYPE_member_t asn_MBR_UERegisterAccept_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct UERegisterAccept, ueRegisterAccept_ies),
+static asn_TYPE_member_t asn_MBR_HNBAP_UERegisterAccept_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_UERegisterAccept, ueRegisterAccept_ies),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
0,
&asn_DEF_ueRegisterAccept_ies_2,
@@ -102,24 +102,24 @@ static asn_TYPE_member_t asn_MBR_UERegisterAccept_1[] = {
"ueRegisterAccept-ies"
},
};
-static const ber_tlv_tag_t asn_DEF_UERegisterAccept_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_UERegisterAccept_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_UERegisterAccept_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_UERegisterAccept_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* ueRegisterAccept-ies */
};
-static asn_SEQUENCE_specifics_t asn_SPC_UERegisterAccept_specs_1 = {
- sizeof(struct UERegisterAccept),
- offsetof(struct UERegisterAccept, _asn_ctx),
- asn_MAP_UERegisterAccept_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_UERegisterAccept_specs_1 = {
+ sizeof(struct HNBAP_UERegisterAccept),
+ offsetof(struct HNBAP_UERegisterAccept, _asn_ctx),
+ asn_MAP_HNBAP_UERegisterAccept_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_UERegisterAccept = {
- "UERegisterAccept",
- "UERegisterAccept",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_UERegisterAccept = {
+ "HNBAP_UERegisterAccept",
+ "HNBAP_UERegisterAccept",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -132,15 +132,15 @@ asn_TYPE_descriptor_t asn_DEF_UERegisterAccept = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_UERegisterAccept_tags_1,
- sizeof(asn_DEF_UERegisterAccept_tags_1)
- /sizeof(asn_DEF_UERegisterAccept_tags_1[0]), /* 1 */
- asn_DEF_UERegisterAccept_tags_1, /* Same as above */
- sizeof(asn_DEF_UERegisterAccept_tags_1)
- /sizeof(asn_DEF_UERegisterAccept_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_UERegisterAccept_tags_1,
+ sizeof(asn_DEF_HNBAP_UERegisterAccept_tags_1)
+ /sizeof(asn_DEF_HNBAP_UERegisterAccept_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_UERegisterAccept_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_UERegisterAccept_tags_1)
+ /sizeof(asn_DEF_HNBAP_UERegisterAccept_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_UERegisterAccept_1,
+ asn_MBR_HNBAP_UERegisterAccept_1,
1, /* Elements count */
- &asn_SPC_UERegisterAccept_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_UERegisterAccept_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/UERegisterReject.c b/src/hnbap/HNBAP_UERegisterReject.c
index 54ddb98..39bd391 100644
--- a/src/hnbap/UERegisterReject.c
+++ b/src/hnbap/HNBAP_UERegisterReject.c
@@ -5,7 +5,7 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/UERegisterReject.h>
+#include <osmocom/hnbap/HNBAP_UERegisterReject.h>
static int
memb_ueRegisterReject_ies_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
@@ -45,9 +45,9 @@ static asn_per_constraints_t asn_PER_memb_ueRegisterReject_ies_constr_2 GCC_NOTU
};
static asn_TYPE_member_t asn_MBR_ueRegisterReject_ies_2[] = {
{ ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
+ -1 /* Ambiguous tag (CHOICE?) */,
0,
- &asn_DEF_IE,
+ &asn_DEF_HNBAP_IE,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -91,8 +91,8 @@ asn_TYPE_descriptor_t asn_DEF_ueRegisterReject_ies_2 = {
&asn_SPC_ueRegisterReject_ies_specs_2 /* Additional specs */
};
-static asn_TYPE_member_t asn_MBR_UERegisterReject_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct UERegisterReject, ueRegisterReject_ies),
+static asn_TYPE_member_t asn_MBR_HNBAP_UERegisterReject_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_UERegisterReject, ueRegisterReject_ies),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
0,
&asn_DEF_ueRegisterReject_ies_2,
@@ -102,24 +102,24 @@ static asn_TYPE_member_t asn_MBR_UERegisterReject_1[] = {
"ueRegisterReject-ies"
},
};
-static const ber_tlv_tag_t asn_DEF_UERegisterReject_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_UERegisterReject_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_UERegisterReject_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_UERegisterReject_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* ueRegisterReject-ies */
};
-static asn_SEQUENCE_specifics_t asn_SPC_UERegisterReject_specs_1 = {
- sizeof(struct UERegisterReject),
- offsetof(struct UERegisterReject, _asn_ctx),
- asn_MAP_UERegisterReject_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_UERegisterReject_specs_1 = {
+ sizeof(struct HNBAP_UERegisterReject),
+ offsetof(struct HNBAP_UERegisterReject, _asn_ctx),
+ asn_MAP_HNBAP_UERegisterReject_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_UERegisterReject = {
- "UERegisterReject",
- "UERegisterReject",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_UERegisterReject = {
+ "HNBAP_UERegisterReject",
+ "HNBAP_UERegisterReject",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -132,15 +132,15 @@ asn_TYPE_descriptor_t asn_DEF_UERegisterReject = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_UERegisterReject_tags_1,
- sizeof(asn_DEF_UERegisterReject_tags_1)
- /sizeof(asn_DEF_UERegisterReject_tags_1[0]), /* 1 */
- asn_DEF_UERegisterReject_tags_1, /* Same as above */
- sizeof(asn_DEF_UERegisterReject_tags_1)
- /sizeof(asn_DEF_UERegisterReject_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_UERegisterReject_tags_1,
+ sizeof(asn_DEF_HNBAP_UERegisterReject_tags_1)
+ /sizeof(asn_DEF_HNBAP_UERegisterReject_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_UERegisterReject_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_UERegisterReject_tags_1)
+ /sizeof(asn_DEF_HNBAP_UERegisterReject_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_UERegisterReject_1,
+ asn_MBR_HNBAP_UERegisterReject_1,
1, /* Elements count */
- &asn_SPC_UERegisterReject_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_UERegisterReject_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/UERegisterRequest.c b/src/hnbap/HNBAP_UERegisterRequest.c
index 5e97969..467978f 100644
--- a/src/hnbap/UERegisterRequest.c
+++ b/src/hnbap/HNBAP_UERegisterRequest.c
@@ -5,7 +5,7 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/UERegisterRequest.h>
+#include <osmocom/hnbap/HNBAP_UERegisterRequest.h>
static int
memb_ueRegisterRequest_ies_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
@@ -45,9 +45,9 @@ static asn_per_constraints_t asn_PER_memb_ueRegisterRequest_ies_constr_2 GCC_NOT
};
static asn_TYPE_member_t asn_MBR_ueRegisterRequest_ies_2[] = {
{ ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
+ -1 /* Ambiguous tag (CHOICE?) */,
0,
- &asn_DEF_IE,
+ &asn_DEF_HNBAP_IE,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
@@ -91,8 +91,8 @@ asn_TYPE_descriptor_t asn_DEF_ueRegisterRequest_ies_2 = {
&asn_SPC_ueRegisterRequest_ies_specs_2 /* Additional specs */
};
-static asn_TYPE_member_t asn_MBR_UERegisterRequest_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct UERegisterRequest, ueRegisterRequest_ies),
+static asn_TYPE_member_t asn_MBR_HNBAP_UERegisterRequest_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_UERegisterRequest, ueRegisterRequest_ies),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
0,
&asn_DEF_ueRegisterRequest_ies_2,
@@ -102,24 +102,24 @@ static asn_TYPE_member_t asn_MBR_UERegisterRequest_1[] = {
"ueRegisterRequest-ies"
},
};
-static const ber_tlv_tag_t asn_DEF_UERegisterRequest_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_UERegisterRequest_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_UERegisterRequest_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_UERegisterRequest_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* ueRegisterRequest-ies */
};
-static asn_SEQUENCE_specifics_t asn_SPC_UERegisterRequest_specs_1 = {
- sizeof(struct UERegisterRequest),
- offsetof(struct UERegisterRequest, _asn_ctx),
- asn_MAP_UERegisterRequest_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_UERegisterRequest_specs_1 = {
+ sizeof(struct HNBAP_UERegisterRequest),
+ offsetof(struct HNBAP_UERegisterRequest, _asn_ctx),
+ asn_MAP_HNBAP_UERegisterRequest_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_UERegisterRequest = {
- "UERegisterRequest",
- "UERegisterRequest",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_UERegisterRequest = {
+ "HNBAP_UERegisterRequest",
+ "HNBAP_UERegisterRequest",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -132,15 +132,15 @@ asn_TYPE_descriptor_t asn_DEF_UERegisterRequest = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_UERegisterRequest_tags_1,
- sizeof(asn_DEF_UERegisterRequest_tags_1)
- /sizeof(asn_DEF_UERegisterRequest_tags_1[0]), /* 1 */
- asn_DEF_UERegisterRequest_tags_1, /* Same as above */
- sizeof(asn_DEF_UERegisterRequest_tags_1)
- /sizeof(asn_DEF_UERegisterRequest_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_UERegisterRequest_tags_1,
+ sizeof(asn_DEF_HNBAP_UERegisterRequest_tags_1)
+ /sizeof(asn_DEF_HNBAP_UERegisterRequest_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_UERegisterRequest_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_UERegisterRequest_tags_1)
+ /sizeof(asn_DEF_HNBAP_UERegisterRequest_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_UERegisterRequest_1,
+ asn_MBR_HNBAP_UERegisterRequest_1,
1, /* Elements count */
- &asn_SPC_UERegisterRequest_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_UERegisterRequest_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/RNC-ID.c b/src/hnbap/HNBAP_URAIdentity.c
index d9f4cd7..aba49d8 100644
--- a/src/hnbap/RNC-ID.c
+++ b/src/hnbap/HNBAP_URAIdentity.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/RNC-ID.h>
+#include <osmocom/hnbap/HNBAP_URAIdentity.h>
int
-RNC_ID_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_URAIdentity_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
long value;
@@ -37,7 +37,7 @@ RNC_ID_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-RNC_ID_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_URAIdentity_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->check_constraints = asn_DEF_NativeInteger.check_constraints;
@@ -57,109 +57,109 @@ RNC_ID_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-RNC_ID_free(asn_TYPE_descriptor_t *td,
+HNBAP_URAIdentity_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- RNC_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_URAIdentity_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-RNC_ID_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_URAIdentity_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- RNC_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_URAIdentity_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-RNC_ID_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_URAIdentity_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- RNC_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_URAIdentity_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-RNC_ID_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_URAIdentity_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- RNC_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_URAIdentity_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-RNC_ID_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_URAIdentity_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- RNC_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_URAIdentity_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-RNC_ID_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_URAIdentity_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- RNC_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_URAIdentity_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-RNC_ID_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_URAIdentity_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- RNC_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_URAIdentity_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-RNC_ID_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_URAIdentity_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- RNC_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_URAIdentity_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-RNC_ID_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_URAIdentity_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- RNC_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_URAIdentity_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-RNC_ID_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_URAIdentity_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- RNC_ID_1_inherit_TYPE_descriptor(td);
+ HNBAP_URAIdentity_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_RNC_ID_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_URAIdentity_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED, 16, 16, 0l, 65535l } /* (0..65535) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static const ber_tlv_tag_t asn_DEF_RNC_ID_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_URAIdentity_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_RNC_ID = {
- "RNC-ID",
- "RNC-ID",
- RNC_ID_free,
- RNC_ID_print,
- RNC_ID_constraint,
- RNC_ID_decode_ber,
- RNC_ID_encode_der,
- RNC_ID_decode_xer,
- RNC_ID_encode_xer,
- RNC_ID_decode_uper,
- RNC_ID_encode_uper,
- RNC_ID_decode_aper,
- RNC_ID_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_URAIdentity = {
+ "HNBAP_URAIdentity",
+ "HNBAP_URAIdentity",
+ HNBAP_URAIdentity_free,
+ HNBAP_URAIdentity_print,
+ HNBAP_URAIdentity_constraint,
+ HNBAP_URAIdentity_decode_ber,
+ HNBAP_URAIdentity_encode_der,
+ HNBAP_URAIdentity_decode_xer,
+ HNBAP_URAIdentity_encode_xer,
+ HNBAP_URAIdentity_decode_uper,
+ HNBAP_URAIdentity_encode_uper,
+ HNBAP_URAIdentity_decode_aper,
+ HNBAP_URAIdentity_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_RNC_ID_tags_1,
- sizeof(asn_DEF_RNC_ID_tags_1)
- /sizeof(asn_DEF_RNC_ID_tags_1[0]), /* 1 */
- asn_DEF_RNC_ID_tags_1, /* Same as above */
- sizeof(asn_DEF_RNC_ID_tags_1)
- /sizeof(asn_DEF_RNC_ID_tags_1[0]), /* 1 */
- &asn_PER_type_RNC_ID_constr_1,
+ asn_DEF_HNBAP_URAIdentity_tags_1,
+ sizeof(asn_DEF_HNBAP_URAIdentity_tags_1)
+ /sizeof(asn_DEF_HNBAP_URAIdentity_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_URAIdentity_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_URAIdentity_tags_1)
+ /sizeof(asn_DEF_HNBAP_URAIdentity_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_URAIdentity_constr_1,
0, 0, /* No members */
0 /* No specifics */
};
diff --git a/src/hnbap/HNBAP_URAIdentityList.c b/src/hnbap/HNBAP_URAIdentityList.c
new file mode 100644
index 0000000..cbc80bc
--- /dev/null
+++ b/src/hnbap/HNBAP_URAIdentityList.c
@@ -0,0 +1,60 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -R -gen-PER`
+ */
+
+#include <osmocom/hnbap/HNBAP_URAIdentityList.h>
+
+static asn_per_constraints_t asn_PER_type_HNBAP_URAIdentityList_constr_1 GCC_NOTUSED = {
+ { APC_UNCONSTRAINED, -1, -1, 0, 0 },
+ { APC_CONSTRAINED, 4, 4, 0l, 8l } /* (SIZE(0..8)) */,
+ 0, 0 /* No PER value map */
+};
+static asn_TYPE_member_t asn_MBR_HNBAP_URAIdentityList_1[] = {
+ { ATF_POINTER, 0, 0,
+ -1 /* Ambiguous tag (CHOICE?) */,
+ 0,
+ &asn_DEF_HNBAP_URAIdentity,
+ 0, /* Defer constraints checking to the member type */
+ 0, /* No PER visible constraints */
+ 0,
+ ""
+ },
+};
+static const ber_tlv_tag_t asn_DEF_HNBAP_URAIdentityList_tags_1[] = {
+ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
+};
+static asn_SET_OF_specifics_t asn_SPC_HNBAP_URAIdentityList_specs_1 = {
+ sizeof(struct HNBAP_URAIdentityList),
+ offsetof(struct HNBAP_URAIdentityList, _asn_ctx),
+ 0, /* XER encoding is XMLDelimitedItemList */
+};
+asn_TYPE_descriptor_t asn_DEF_HNBAP_URAIdentityList = {
+ "HNBAP_URAIdentityList",
+ "HNBAP_URAIdentityList",
+ 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,
+ SEQUENCE_OF_decode_aper,
+ SEQUENCE_OF_encode_aper,
+ 0, /* Use generic outmost tag fetcher */
+ asn_DEF_HNBAP_URAIdentityList_tags_1,
+ sizeof(asn_DEF_HNBAP_URAIdentityList_tags_1)
+ /sizeof(asn_DEF_HNBAP_URAIdentityList_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_URAIdentityList_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_URAIdentityList_tags_1)
+ /sizeof(asn_DEF_HNBAP_URAIdentityList_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_URAIdentityList_constr_1,
+ asn_MBR_HNBAP_URAIdentityList_1,
+ 1, /* Single element */
+ &asn_SPC_HNBAP_URAIdentityList_specs_1 /* Additional specs */
+};
+
diff --git a/src/hnbap/UTRANCellID.c b/src/hnbap/HNBAP_UTRANCellID.c
index ac7faf5..a1c4237 100644
--- a/src/hnbap/UTRANCellID.c
+++ b/src/hnbap/HNBAP_UTRANCellID.c
@@ -5,79 +5,79 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/UTRANCellID.h>
+#include <osmocom/hnbap/HNBAP_UTRANCellID.h>
-static asn_TYPE_member_t asn_MBR_UTRANCellID_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct UTRANCellID, lAC),
+static asn_TYPE_member_t asn_MBR_HNBAP_UTRANCellID_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_UTRANCellID, lAC),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_LAC,
+ &asn_DEF_HNBAP_LAC,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"lAC"
},
- { ATF_NOFLAGS, 0, offsetof(struct UTRANCellID, rAC),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_UTRANCellID, rAC),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_RAC,
+ &asn_DEF_HNBAP_RAC,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"rAC"
},
- { ATF_NOFLAGS, 0, offsetof(struct UTRANCellID, pLMNidentity),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_UTRANCellID, pLMNidentity),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_PLMNidentity,
+ &asn_DEF_HNBAP_PLMNidentity,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"pLMNidentity"
},
- { ATF_NOFLAGS, 0, offsetof(struct UTRANCellID, uTRANcellID),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_UTRANCellID, uTRANcellID),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_CellIdentity,
+ &asn_DEF_HNBAP_CellIdentity,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"uTRANcellID"
},
- { ATF_POINTER, 1, offsetof(struct UTRANCellID, iE_Extensions),
+ { ATF_POINTER, 1, offsetof(struct HNBAP_UTRANCellID, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_IE_Extensions,
+ &asn_DEF_HNBAP_IE_Extensions,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"iE-Extensions"
},
};
-static const int asn_MAP_UTRANCellID_oms_1[] = { 4 };
-static const ber_tlv_tag_t asn_DEF_UTRANCellID_tags_1[] = {
+static const int asn_MAP_HNBAP_UTRANCellID_oms_1[] = { 4 };
+static const ber_tlv_tag_t asn_DEF_HNBAP_UTRANCellID_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_UTRANCellID_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_UTRANCellID_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lAC */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* rAC */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* pLMNidentity */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* uTRANcellID */
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* iE-Extensions */
};
-static asn_SEQUENCE_specifics_t asn_SPC_UTRANCellID_specs_1 = {
- sizeof(struct UTRANCellID),
- offsetof(struct UTRANCellID, _asn_ctx),
- asn_MAP_UTRANCellID_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_UTRANCellID_specs_1 = {
+ sizeof(struct HNBAP_UTRANCellID),
+ offsetof(struct HNBAP_UTRANCellID, _asn_ctx),
+ asn_MAP_HNBAP_UTRANCellID_tag2el_1,
5, /* Count of tags in the map */
- asn_MAP_UTRANCellID_oms_1, /* Optional members */
+ asn_MAP_HNBAP_UTRANCellID_oms_1, /* Optional members */
1, 0, /* Root/Additions */
-1, /* Start extensions */
-1 /* Stop extensions */
};
-asn_TYPE_descriptor_t asn_DEF_UTRANCellID = {
- "UTRANCellID",
- "UTRANCellID",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_UTRANCellID = {
+ "HNBAP_UTRANCellID",
+ "HNBAP_UTRANCellID",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -90,15 +90,15 @@ asn_TYPE_descriptor_t asn_DEF_UTRANCellID = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_UTRANCellID_tags_1,
- sizeof(asn_DEF_UTRANCellID_tags_1)
- /sizeof(asn_DEF_UTRANCellID_tags_1[0]), /* 1 */
- asn_DEF_UTRANCellID_tags_1, /* Same as above */
- sizeof(asn_DEF_UTRANCellID_tags_1)
- /sizeof(asn_DEF_UTRANCellID_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_UTRANCellID_tags_1,
+ sizeof(asn_DEF_HNBAP_UTRANCellID_tags_1)
+ /sizeof(asn_DEF_HNBAP_UTRANCellID_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_UTRANCellID_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_UTRANCellID_tags_1)
+ /sizeof(asn_DEF_HNBAP_UTRANCellID_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_UTRANCellID_1,
+ asn_MBR_HNBAP_UTRANCellID_1,
5, /* Elements count */
- &asn_SPC_UTRANCellID_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_UTRANCellID_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/UnknownU-RNTIIndication.c b/src/hnbap/HNBAP_UnknownU-RNTIIndication.c
index 076fda1..9d82698 100644
--- a/src/hnbap/UnknownU-RNTIIndication.c
+++ b/src/hnbap/HNBAP_UnknownU-RNTIIndication.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/UnknownU-RNTIIndication.h>
+#include <osmocom/hnbap/HNBAP_UnknownU-RNTIIndication.h>
int
-UnknownU_RNTIIndication_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_UnknownU_RNTIIndication_constraint(asn_TYPE_descriptor_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;
@@ -20,7 +20,7 @@ UnknownU_RNTIIndication_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-UnknownU_RNTIIndication_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_UnknownU_RNTIIndication_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->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
@@ -40,127 +40,127 @@ UnknownU_RNTIIndication_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-UnknownU_RNTIIndication_free(asn_TYPE_descriptor_t *td,
+HNBAP_UnknownU_RNTIIndication_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- UnknownU_RNTIIndication_1_inherit_TYPE_descriptor(td);
+ HNBAP_UnknownU_RNTIIndication_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-UnknownU_RNTIIndication_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_UnknownU_RNTIIndication_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- UnknownU_RNTIIndication_1_inherit_TYPE_descriptor(td);
+ HNBAP_UnknownU_RNTIIndication_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-UnknownU_RNTIIndication_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_UnknownU_RNTIIndication_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- UnknownU_RNTIIndication_1_inherit_TYPE_descriptor(td);
+ HNBAP_UnknownU_RNTIIndication_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-UnknownU_RNTIIndication_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_UnknownU_RNTIIndication_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- UnknownU_RNTIIndication_1_inherit_TYPE_descriptor(td);
+ HNBAP_UnknownU_RNTIIndication_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-UnknownU_RNTIIndication_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_UnknownU_RNTIIndication_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- UnknownU_RNTIIndication_1_inherit_TYPE_descriptor(td);
+ HNBAP_UnknownU_RNTIIndication_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-UnknownU_RNTIIndication_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_UnknownU_RNTIIndication_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- UnknownU_RNTIIndication_1_inherit_TYPE_descriptor(td);
+ HNBAP_UnknownU_RNTIIndication_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-UnknownU_RNTIIndication_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_UnknownU_RNTIIndication_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- UnknownU_RNTIIndication_1_inherit_TYPE_descriptor(td);
+ HNBAP_UnknownU_RNTIIndication_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-UnknownU_RNTIIndication_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_UnknownU_RNTIIndication_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- UnknownU_RNTIIndication_1_inherit_TYPE_descriptor(td);
+ HNBAP_UnknownU_RNTIIndication_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-UnknownU_RNTIIndication_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_UnknownU_RNTIIndication_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- UnknownU_RNTIIndication_1_inherit_TYPE_descriptor(td);
+ HNBAP_UnknownU_RNTIIndication_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-UnknownU_RNTIIndication_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_UnknownU_RNTIIndication_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- UnknownU_RNTIIndication_1_inherit_TYPE_descriptor(td);
+ HNBAP_UnknownU_RNTIIndication_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_UnknownU_RNTIIndication_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_UnknownU_RNTIIndication_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0l, 0l } /* (0..0,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static const asn_INTEGER_enum_map_t asn_MAP_UnknownU_RNTIIndication_value2enum_1[] = {
+static const asn_INTEGER_enum_map_t asn_MAP_HNBAP_UnknownU_RNTIIndication_value2enum_1[] = {
{ 0, 7, "unknown" }
/* This list is extensible */
};
-static const unsigned int asn_MAP_UnknownU_RNTIIndication_enum2value_1[] = {
+static const unsigned int asn_MAP_HNBAP_UnknownU_RNTIIndication_enum2value_1[] = {
0 /* unknown(0) */
/* This list is extensible */
};
-static const asn_INTEGER_specifics_t asn_SPC_UnknownU_RNTIIndication_specs_1 = {
- asn_MAP_UnknownU_RNTIIndication_value2enum_1, /* "tag" => N; sorted by tag */
- asn_MAP_UnknownU_RNTIIndication_enum2value_1, /* N => "tag"; sorted by N */
+static const asn_INTEGER_specifics_t asn_SPC_HNBAP_UnknownU_RNTIIndication_specs_1 = {
+ asn_MAP_HNBAP_UnknownU_RNTIIndication_value2enum_1, /* "tag" => N; sorted by tag */
+ asn_MAP_HNBAP_UnknownU_RNTIIndication_enum2value_1, /* N => "tag"; sorted by N */
1, /* Number of elements in the maps */
2, /* Extensions before this member */
1, /* Strict enumeration */
0, /* Native long size */
0
};
-static const ber_tlv_tag_t asn_DEF_UnknownU_RNTIIndication_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_UnknownU_RNTIIndication_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_UnknownU_RNTIIndication = {
- "UnknownU-RNTIIndication",
- "UnknownU-RNTIIndication",
- UnknownU_RNTIIndication_free,
- UnknownU_RNTIIndication_print,
- UnknownU_RNTIIndication_constraint,
- UnknownU_RNTIIndication_decode_ber,
- UnknownU_RNTIIndication_encode_der,
- UnknownU_RNTIIndication_decode_xer,
- UnknownU_RNTIIndication_encode_xer,
- UnknownU_RNTIIndication_decode_uper,
- UnknownU_RNTIIndication_encode_uper,
- UnknownU_RNTIIndication_decode_aper,
- UnknownU_RNTIIndication_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_UnknownU_RNTIIndication = {
+ "HNBAP_UnknownU-RNTIIndication",
+ "HNBAP_UnknownU-RNTIIndication",
+ HNBAP_UnknownU_RNTIIndication_free,
+ HNBAP_UnknownU_RNTIIndication_print,
+ HNBAP_UnknownU_RNTIIndication_constraint,
+ HNBAP_UnknownU_RNTIIndication_decode_ber,
+ HNBAP_UnknownU_RNTIIndication_encode_der,
+ HNBAP_UnknownU_RNTIIndication_decode_xer,
+ HNBAP_UnknownU_RNTIIndication_encode_xer,
+ HNBAP_UnknownU_RNTIIndication_decode_uper,
+ HNBAP_UnknownU_RNTIIndication_encode_uper,
+ HNBAP_UnknownU_RNTIIndication_decode_aper,
+ HNBAP_UnknownU_RNTIIndication_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_UnknownU_RNTIIndication_tags_1,
- sizeof(asn_DEF_UnknownU_RNTIIndication_tags_1)
- /sizeof(asn_DEF_UnknownU_RNTIIndication_tags_1[0]), /* 1 */
- asn_DEF_UnknownU_RNTIIndication_tags_1, /* Same as above */
- sizeof(asn_DEF_UnknownU_RNTIIndication_tags_1)
- /sizeof(asn_DEF_UnknownU_RNTIIndication_tags_1[0]), /* 1 */
- &asn_PER_type_UnknownU_RNTIIndication_constr_1,
+ asn_DEF_HNBAP_UnknownU_RNTIIndication_tags_1,
+ sizeof(asn_DEF_HNBAP_UnknownU_RNTIIndication_tags_1)
+ /sizeof(asn_DEF_HNBAP_UnknownU_RNTIIndication_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_UnknownU_RNTIIndication_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_UnknownU_RNTIIndication_tags_1)
+ /sizeof(asn_DEF_HNBAP_UnknownU_RNTIIndication_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_UnknownU_RNTIIndication_constr_1,
0, 0, /* Defined elsewhere */
- &asn_SPC_UnknownU_RNTIIndication_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_UnknownU_RNTIIndication_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/InitiatingMessage.c b/src/hnbap/HNBAP_UnsuccessfulOutcome.c
index e1111de..1fd4503 100644
--- a/src/hnbap/InitiatingMessage.c
+++ b/src/hnbap/HNBAP_UnsuccessfulOutcome.c
@@ -5,28 +5,28 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/InitiatingMessage.h>
+#include <osmocom/hnbap/HNBAP_UnsuccessfulOutcome.h>
-static asn_TYPE_member_t asn_MBR_InitiatingMessage_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage, procedureCode),
+static asn_TYPE_member_t asn_MBR_HNBAP_UnsuccessfulOutcome_1[] = {
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_UnsuccessfulOutcome, procedureCode),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_ProcedureCode,
+ &asn_DEF_HNBAP_ProcedureCode,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"procedureCode"
},
- { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage, criticality),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_UnsuccessfulOutcome, criticality),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
- &asn_DEF_Criticality,
+ &asn_DEF_HNBAP_Criticality,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"criticality"
},
- { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage, value),
+ { ATF_NOFLAGS, 0, offsetof(struct HNBAP_UnsuccessfulOutcome, value),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
+1, /* EXPLICIT tag at current level */
&asn_DEF_ANY,
@@ -36,26 +36,26 @@ static asn_TYPE_member_t asn_MBR_InitiatingMessage_1[] = {
"value"
},
};
-static const ber_tlv_tag_t asn_DEF_InitiatingMessage_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_UnsuccessfulOutcome_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
-static const asn_TYPE_tag2member_t asn_MAP_InitiatingMessage_tag2el_1[] = {
+static const asn_TYPE_tag2member_t asn_MAP_HNBAP_UnsuccessfulOutcome_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* procedureCode */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */
};
-static asn_SEQUENCE_specifics_t asn_SPC_InitiatingMessage_specs_1 = {
- sizeof(struct InitiatingMessage),
- offsetof(struct InitiatingMessage, _asn_ctx),
- asn_MAP_InitiatingMessage_tag2el_1,
+static asn_SEQUENCE_specifics_t asn_SPC_HNBAP_UnsuccessfulOutcome_specs_1 = {
+ sizeof(struct HNBAP_UnsuccessfulOutcome),
+ offsetof(struct HNBAP_UnsuccessfulOutcome, _asn_ctx),
+ asn_MAP_HNBAP_UnsuccessfulOutcome_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_InitiatingMessage = {
- "InitiatingMessage",
- "InitiatingMessage",
+asn_TYPE_descriptor_t asn_DEF_HNBAP_UnsuccessfulOutcome = {
+ "HNBAP_UnsuccessfulOutcome",
+ "HNBAP_UnsuccessfulOutcome",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
@@ -68,15 +68,15 @@ asn_TYPE_descriptor_t asn_DEF_InitiatingMessage = {
SEQUENCE_decode_aper,
SEQUENCE_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_InitiatingMessage_tags_1,
- sizeof(asn_DEF_InitiatingMessage_tags_1)
- /sizeof(asn_DEF_InitiatingMessage_tags_1[0]), /* 1 */
- asn_DEF_InitiatingMessage_tags_1, /* Same as above */
- sizeof(asn_DEF_InitiatingMessage_tags_1)
- /sizeof(asn_DEF_InitiatingMessage_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_UnsuccessfulOutcome_tags_1,
+ sizeof(asn_DEF_HNBAP_UnsuccessfulOutcome_tags_1)
+ /sizeof(asn_DEF_HNBAP_UnsuccessfulOutcome_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_UnsuccessfulOutcome_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_UnsuccessfulOutcome_tags_1)
+ /sizeof(asn_DEF_HNBAP_UnsuccessfulOutcome_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
- asn_MBR_InitiatingMessage_1,
+ asn_MBR_HNBAP_UnsuccessfulOutcome_1,
3, /* Elements count */
- &asn_SPC_InitiatingMessage_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_UnsuccessfulOutcome_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/Update-cause.c b/src/hnbap/HNBAP_Update-cause.c
index f4e49c4..c1c5868 100644
--- a/src/hnbap/Update-cause.c
+++ b/src/hnbap/HNBAP_Update-cause.c
@@ -5,10 +5,10 @@
* `asn1c -R -gen-PER`
*/
-#include <osmocom/hnbap/Update-cause.h>
+#include <osmocom/hnbap/HNBAP_Update-cause.h>
int
-Update_cause_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
+HNBAP_Update_cause_constraint(asn_TYPE_descriptor_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;
@@ -20,7 +20,7 @@ Update_cause_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
-Update_cause_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
+HNBAP_Update_cause_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->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
@@ -40,127 +40,127 @@ Update_cause_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
}
void
-Update_cause_free(asn_TYPE_descriptor_t *td,
+HNBAP_Update_cause_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
- Update_cause_1_inherit_TYPE_descriptor(td);
+ HNBAP_Update_cause_1_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
-Update_cause_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
+HNBAP_Update_cause_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- Update_cause_1_inherit_TYPE_descriptor(td);
+ HNBAP_Update_cause_1_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
-Update_cause_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Update_cause_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
- Update_cause_1_inherit_TYPE_descriptor(td);
+ HNBAP_Update_cause_1_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
asn_enc_rval_t
-Update_cause_encode_der(asn_TYPE_descriptor_t *td,
+HNBAP_Update_cause_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
- Update_cause_1_inherit_TYPE_descriptor(td);
+ HNBAP_Update_cause_1_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
-Update_cause_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Update_cause_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- Update_cause_1_inherit_TYPE_descriptor(td);
+ HNBAP_Update_cause_1_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
asn_enc_rval_t
-Update_cause_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
+HNBAP_Update_cause_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
- Update_cause_1_inherit_TYPE_descriptor(td);
+ HNBAP_Update_cause_1_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
asn_dec_rval_t
-Update_cause_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Update_cause_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- Update_cause_1_inherit_TYPE_descriptor(td);
+ HNBAP_Update_cause_1_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
asn_enc_rval_t
-Update_cause_encode_uper(asn_TYPE_descriptor_t *td,
+HNBAP_Update_cause_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- Update_cause_1_inherit_TYPE_descriptor(td);
+ HNBAP_Update_cause_1_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
asn_enc_rval_t
-Update_cause_encode_aper(asn_TYPE_descriptor_t *td,
+HNBAP_Update_cause_encode_aper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
- Update_cause_1_inherit_TYPE_descriptor(td);
+ HNBAP_Update_cause_1_inherit_TYPE_descriptor(td);
return td->aper_encoder(td, constraints, structure, per_out);
}
asn_dec_rval_t
-Update_cause_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
+HNBAP_Update_cause_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- Update_cause_1_inherit_TYPE_descriptor(td);
+ HNBAP_Update_cause_1_inherit_TYPE_descriptor(td);
return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
-static asn_per_constraints_t asn_PER_type_Update_cause_constr_1 GCC_NOTUSED = {
+static asn_per_constraints_t asn_PER_type_HNBAP_Update_cause_constr_1 GCC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0l, 0l } /* (0..0,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
-static const asn_INTEGER_enum_map_t asn_MAP_Update_cause_value2enum_1[] = {
+static const asn_INTEGER_enum_map_t asn_MAP_HNBAP_Update_cause_value2enum_1[] = {
{ 0, 22, "relocation-preparation" }
/* This list is extensible */
};
-static const unsigned int asn_MAP_Update_cause_enum2value_1[] = {
+static const unsigned int asn_MAP_HNBAP_Update_cause_enum2value_1[] = {
0 /* relocation-preparation(0) */
/* This list is extensible */
};
-static const asn_INTEGER_specifics_t asn_SPC_Update_cause_specs_1 = {
- asn_MAP_Update_cause_value2enum_1, /* "tag" => N; sorted by tag */
- asn_MAP_Update_cause_enum2value_1, /* N => "tag"; sorted by N */
+static const asn_INTEGER_specifics_t asn_SPC_HNBAP_Update_cause_specs_1 = {
+ asn_MAP_HNBAP_Update_cause_value2enum_1, /* "tag" => N; sorted by tag */
+ asn_MAP_HNBAP_Update_cause_enum2value_1, /* N => "tag"; sorted by N */
1, /* Number of elements in the maps */
2, /* Extensions before this member */
1, /* Strict enumeration */
0, /* Native long size */
0
};
-static const ber_tlv_tag_t asn_DEF_Update_cause_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_HNBAP_Update_cause_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
-asn_TYPE_descriptor_t asn_DEF_Update_cause = {
- "Update-cause",
- "Update-cause",
- Update_cause_free,
- Update_cause_print,
- Update_cause_constraint,
- Update_cause_decode_ber,
- Update_cause_encode_der,
- Update_cause_decode_xer,
- Update_cause_encode_xer,
- Update_cause_decode_uper,
- Update_cause_encode_uper,
- Update_cause_decode_aper,
- Update_cause_encode_aper,
+asn_TYPE_descriptor_t asn_DEF_HNBAP_Update_cause = {
+ "HNBAP_Update-cause",
+ "HNBAP_Update-cause",
+ HNBAP_Update_cause_free,
+ HNBAP_Update_cause_print,
+ HNBAP_Update_cause_constraint,
+ HNBAP_Update_cause_decode_ber,
+ HNBAP_Update_cause_encode_der,
+ HNBAP_Update_cause_decode_xer,
+ HNBAP_Update_cause_encode_xer,
+ HNBAP_Update_cause_decode_uper,
+ HNBAP_Update_cause_encode_uper,
+ HNBAP_Update_cause_decode_aper,
+ HNBAP_Update_cause_encode_aper,
0, /* Use generic outmost tag fetcher */
- asn_DEF_Update_cause_tags_1,
- sizeof(asn_DEF_Update_cause_tags_1)
- /sizeof(asn_DEF_Update_cause_tags_1[0]), /* 1 */
- asn_DEF_Update_cause_tags_1, /* Same as above */
- sizeof(asn_DEF_Update_cause_tags_1)
- /sizeof(asn_DEF_Update_cause_tags_1[0]), /* 1 */
- &asn_PER_type_Update_cause_constr_1,
+ asn_DEF_HNBAP_Update_cause_tags_1,
+ sizeof(asn_DEF_HNBAP_Update_cause_tags_1)
+ /sizeof(asn_DEF_HNBAP_Update_cause_tags_1[0]), /* 1 */
+ asn_DEF_HNBAP_Update_cause_tags_1, /* Same as above */
+ sizeof(asn_DEF_HNBAP_Update_cause_tags_1)
+ /sizeof(asn_DEF_HNBAP_Update_cause_tags_1[0]), /* 1 */
+ &asn_PER_type_HNBAP_Update_cause_constr_1,
0, 0, /* Defined elsewhere */
- &asn_SPC_Update_cause_specs_1 /* Additional specs */
+ &asn_SPC_HNBAP_Update_cause_specs_1 /* Additional specs */
};
diff --git a/src/hnbap/HNBConfigurationInformationMissing.c b/src/hnbap/HNBConfigurationInformationMissing.c
deleted file mode 100644
index 20dc646..0000000
--- a/src/hnbap/HNBConfigurationInformationMissing.c
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#include <osmocom/hnbap/HNBConfigurationInformationMissing.h>
-
-static asn_TYPE_member_t asn_MBR_HNBConfigurationInformationMissing_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct HNBConfigurationInformationMissing, cause),
- (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
- +1, /* EXPLICIT tag at current level */
- &asn_DEF_Cause,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- "cause"
- },
- { ATF_POINTER, 1, offsetof(struct HNBConfigurationInformationMissing, iE_Extensions),
- (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_IE_Extensions,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- "iE-Extensions"
- },
-};
-static const int asn_MAP_HNBConfigurationInformationMissing_oms_1[] = { 1 };
-static const ber_tlv_tag_t asn_DEF_HNBConfigurationInformationMissing_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static const asn_TYPE_tag2member_t asn_MAP_HNBConfigurationInformationMissing_tag2el_1[] = {
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cause */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* iE-Extensions */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_HNBConfigurationInformationMissing_specs_1 = {
- sizeof(struct HNBConfigurationInformationMissing),
- offsetof(struct HNBConfigurationInformationMissing, _asn_ctx),
- asn_MAP_HNBConfigurationInformationMissing_tag2el_1,
- 2, /* Count of tags in the map */
- asn_MAP_HNBConfigurationInformationMissing_oms_1, /* Optional members */
- 1, 0, /* Root/Additions */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_HNBConfigurationInformationMissing = {
- "HNBConfigurationInformationMissing",
- "HNBConfigurationInformationMissing",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- SEQUENCE_decode_uper,
- SEQUENCE_encode_uper,
- SEQUENCE_decode_aper,
- SEQUENCE_encode_aper,
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_HNBConfigurationInformationMissing_tags_1,
- sizeof(asn_DEF_HNBConfigurationInformationMissing_tags_1)
- /sizeof(asn_DEF_HNBConfigurationInformationMissing_tags_1[0]), /* 1 */
- asn_DEF_HNBConfigurationInformationMissing_tags_1, /* Same as above */
- sizeof(asn_DEF_HNBConfigurationInformationMissing_tags_1)
- /sizeof(asn_DEF_HNBConfigurationInformationMissing_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_HNBConfigurationInformationMissing_1,
- 2, /* Elements count */
- &asn_SPC_HNBConfigurationInformationMissing_specs_1 /* Additional specs */
-};
-
diff --git a/src/hnbap/HNBConfigurationInformationProvided.c b/src/hnbap/HNBConfigurationInformationProvided.c
deleted file mode 100644
index e7d9c69..0000000
--- a/src/hnbap/HNBConfigurationInformationProvided.c
+++ /dev/null
@@ -1,104 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#include <osmocom/hnbap/HNBConfigurationInformationProvided.h>
-
-static asn_TYPE_member_t asn_MBR_HNBConfigurationInformationProvided_1[] = {
- { ATF_POINTER, 2, offsetof(struct HNBConfigurationInformationProvided, psc),
- (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_PSC,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- "psc"
- },
- { ATF_POINTER, 1, offsetof(struct HNBConfigurationInformationProvided, cSG_ID),
- (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_CSG_ID,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- "cSG-ID"
- },
- { ATF_NOFLAGS, 0, offsetof(struct HNBConfigurationInformationProvided, hNB_Cell_Access_Mode),
- (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_HNB_Cell_Access_Mode,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- "hNB-Cell-Access-Mode"
- },
- { ATF_NOFLAGS, 0, offsetof(struct HNBConfigurationInformationProvided, iurh_Signalling_TNL_AddressList),
- (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_Iurh_Signalling_TNL_AddressList,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- "iurh-Signalling-TNL-AddressList"
- },
- { ATF_POINTER, 1, offsetof(struct HNBConfigurationInformationProvided, iE_Extensions),
- (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_IE_Extensions,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- "iE-Extensions"
- },
-};
-static const int asn_MAP_HNBConfigurationInformationProvided_oms_1[] = { 0, 1, 4 };
-static const ber_tlv_tag_t asn_DEF_HNBConfigurationInformationProvided_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static const asn_TYPE_tag2member_t asn_MAP_HNBConfigurationInformationProvided_tag2el_1[] = {
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* psc */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* cSG-ID */
- { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* hNB-Cell-Access-Mode */
- { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* iurh-Signalling-TNL-AddressList */
- { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* iE-Extensions */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_HNBConfigurationInformationProvided_specs_1 = {
- sizeof(struct HNBConfigurationInformationProvided),
- offsetof(struct HNBConfigurationInformationProvided, _asn_ctx),
- asn_MAP_HNBConfigurationInformationProvided_tag2el_1,
- 5, /* Count of tags in the map */
- asn_MAP_HNBConfigurationInformationProvided_oms_1, /* Optional members */
- 3, 0, /* Root/Additions */
- 4, /* Start extensions */
- 6 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_HNBConfigurationInformationProvided = {
- "HNBConfigurationInformationProvided",
- "HNBConfigurationInformationProvided",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- SEQUENCE_decode_uper,
- SEQUENCE_encode_uper,
- SEQUENCE_decode_aper,
- SEQUENCE_encode_aper,
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_HNBConfigurationInformationProvided_tags_1,
- sizeof(asn_DEF_HNBConfigurationInformationProvided_tags_1)
- /sizeof(asn_DEF_HNBConfigurationInformationProvided_tags_1[0]), /* 1 */
- asn_DEF_HNBConfigurationInformationProvided_tags_1, /* Same as above */
- sizeof(asn_DEF_HNBConfigurationInformationProvided_tags_1)
- /sizeof(asn_DEF_HNBConfigurationInformationProvided_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_HNBConfigurationInformationProvided_1,
- 5, /* Elements count */
- &asn_SPC_HNBConfigurationInformationProvided_specs_1 /* Additional specs */
-};
-
diff --git a/src/hnbap/IE-Extensions.c b/src/hnbap/IE-Extensions.c
deleted file mode 100644
index 7318836..0000000
--- a/src/hnbap/IE-Extensions.c
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#include <osmocom/hnbap/IE-Extensions.h>
-
-static asn_per_constraints_t asn_PER_type_IE_Extensions_constr_1 GCC_NOTUSED = {
- { APC_UNCONSTRAINED, -1, -1, 0, 0 },
- { APC_CONSTRAINED, 16, 16, 1l, 65535l } /* (SIZE(1..65535)) */,
- 0, 0 /* No PER value map */
-};
-static asn_TYPE_member_t asn_MBR_IE_Extensions_1[] = {
- { ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
- 0,
- &asn_DEF_IE,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- ""
- },
-};
-static const ber_tlv_tag_t asn_DEF_IE_Extensions_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_SET_OF_specifics_t asn_SPC_IE_Extensions_specs_1 = {
- sizeof(struct IE_Extensions),
- offsetof(struct IE_Extensions, _asn_ctx),
- 0, /* XER encoding is XMLDelimitedItemList */
-};
-asn_TYPE_descriptor_t asn_DEF_IE_Extensions = {
- "IE-Extensions",
- "IE-Extensions",
- 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,
- SEQUENCE_OF_decode_aper,
- SEQUENCE_OF_encode_aper,
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_IE_Extensions_tags_1,
- sizeof(asn_DEF_IE_Extensions_tags_1)
- /sizeof(asn_DEF_IE_Extensions_tags_1[0]), /* 1 */
- asn_DEF_IE_Extensions_tags_1, /* Same as above */
- sizeof(asn_DEF_IE_Extensions_tags_1)
- /sizeof(asn_DEF_IE_Extensions_tags_1[0]), /* 1 */
- &asn_PER_type_IE_Extensions_constr_1,
- asn_MBR_IE_Extensions_1,
- 1, /* Single element */
- &asn_SPC_IE_Extensions_specs_1 /* Additional specs */
-};
-
diff --git a/src/hnbap/IMEI.c b/src/hnbap/IMEI.c
deleted file mode 100644
index ff5047c..0000000
--- a/src/hnbap/IMEI.c
+++ /dev/null
@@ -1,172 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#include <osmocom/hnbap/IMEI.h>
-
-int
-IMEI_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 == 60l)) {
- /* 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
-IMEI_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;
- td->aper_decoder = asn_DEF_BIT_STRING.aper_decoder;
- td->aper_encoder = asn_DEF_BIT_STRING.aper_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
-IMEI_free(asn_TYPE_descriptor_t *td,
- void *struct_ptr, int contents_only) {
- IMEI_1_inherit_TYPE_descriptor(td);
- td->free_struct(td, struct_ptr, contents_only);
-}
-
-int
-IMEI_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
- int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- IMEI_1_inherit_TYPE_descriptor(td);
- return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
-}
-
-asn_dec_rval_t
-IMEI_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const void *bufptr, size_t size, int tag_mode) {
- IMEI_1_inherit_TYPE_descriptor(td);
- return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
-}
-
-asn_enc_rval_t
-IMEI_encode_der(asn_TYPE_descriptor_t *td,
- void *structure, int tag_mode, ber_tlv_tag_t tag,
- asn_app_consume_bytes_f *cb, void *app_key) {
- IMEI_1_inherit_TYPE_descriptor(td);
- return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
-}
-
-asn_dec_rval_t
-IMEI_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- IMEI_1_inherit_TYPE_descriptor(td);
- return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
-}
-
-asn_enc_rval_t
-IMEI_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
- int ilevel, enum xer_encoder_flags_e flags,
- asn_app_consume_bytes_f *cb, void *app_key) {
- IMEI_1_inherit_TYPE_descriptor(td);
- return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
-}
-
-asn_dec_rval_t
-IMEI_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- IMEI_1_inherit_TYPE_descriptor(td);
- return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
-}
-
-asn_enc_rval_t
-IMEI_encode_uper(asn_TYPE_descriptor_t *td,
- asn_per_constraints_t *constraints,
- void *structure, asn_per_outp_t *per_out) {
- IMEI_1_inherit_TYPE_descriptor(td);
- return td->uper_encoder(td, constraints, structure, per_out);
-}
-
-asn_enc_rval_t
-IMEI_encode_aper(asn_TYPE_descriptor_t *td,
- asn_per_constraints_t *constraints,
- void *structure, asn_per_outp_t *per_out) {
- IMEI_1_inherit_TYPE_descriptor(td);
- return td->aper_encoder(td, constraints, structure, per_out);
-}
-
-asn_dec_rval_t
-IMEI_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- IMEI_1_inherit_TYPE_descriptor(td);
- return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
-}
-
-static asn_per_constraints_t asn_PER_type_IMEI_constr_1 GCC_NOTUSED = {
- { APC_UNCONSTRAINED, -1, -1, 0, 0 },
- { APC_CONSTRAINED, 0, 0, 60l, 60l } /* (SIZE(60..60)) */,
- 0, 0 /* No PER value map */
-};
-static const ber_tlv_tag_t asn_DEF_IMEI_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (3 << 2))
-};
-asn_TYPE_descriptor_t asn_DEF_IMEI = {
- "IMEI",
- "IMEI",
- IMEI_free,
- IMEI_print,
- IMEI_constraint,
- IMEI_decode_ber,
- IMEI_encode_der,
- IMEI_decode_xer,
- IMEI_encode_xer,
- IMEI_decode_uper,
- IMEI_encode_uper,
- IMEI_decode_aper,
- IMEI_encode_aper,
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_IMEI_tags_1,
- sizeof(asn_DEF_IMEI_tags_1)
- /sizeof(asn_DEF_IMEI_tags_1[0]), /* 1 */
- asn_DEF_IMEI_tags_1, /* Same as above */
- sizeof(asn_DEF_IMEI_tags_1)
- /sizeof(asn_DEF_IMEI_tags_1[0]), /* 1 */
- &asn_PER_type_IMEI_constr_1,
- 0, 0, /* No members */
- 0 /* No specifics */
-};
-
diff --git a/src/hnbap/Iurh-Signalling-TNL-AddressList.c b/src/hnbap/Iurh-Signalling-TNL-AddressList.c
deleted file mode 100644
index cd19f49..0000000
--- a/src/hnbap/Iurh-Signalling-TNL-AddressList.c
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#include <osmocom/hnbap/Iurh-Signalling-TNL-AddressList.h>
-
-static asn_per_constraints_t asn_PER_type_Iurh_Signalling_TNL_AddressList_constr_1 GCC_NOTUSED = {
- { APC_UNCONSTRAINED, -1, -1, 0, 0 },
- { APC_CONSTRAINED, 2, 2, 1l, 3l } /* (SIZE(1..3)) */,
- 0, 0 /* No PER value map */
-};
-static asn_TYPE_member_t asn_MBR_Iurh_Signalling_TNL_AddressList_1[] = {
- { ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
- 0,
- &asn_DEF_IP_Address,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- ""
- },
-};
-static const ber_tlv_tag_t asn_DEF_Iurh_Signalling_TNL_AddressList_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_SET_OF_specifics_t asn_SPC_Iurh_Signalling_TNL_AddressList_specs_1 = {
- sizeof(struct Iurh_Signalling_TNL_AddressList),
- offsetof(struct Iurh_Signalling_TNL_AddressList, _asn_ctx),
- 0, /* XER encoding is XMLDelimitedItemList */
-};
-asn_TYPE_descriptor_t asn_DEF_Iurh_Signalling_TNL_AddressList = {
- "Iurh-Signalling-TNL-AddressList",
- "Iurh-Signalling-TNL-AddressList",
- 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,
- SEQUENCE_OF_decode_aper,
- SEQUENCE_OF_encode_aper,
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_Iurh_Signalling_TNL_AddressList_tags_1,
- sizeof(asn_DEF_Iurh_Signalling_TNL_AddressList_tags_1)
- /sizeof(asn_DEF_Iurh_Signalling_TNL_AddressList_tags_1[0]), /* 1 */
- asn_DEF_Iurh_Signalling_TNL_AddressList_tags_1, /* Same as above */
- sizeof(asn_DEF_Iurh_Signalling_TNL_AddressList_tags_1)
- /sizeof(asn_DEF_Iurh_Signalling_TNL_AddressList_tags_1[0]), /* 1 */
- &asn_PER_type_Iurh_Signalling_TNL_AddressList_constr_1,
- asn_MBR_Iurh_Signalling_TNL_AddressList_1,
- 1, /* Single element */
- &asn_SPC_Iurh_Signalling_TNL_AddressList_specs_1 /* Additional specs */
-};
-
diff --git a/src/hnbap/MacroCoverageInformation.c b/src/hnbap/MacroCoverageInformation.c
deleted file mode 100644
index 116875b..0000000
--- a/src/hnbap/MacroCoverageInformation.c
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#include <osmocom/hnbap/MacroCoverageInformation.h>
-
-static asn_TYPE_member_t asn_MBR_MacroCoverageInformation_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct MacroCoverageInformation, cellIdentity),
- (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
- +1, /* EXPLICIT tag at current level */
- &asn_DEF_MacroCellID,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- "cellIdentity"
- },
- { ATF_POINTER, 1, offsetof(struct MacroCoverageInformation, iE_Extensions),
- (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_IE_Extensions,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- "iE-Extensions"
- },
-};
-static const int asn_MAP_MacroCoverageInformation_oms_1[] = { 1 };
-static const ber_tlv_tag_t asn_DEF_MacroCoverageInformation_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static const asn_TYPE_tag2member_t asn_MAP_MacroCoverageInformation_tag2el_1[] = {
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cellIdentity */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* iE-Extensions */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_MacroCoverageInformation_specs_1 = {
- sizeof(struct MacroCoverageInformation),
- offsetof(struct MacroCoverageInformation, _asn_ctx),
- asn_MAP_MacroCoverageInformation_tag2el_1,
- 2, /* Count of tags in the map */
- asn_MAP_MacroCoverageInformation_oms_1, /* Optional members */
- 1, 0, /* Root/Additions */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_MacroCoverageInformation = {
- "MacroCoverageInformation",
- "MacroCoverageInformation",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- SEQUENCE_decode_uper,
- SEQUENCE_encode_uper,
- SEQUENCE_decode_aper,
- SEQUENCE_encode_aper,
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_MacroCoverageInformation_tags_1,
- sizeof(asn_DEF_MacroCoverageInformation_tags_1)
- /sizeof(asn_DEF_MacroCoverageInformation_tags_1[0]), /* 1 */
- asn_DEF_MacroCoverageInformation_tags_1, /* Same as above */
- sizeof(asn_DEF_MacroCoverageInformation_tags_1)
- /sizeof(asn_DEF_MacroCoverageInformation_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_MacroCoverageInformation_1,
- 2, /* Elements count */
- &asn_SPC_MacroCoverageInformation_specs_1 /* Additional specs */
-};
-
diff --git a/src/hnbap/Makefile.am b/src/hnbap/Makefile.am
index 79c0ac4..fc862d7 100644
--- a/src/hnbap/Makefile.am
+++ b/src/hnbap/Makefile.am
@@ -1,236 +1,236 @@
ASN_MODULE_SOURCES= \
- Criticality.c \
- Presence.c \
- PrivateIE-ID.c \
- ProcedureCode.c \
- ProtocolIE-ID.c \
- TriggeringMessage.c \
- IE-Extensions.c \
- Access-stratum-release-indicator.c \
- AccessResult.c \
- AltitudeAndDirection.c \
- BackoffTimer.c \
- BindingID.c \
- Cause.c \
- CauseRadioNetwork.c \
- CauseTransport.c \
- CauseProtocol.c \
- CauseMisc.c \
- CellIdentity.c \
- CELL-FACHMobilitySupport.c \
- Context-ID.c \
- CriticalityDiagnostics.c \
- CriticalityDiagnostics-IE-List.c \
- CSG-ID.c \
- CSG-Capability.c \
- CSGMembershipStatus.c \
- CGI.c \
- CI.c \
- CN-DomainIndicator.c \
- ESN.c \
- GeographicalLocation.c \
- GeographicalCoordinates.c \
- GTP-TEI.c \
- HNBCapacity.c \
- HNB-Cell-Access-Mode.c \
- HNB-Cell-Identifier.c \
- HNB-GWResponse.c \
- HNB-RNL-Identity.c \
- HNBConfigInfo.c \
- ConfigurationInformation.c \
- HNBConfigurationInformationProvided.c \
- HNBConfigurationInformationMissing.c \
- HNB-Location-Information.c \
- HNB-Identity.c \
- HNB-Identity-Info.c \
- IMEI.c \
- IMSI.c \
- IMSIDS41.c \
- IMSIESN.c \
- IP-Address.c \
- Ipv4Address.c \
- Ipv6Address.c \
- Iurh-Signalling-TNL-AddressList.c \
- LAC.c \
- LAI.c \
- MacroCoverageInformation.c \
- MacroCellID.c \
- MuxPortNumber.c \
- NeighbourCellIdentityList.c \
- NeighbourIdentity.c \
- NeighbourInfoList.c \
- AdditionalNeighbourInfoList.c \
- NeighbourInfoRequestList.c \
- NeighbourInfoRequestItem.c \
- PLMNidentity.c \
- PSC.c \
- PTMSI.c \
- PTMSIRAI.c \
- RAB-ID.c \
- RABList.c \
- RABListItem.c \
- RAC.c \
- RAI.c \
- Registration-Cause.c \
- RNC-ID.c \
- SAC.c \
- S-RNTIPrefix.c \
- TMSILAI.c \
- TMSIDS41.c \
- TransportInfo.c \
- TransportLayerAddress.c \
- Tunnel-Information.c \
- TypeOfError.c \
- UDP-Port-Number.c \
- UE-Capabilities.c \
- UTRANCellID.c \
- UE-Identity.c \
- Update-cause.c \
- URAIdentityList.c \
- URAIdentity.c \
- U-RNTI.c \
- UnknownU-RNTIIndication.c \
- HNBAP-PDU.c \
- InitiatingMessage.c \
- SuccessfulOutcome.c \
- UnsuccessfulOutcome.c \
- HNBRegisterRequest.c \
- HNBRegisterAccept.c \
- HNBRegisterReject.c \
- UERegisterRequest.c \
- UERegisterAccept.c \
- UERegisterReject.c \
- UEDe-Register.c \
- HNBDe-Register.c \
- ErrorIndication.c \
- CSGMembershipUpdate.c \
- TNLUpdateRequest.c \
- TNLUpdateResponse.c \
- TNLUpdateFailure.c \
- HNBConfigTransferRequest.c \
- HNBConfigTransferResponse.c \
- RelocationComplete.c \
- U-RNTIQueryRequest.c \
- U-RNTIQueryResponse.c \
- PrivateMessage.c \
- IE.c
+ HNBAP_Criticality.c \
+ HNBAP_Presence.c \
+ HNBAP_PrivateIE-ID.c \
+ HNBAP_ProcedureCode.c \
+ HNBAP_ProtocolIE-ID.c \
+ HNBAP_TriggeringMessage.c \
+ HNBAP_IE-Extensions.c \
+ HNBAP_Access-stratum-release-indicator.c \
+ HNBAP_AccessResult.c \
+ HNBAP_AltitudeAndDirection.c \
+ HNBAP_BackoffTimer.c \
+ HNBAP_BindingID.c \
+ HNBAP_Cause.c \
+ HNBAP_CauseRadioNetwork.c \
+ HNBAP_CauseTransport.c \
+ HNBAP_CauseProtocol.c \
+ HNBAP_CauseMisc.c \
+ HNBAP_CellIdentity.c \
+ HNBAP_CELL-FACHMobilitySupport.c \
+ HNBAP_Context-ID.c \
+ HNBAP_CriticalityDiagnostics.c \
+ HNBAP_CriticalityDiagnostics-IE-List.c \
+ HNBAP_CSG-ID.c \
+ HNBAP_CSG-Capability.c \
+ HNBAP_CSGMembershipStatus.c \
+ HNBAP_CGI.c \
+ HNBAP_CI.c \
+ HNBAP_CN-DomainIndicator.c \
+ HNBAP_ESN.c \
+ HNBAP_GeographicalLocation.c \
+ HNBAP_GeographicalCoordinates.c \
+ HNBAP_GTP-TEI.c \
+ HNBAP_HNBCapacity.c \
+ HNBAP_HNB-Cell-Access-Mode.c \
+ HNBAP_HNB-Cell-Identifier.c \
+ HNBAP_HNB-GWResponse.c \
+ HNBAP_HNB-RNL-Identity.c \
+ HNBAP_HNBConfigInfo.c \
+ HNBAP_ConfigurationInformation.c \
+ HNBAP_HNBConfigurationInformationProvided.c \
+ HNBAP_HNBConfigurationInformationMissing.c \
+ HNBAP_HNB-Location-Information.c \
+ HNBAP_HNB-Identity.c \
+ HNBAP_HNB-Identity-Info.c \
+ HNBAP_IMEI.c \
+ HNBAP_IMSI.c \
+ HNBAP_IMSIDS41.c \
+ HNBAP_IMSIESN.c \
+ HNBAP_IP-Address.c \
+ HNBAP_Ipv4Address.c \
+ HNBAP_Ipv6Address.c \
+ HNBAP_Iurh-Signalling-TNL-AddressList.c \
+ HNBAP_LAC.c \
+ HNBAP_LAI.c \
+ HNBAP_MacroCoverageInformation.c \
+ HNBAP_MacroCellID.c \
+ HNBAP_MuxPortNumber.c \
+ HNBAP_NeighbourCellIdentityList.c \
+ HNBAP_NeighbourIdentity.c \
+ HNBAP_NeighbourInfoList.c \
+ HNBAP_AdditionalNeighbourInfoList.c \
+ HNBAP_NeighbourInfoRequestList.c \
+ HNBAP_NeighbourInfoRequestItem.c \
+ HNBAP_PLMNidentity.c \
+ HNBAP_PSC.c \
+ HNBAP_PTMSI.c \
+ HNBAP_PTMSIRAI.c \
+ HNBAP_RAB-ID.c \
+ HNBAP_RABList.c \
+ HNBAP_RABListItem.c \
+ HNBAP_RAC.c \
+ HNBAP_RAI.c \
+ HNBAP_Registration-Cause.c \
+ HNBAP_RNC-ID.c \
+ HNBAP_SAC.c \
+ HNBAP_S-RNTIPrefix.c \
+ HNBAP_TMSILAI.c \
+ HNBAP_TMSIDS41.c \
+ HNBAP_TransportInfo.c \
+ HNBAP_TransportLayerAddress.c \
+ HNBAP_Tunnel-Information.c \
+ HNBAP_TypeOfError.c \
+ HNBAP_UDP-Port-Number.c \
+ HNBAP_UE-Capabilities.c \
+ HNBAP_UTRANCellID.c \
+ HNBAP_UE-Identity.c \
+ HNBAP_Update-cause.c \
+ HNBAP_URAIdentityList.c \
+ HNBAP_URAIdentity.c \
+ HNBAP_U-RNTI.c \
+ HNBAP_UnknownU-RNTIIndication.c \
+ HNBAP_HNBAP-PDU.c \
+ HNBAP_InitiatingMessage.c \
+ HNBAP_SuccessfulOutcome.c \
+ HNBAP_UnsuccessfulOutcome.c \
+ HNBAP_HNBRegisterRequest.c \
+ HNBAP_HNBRegisterAccept.c \
+ HNBAP_HNBRegisterReject.c \
+ HNBAP_UERegisterRequest.c \
+ HNBAP_UERegisterAccept.c \
+ HNBAP_UERegisterReject.c \
+ HNBAP_UEDe-Register.c \
+ HNBAP_HNBDe-Register.c \
+ HNBAP_ErrorIndication.c \
+ HNBAP_CSGMembershipUpdate.c \
+ HNBAP_TNLUpdateRequest.c \
+ HNBAP_TNLUpdateResponse.c \
+ HNBAP_TNLUpdateFailure.c \
+ HNBAP_HNBConfigTransferRequest.c \
+ HNBAP_HNBConfigTransferResponse.c \
+ HNBAP_RelocationComplete.c \
+ HNBAP_U-RNTIQueryRequest.c \
+ HNBAP_U-RNTIQueryResponse.c \
+ HNBAP_PrivateMessage.c \
+ HNBAP_IE.c
ASN_MODULE_INC= \
- Criticality.h \
- Presence.h \
- PrivateIE-ID.h \
- ProcedureCode.h \
- ProtocolIE-ID.h \
- TriggeringMessage.h \
- IE-Extensions.h \
- Access-stratum-release-indicator.h \
- AccessResult.h \
- AltitudeAndDirection.h \
- BackoffTimer.h \
- BindingID.h \
- Cause.h \
- CauseRadioNetwork.h \
- CauseTransport.h \
- CauseProtocol.h \
- CauseMisc.h \
- CellIdentity.h \
- CELL-FACHMobilitySupport.h \
- Context-ID.h \
- CriticalityDiagnostics.h \
- CriticalityDiagnostics-IE-List.h \
- CSG-ID.h \
- CSG-Capability.h \
- CSGMembershipStatus.h \
- CGI.h \
- CI.h \
- CN-DomainIndicator.h \
- ESN.h \
- GeographicalLocation.h \
- GeographicalCoordinates.h \
- GTP-TEI.h \
- HNBCapacity.h \
- HNB-Cell-Access-Mode.h \
- HNB-Cell-Identifier.h \
- HNB-GWResponse.h \
- HNB-RNL-Identity.h \
- HNBConfigInfo.h \
- ConfigurationInformation.h \
- HNBConfigurationInformationProvided.h \
- HNBConfigurationInformationMissing.h \
- HNB-Location-Information.h \
- HNB-Identity.h \
- HNB-Identity-Info.h \
- IMEI.h \
- IMSI.h \
- IMSIDS41.h \
- IMSIESN.h \
- IP-Address.h \
- Ipv4Address.h \
- Ipv6Address.h \
- Iurh-Signalling-TNL-AddressList.h \
- LAC.h \
- LAI.h \
- MacroCoverageInformation.h \
- MacroCellID.h \
- MuxPortNumber.h \
- NeighbourCellIdentityList.h \
- NeighbourIdentity.h \
- NeighbourInfoList.h \
- AdditionalNeighbourInfoList.h \
- NeighbourInfoRequestList.h \
- NeighbourInfoRequestItem.h \
- PLMNidentity.h \
- PSC.h \
- PTMSI.h \
- PTMSIRAI.h \
- RAB-ID.h \
- RABList.h \
- RABListItem.h \
- RAC.h \
- RAI.h \
- Registration-Cause.h \
- RNC-ID.h \
- SAC.h \
- S-RNTIPrefix.h \
- TMSILAI.h \
- TMSIDS41.h \
- TransportInfo.h \
- TransportLayerAddress.h \
- Tunnel-Information.h \
- TypeOfError.h \
- UDP-Port-Number.h \
- UE-Capabilities.h \
- UTRANCellID.h \
- UE-Identity.h \
- Update-cause.h \
- URAIdentityList.h \
- URAIdentity.h \
- U-RNTI.h \
- UnknownU-RNTIIndication.h \
- HNBAP-PDU.h \
- InitiatingMessage.h \
- SuccessfulOutcome.h \
- UnsuccessfulOutcome.h \
- HNBRegisterRequest.h \
- HNBRegisterAccept.h \
- HNBRegisterReject.h \
- UERegisterRequest.h \
- UERegisterAccept.h \
- UERegisterReject.h \
- UEDe-Register.h \
- HNBDe-Register.h \
- ErrorIndication.h \
- CSGMembershipUpdate.h \
- TNLUpdateRequest.h \
- TNLUpdateResponse.h \
- TNLUpdateFailure.h \
- HNBConfigTransferRequest.h \
- HNBConfigTransferResponse.h \
- RelocationComplete.h \
- U-RNTIQueryRequest.h \
- U-RNTIQueryResponse.h \
- PrivateMessage.h \
- IE.h
+ HNBAP_Criticality.h \
+ HNBAP_Presence.h \
+ HNBAP_PrivateIE-ID.h \
+ HNBAP_ProcedureCode.h \
+ HNBAP_ProtocolIE-ID.h \
+ HNBAP_TriggeringMessage.h \
+ HNBAP_IE-Extensions.h \
+ HNBAP_Access-stratum-release-indicator.h \
+ HNBAP_AccessResult.h \
+ HNBAP_AltitudeAndDirection.h \
+ HNBAP_BackoffTimer.h \
+ HNBAP_BindingID.h \
+ HNBAP_Cause.h \
+ HNBAP_CauseRadioNetwork.h \
+ HNBAP_CauseTransport.h \
+ HNBAP_CauseProtocol.h \
+ HNBAP_CauseMisc.h \
+ HNBAP_CellIdentity.h \
+ HNBAP_CELL-FACHMobilitySupport.h \
+ HNBAP_Context-ID.h \
+ HNBAP_CriticalityDiagnostics.h \
+ HNBAP_CriticalityDiagnostics-IE-List.h \
+ HNBAP_CSG-ID.h \
+ HNBAP_CSG-Capability.h \
+ HNBAP_CSGMembershipStatus.h \
+ HNBAP_CGI.h \
+ HNBAP_CI.h \
+ HNBAP_CN-DomainIndicator.h \
+ HNBAP_ESN.h \
+ HNBAP_GeographicalLocation.h \
+ HNBAP_GeographicalCoordinates.h \
+ HNBAP_GTP-TEI.h \
+ HNBAP_HNBCapacity.h \
+ HNBAP_HNB-Cell-Access-Mode.h \
+ HNBAP_HNB-Cell-Identifier.h \
+ HNBAP_HNB-GWResponse.h \
+ HNBAP_HNB-RNL-Identity.h \
+ HNBAP_HNBConfigInfo.h \
+ HNBAP_ConfigurationInformation.h \
+ HNBAP_HNBConfigurationInformationProvided.h \
+ HNBAP_HNBConfigurationInformationMissing.h \
+ HNBAP_HNB-Location-Information.h \
+ HNBAP_HNB-Identity.h \
+ HNBAP_HNB-Identity-Info.h \
+ HNBAP_IMEI.h \
+ HNBAP_IMSI.h \
+ HNBAP_IMSIDS41.h \
+ HNBAP_IMSIESN.h \
+ HNBAP_IP-Address.h \
+ HNBAP_Ipv4Address.h \
+ HNBAP_Ipv6Address.h \
+ HNBAP_Iurh-Signalling-TNL-AddressList.h \
+ HNBAP_LAC.h \
+ HNBAP_LAI.h \
+ HNBAP_MacroCoverageInformation.h \
+ HNBAP_MacroCellID.h \
+ HNBAP_MuxPortNumber.h \
+ HNBAP_NeighbourCellIdentityList.h \
+ HNBAP_NeighbourIdentity.h \
+ HNBAP_NeighbourInfoList.h \
+ HNBAP_AdditionalNeighbourInfoList.h \
+ HNBAP_NeighbourInfoRequestList.h \
+ HNBAP_NeighbourInfoRequestItem.h \
+ HNBAP_PLMNidentity.h \
+ HNBAP_PSC.h \
+ HNBAP_PTMSI.h \
+ HNBAP_PTMSIRAI.h \
+ HNBAP_RAB-ID.h \
+ HNBAP_RABList.h \
+ HNBAP_RABListItem.h \
+ HNBAP_RAC.h \
+ HNBAP_RAI.h \
+ HNBAP_Registration-Cause.h \
+ HNBAP_RNC-ID.h \
+ HNBAP_SAC.h \
+ HNBAP_S-RNTIPrefix.h \
+ HNBAP_TMSILAI.h \
+ HNBAP_TMSIDS41.h \
+ HNBAP_TransportInfo.h \
+ HNBAP_TransportLayerAddress.h \
+ HNBAP_Tunnel-Information.h \
+ HNBAP_TypeOfError.h \
+ HNBAP_UDP-Port-Number.h \
+ HNBAP_UE-Capabilities.h \
+ HNBAP_UTRANCellID.h \
+ HNBAP_UE-Identity.h \
+ HNBAP_Update-cause.h \
+ HNBAP_URAIdentityList.h \
+ HNBAP_URAIdentity.h \
+ HNBAP_U-RNTI.h \
+ HNBAP_UnknownU-RNTIIndication.h \
+ HNBAP_HNBAP-PDU.h \
+ HNBAP_InitiatingMessage.h \
+ HNBAP_SuccessfulOutcome.h \
+ HNBAP_UnsuccessfulOutcome.h \
+ HNBAP_HNBRegisterRequest.h \
+ HNBAP_HNBRegisterAccept.h \
+ HNBAP_HNBRegisterReject.h \
+ HNBAP_UERegisterRequest.h \
+ HNBAP_UERegisterAccept.h \
+ HNBAP_UERegisterReject.h \
+ HNBAP_UEDe-Register.h \
+ HNBAP_HNBDe-Register.h \
+ HNBAP_ErrorIndication.h \
+ HNBAP_CSGMembershipUpdate.h \
+ HNBAP_TNLUpdateRequest.h \
+ HNBAP_TNLUpdateResponse.h \
+ HNBAP_TNLUpdateFailure.h \
+ HNBAP_HNBConfigTransferRequest.h \
+ HNBAP_HNBConfigTransferResponse.h \
+ HNBAP_RelocationComplete.h \
+ HNBAP_U-RNTIQueryRequest.h \
+ HNBAP_U-RNTIQueryResponse.h \
+ HNBAP_PrivateMessage.h \
+ HNBAP_IE.h
AM_CFLAGS = -I$(top_srcdir)/include $(ASN1C_CFLAGS) $(OSMOCORE_CFLAGS)
@@ -243,7 +243,7 @@ libosmo_asn1_hnbap_la_LIBADD=$(ASN1C_LDADD)
regen: regenerate-from-asn1-source
regenerate-from-asn1-source:
- asn1c -R -gen-PER -fnative-types $(HNBAP_ASN1)/HNBAP-CommonDataTypes.asn $(HNBAP_ASN1)/HNBAP-Constants.asn $(HNBAP_ASN1)/HNBAP-IEs.asn $(HNBAP_ASN1)/HNBAP-PDU.asn
+ ASN1C_PREFIX="HNBAP_" asn1c -R -gen-PER -fnative-types $(HNBAP_ASN1)/HNBAP-CommonDataTypes.asn $(HNBAP_ASN1)/HNBAP-Constants.asn $(HNBAP_ASN1)/HNBAP-IEs.asn $(HNBAP_ASN1)/HNBAP-PDU.asn
# change include style to `#include <dir/foo.h>'
$(top_srcdir)/move-asn1-header-files.sh osmocom/hnbap $(ASN_MODULE_INC)
# Finally copy *.c from buildir to srcdir:
diff --git a/src/hnbap/NeighbourCellIdentityList.c b/src/hnbap/NeighbourCellIdentityList.c
deleted file mode 100644
index 7ec95bf..0000000
--- a/src/hnbap/NeighbourCellIdentityList.c
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#include <osmocom/hnbap/NeighbourCellIdentityList.h>
-
-static asn_per_constraints_t asn_PER_type_NeighbourCellIdentityList_constr_1 GCC_NOTUSED = {
- { APC_UNCONSTRAINED, -1, -1, 0, 0 },
- { APC_CONSTRAINED, 8, 8, 0l, 128l } /* (SIZE(0..128)) */,
- 0, 0 /* No PER value map */
-};
-static asn_TYPE_member_t asn_MBR_NeighbourCellIdentityList_1[] = {
- { ATF_POINTER, 0, 0,
- -1 /* Ambiguous tag (CHOICE?) */,
- 0,
- &asn_DEF_NeighbourIdentity,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- ""
- },
-};
-static const ber_tlv_tag_t asn_DEF_NeighbourCellIdentityList_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_SET_OF_specifics_t asn_SPC_NeighbourCellIdentityList_specs_1 = {
- sizeof(struct NeighbourCellIdentityList),
- offsetof(struct NeighbourCellIdentityList, _asn_ctx),
- 2, /* XER encoding is XMLValueList */
-};
-asn_TYPE_descriptor_t asn_DEF_NeighbourCellIdentityList = {
- "NeighbourCellIdentityList",
- "NeighbourCellIdentityList",
- 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,
- SEQUENCE_OF_decode_aper,
- SEQUENCE_OF_encode_aper,
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_NeighbourCellIdentityList_tags_1,
- sizeof(asn_DEF_NeighbourCellIdentityList_tags_1)
- /sizeof(asn_DEF_NeighbourCellIdentityList_tags_1[0]), /* 1 */
- asn_DEF_NeighbourCellIdentityList_tags_1, /* Same as above */
- sizeof(asn_DEF_NeighbourCellIdentityList_tags_1)
- /sizeof(asn_DEF_NeighbourCellIdentityList_tags_1[0]), /* 1 */
- &asn_PER_type_NeighbourCellIdentityList_constr_1,
- asn_MBR_NeighbourCellIdentityList_1,
- 1, /* Single element */
- &asn_SPC_NeighbourCellIdentityList_specs_1 /* Additional specs */
-};
-
diff --git a/src/hnbap/NeighbourInfoList.c b/src/hnbap/NeighbourInfoList.c
deleted file mode 100644
index 17ec507..0000000
--- a/src/hnbap/NeighbourInfoList.c
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#include <osmocom/hnbap/NeighbourInfoList.h>
-
-static asn_per_constraints_t asn_PER_type_NeighbourInfoList_constr_1 GCC_NOTUSED = {
- { APC_UNCONSTRAINED, -1, -1, 0, 0 },
- { APC_CONSTRAINED, 5, 5, 1l, 32l } /* (SIZE(1..32)) */,
- 0, 0 /* No PER value map */
-};
-static asn_TYPE_member_t asn_MBR_NeighbourInfoList_1[] = {
- { ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
- 0,
- &asn_DEF_HNBConfigInfo,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- ""
- },
-};
-static const ber_tlv_tag_t asn_DEF_NeighbourInfoList_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_SET_OF_specifics_t asn_SPC_NeighbourInfoList_specs_1 = {
- sizeof(struct NeighbourInfoList),
- offsetof(struct NeighbourInfoList, _asn_ctx),
- 0, /* XER encoding is XMLDelimitedItemList */
-};
-asn_TYPE_descriptor_t asn_DEF_NeighbourInfoList = {
- "NeighbourInfoList",
- "NeighbourInfoList",
- 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,
- SEQUENCE_OF_decode_aper,
- SEQUENCE_OF_encode_aper,
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_NeighbourInfoList_tags_1,
- sizeof(asn_DEF_NeighbourInfoList_tags_1)
- /sizeof(asn_DEF_NeighbourInfoList_tags_1[0]), /* 1 */
- asn_DEF_NeighbourInfoList_tags_1, /* Same as above */
- sizeof(asn_DEF_NeighbourInfoList_tags_1)
- /sizeof(asn_DEF_NeighbourInfoList_tags_1[0]), /* 1 */
- &asn_PER_type_NeighbourInfoList_constr_1,
- asn_MBR_NeighbourInfoList_1,
- 1, /* Single element */
- &asn_SPC_NeighbourInfoList_specs_1 /* Additional specs */
-};
-
diff --git a/src/hnbap/NeighbourInfoRequestItem.c b/src/hnbap/NeighbourInfoRequestItem.c
deleted file mode 100644
index e62eee7..0000000
--- a/src/hnbap/NeighbourInfoRequestItem.c
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#include <osmocom/hnbap/NeighbourInfoRequestItem.h>
-
-static asn_TYPE_member_t asn_MBR_NeighbourInfoRequestItem_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct NeighbourInfoRequestItem, hnb_RNL_Identity),
- (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
- +1, /* EXPLICIT tag at current level */
- &asn_DEF_HNB_RNL_Identity,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- "hnb-RNL-Identity"
- },
- { ATF_POINTER, 1, offsetof(struct NeighbourInfoRequestItem, iE_Extensions),
- (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_IE_Extensions,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- "iE-Extensions"
- },
-};
-static const int asn_MAP_NeighbourInfoRequestItem_oms_1[] = { 1 };
-static const ber_tlv_tag_t asn_DEF_NeighbourInfoRequestItem_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static const asn_TYPE_tag2member_t asn_MAP_NeighbourInfoRequestItem_tag2el_1[] = {
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* hnb-RNL-Identity */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* iE-Extensions */
-};
-static asn_SEQUENCE_specifics_t asn_SPC_NeighbourInfoRequestItem_specs_1 = {
- sizeof(struct NeighbourInfoRequestItem),
- offsetof(struct NeighbourInfoRequestItem, _asn_ctx),
- asn_MAP_NeighbourInfoRequestItem_tag2el_1,
- 2, /* Count of tags in the map */
- asn_MAP_NeighbourInfoRequestItem_oms_1, /* Optional members */
- 1, 0, /* Root/Additions */
- 1, /* Start extensions */
- 3 /* Stop extensions */
-};
-asn_TYPE_descriptor_t asn_DEF_NeighbourInfoRequestItem = {
- "NeighbourInfoRequestItem",
- "NeighbourInfoRequestItem",
- SEQUENCE_free,
- SEQUENCE_print,
- SEQUENCE_constraint,
- SEQUENCE_decode_ber,
- SEQUENCE_encode_der,
- SEQUENCE_decode_xer,
- SEQUENCE_encode_xer,
- SEQUENCE_decode_uper,
- SEQUENCE_encode_uper,
- SEQUENCE_decode_aper,
- SEQUENCE_encode_aper,
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_NeighbourInfoRequestItem_tags_1,
- sizeof(asn_DEF_NeighbourInfoRequestItem_tags_1)
- /sizeof(asn_DEF_NeighbourInfoRequestItem_tags_1[0]), /* 1 */
- asn_DEF_NeighbourInfoRequestItem_tags_1, /* Same as above */
- sizeof(asn_DEF_NeighbourInfoRequestItem_tags_1)
- /sizeof(asn_DEF_NeighbourInfoRequestItem_tags_1[0]), /* 1 */
- 0, /* No PER visible constraints */
- asn_MBR_NeighbourInfoRequestItem_1,
- 2, /* Elements count */
- &asn_SPC_NeighbourInfoRequestItem_specs_1 /* Additional specs */
-};
-
diff --git a/src/hnbap/NeighbourInfoRequestList.c b/src/hnbap/NeighbourInfoRequestList.c
deleted file mode 100644
index 1b63ecb..0000000
--- a/src/hnbap/NeighbourInfoRequestList.c
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#include <osmocom/hnbap/NeighbourInfoRequestList.h>
-
-static asn_per_constraints_t asn_PER_type_NeighbourInfoRequestList_constr_1 GCC_NOTUSED = {
- { APC_UNCONSTRAINED, -1, -1, 0, 0 },
- { APC_CONSTRAINED, 5, 5, 1l, 32l } /* (SIZE(1..32)) */,
- 0, 0 /* No PER value map */
-};
-static asn_TYPE_member_t asn_MBR_NeighbourInfoRequestList_1[] = {
- { ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
- 0,
- &asn_DEF_NeighbourInfoRequestItem,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- ""
- },
-};
-static const ber_tlv_tag_t asn_DEF_NeighbourInfoRequestList_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_SET_OF_specifics_t asn_SPC_NeighbourInfoRequestList_specs_1 = {
- sizeof(struct NeighbourInfoRequestList),
- offsetof(struct NeighbourInfoRequestList, _asn_ctx),
- 0, /* XER encoding is XMLDelimitedItemList */
-};
-asn_TYPE_descriptor_t asn_DEF_NeighbourInfoRequestList = {
- "NeighbourInfoRequestList",
- "NeighbourInfoRequestList",
- 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,
- SEQUENCE_OF_decode_aper,
- SEQUENCE_OF_encode_aper,
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_NeighbourInfoRequestList_tags_1,
- sizeof(asn_DEF_NeighbourInfoRequestList_tags_1)
- /sizeof(asn_DEF_NeighbourInfoRequestList_tags_1[0]), /* 1 */
- asn_DEF_NeighbourInfoRequestList_tags_1, /* Same as above */
- sizeof(asn_DEF_NeighbourInfoRequestList_tags_1)
- /sizeof(asn_DEF_NeighbourInfoRequestList_tags_1[0]), /* 1 */
- &asn_PER_type_NeighbourInfoRequestList_constr_1,
- asn_MBR_NeighbourInfoRequestList_1,
- 1, /* Single element */
- &asn_SPC_NeighbourInfoRequestList_specs_1 /* Additional specs */
-};
-
diff --git a/src/hnbap/RAB-ID.c b/src/hnbap/RAB-ID.c
deleted file mode 100644
index 33fa86d..0000000
--- a/src/hnbap/RAB-ID.c
+++ /dev/null
@@ -1,172 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#include <osmocom/hnbap/RAB-ID.h>
-
-int
-RAB_ID_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 == 8l)) {
- /* 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
-RAB_ID_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;
- td->aper_decoder = asn_DEF_BIT_STRING.aper_decoder;
- td->aper_encoder = asn_DEF_BIT_STRING.aper_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
-RAB_ID_free(asn_TYPE_descriptor_t *td,
- void *struct_ptr, int contents_only) {
- RAB_ID_1_inherit_TYPE_descriptor(td);
- td->free_struct(td, struct_ptr, contents_only);
-}
-
-int
-RAB_ID_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
- int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
- RAB_ID_1_inherit_TYPE_descriptor(td);
- return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
-}
-
-asn_dec_rval_t
-RAB_ID_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const void *bufptr, size_t size, int tag_mode) {
- RAB_ID_1_inherit_TYPE_descriptor(td);
- return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
-}
-
-asn_enc_rval_t
-RAB_ID_encode_der(asn_TYPE_descriptor_t *td,
- void *structure, int tag_mode, ber_tlv_tag_t tag,
- asn_app_consume_bytes_f *cb, void *app_key) {
- RAB_ID_1_inherit_TYPE_descriptor(td);
- return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
-}
-
-asn_dec_rval_t
-RAB_ID_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const char *opt_mname, const void *bufptr, size_t size) {
- RAB_ID_1_inherit_TYPE_descriptor(td);
- return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
-}
-
-asn_enc_rval_t
-RAB_ID_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
- int ilevel, enum xer_encoder_flags_e flags,
- asn_app_consume_bytes_f *cb, void *app_key) {
- RAB_ID_1_inherit_TYPE_descriptor(td);
- return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
-}
-
-asn_dec_rval_t
-RAB_ID_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- RAB_ID_1_inherit_TYPE_descriptor(td);
- return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
-}
-
-asn_enc_rval_t
-RAB_ID_encode_uper(asn_TYPE_descriptor_t *td,
- asn_per_constraints_t *constraints,
- void *structure, asn_per_outp_t *per_out) {
- RAB_ID_1_inherit_TYPE_descriptor(td);
- return td->uper_encoder(td, constraints, structure, per_out);
-}
-
-asn_enc_rval_t
-RAB_ID_encode_aper(asn_TYPE_descriptor_t *td,
- asn_per_constraints_t *constraints,
- void *structure, asn_per_outp_t *per_out) {
- RAB_ID_1_inherit_TYPE_descriptor(td);
- return td->aper_encoder(td, constraints, structure, per_out);
-}
-
-asn_dec_rval_t
-RAB_ID_decode_aper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
- RAB_ID_1_inherit_TYPE_descriptor(td);
- return td->aper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
-}
-
-static asn_per_constraints_t asn_PER_type_RAB_ID_constr_1 GCC_NOTUSED = {
- { APC_UNCONSTRAINED, -1, -1, 0, 0 },
- { APC_CONSTRAINED, 0, 0, 8l, 8l } /* (SIZE(8..8)) */,
- 0, 0 /* No PER value map */
-};
-static const ber_tlv_tag_t asn_DEF_RAB_ID_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (3 << 2))
-};
-asn_TYPE_descriptor_t asn_DEF_RAB_ID = {
- "RAB-ID",
- "RAB-ID",
- RAB_ID_free,
- RAB_ID_print,
- RAB_ID_constraint,
- RAB_ID_decode_ber,
- RAB_ID_encode_der,
- RAB_ID_decode_xer,
- RAB_ID_encode_xer,
- RAB_ID_decode_uper,
- RAB_ID_encode_uper,
- RAB_ID_decode_aper,
- RAB_ID_encode_aper,
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_RAB_ID_tags_1,
- sizeof(asn_DEF_RAB_ID_tags_1)
- /sizeof(asn_DEF_RAB_ID_tags_1[0]), /* 1 */
- asn_DEF_RAB_ID_tags_1, /* Same as above */
- sizeof(asn_DEF_RAB_ID_tags_1)
- /sizeof(asn_DEF_RAB_ID_tags_1[0]), /* 1 */
- &asn_PER_type_RAB_ID_constr_1,
- 0, 0, /* No members */
- 0 /* No specifics */
-};
-
diff --git a/src/hnbap/RABList.c b/src/hnbap/RABList.c
deleted file mode 100644
index cd970a2..0000000
--- a/src/hnbap/RABList.c
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#include <osmocom/hnbap/RABList.h>
-
-static asn_per_constraints_t asn_PER_type_RABList_constr_1 GCC_NOTUSED = {
- { APC_UNCONSTRAINED, -1, -1, 0, 0 },
- { APC_CONSTRAINED, 8, 8, 1l, 256l } /* (SIZE(1..256)) */,
- 0, 0 /* No PER value map */
-};
-static asn_TYPE_member_t asn_MBR_RABList_1[] = {
- { ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
- 0,
- &asn_DEF_RABListItem,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- ""
- },
-};
-static const ber_tlv_tag_t asn_DEF_RABList_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_SET_OF_specifics_t asn_SPC_RABList_specs_1 = {
- sizeof(struct RABList),
- offsetof(struct RABList, _asn_ctx),
- 0, /* XER encoding is XMLDelimitedItemList */
-};
-asn_TYPE_descriptor_t asn_DEF_RABList = {
- "RABList",
- "RABList",
- 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,
- SEQUENCE_OF_decode_aper,
- SEQUENCE_OF_encode_aper,
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_RABList_tags_1,
- sizeof(asn_DEF_RABList_tags_1)
- /sizeof(asn_DEF_RABList_tags_1[0]), /* 1 */
- asn_DEF_RABList_tags_1, /* Same as above */
- sizeof(asn_DEF_RABList_tags_1)
- /sizeof(asn_DEF_RABList_tags_1[0]), /* 1 */
- &asn_PER_type_RABList_constr_1,
- asn_MBR_RABList_1,
- 1, /* Single element */
- &asn_SPC_RABList_specs_1 /* Additional specs */
-};
-
diff --git a/src/hnbap/URAIdentityList.c b/src/hnbap/URAIdentityList.c
deleted file mode 100644
index 729f822..0000000
--- a/src/hnbap/URAIdentityList.c
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
- * From ASN.1 module "HNBAP-IEs"
- * found in "../../asn1/hnbap/HNBAP-IEs.asn"
- * `asn1c -R -gen-PER`
- */
-
-#include <osmocom/hnbap/URAIdentityList.h>
-
-static asn_per_constraints_t asn_PER_type_URAIdentityList_constr_1 GCC_NOTUSED = {
- { APC_UNCONSTRAINED, -1, -1, 0, 0 },
- { APC_CONSTRAINED, 4, 4, 0l, 8l } /* (SIZE(0..8)) */,
- 0, 0 /* No PER value map */
-};
-static asn_TYPE_member_t asn_MBR_URAIdentityList_1[] = {
- { ATF_POINTER, 0, 0,
- (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
- 0,
- &asn_DEF_URAIdentity,
- 0, /* Defer constraints checking to the member type */
- 0, /* No PER visible constraints */
- 0,
- ""
- },
-};
-static const ber_tlv_tag_t asn_DEF_URAIdentityList_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
-};
-static asn_SET_OF_specifics_t asn_SPC_URAIdentityList_specs_1 = {
- sizeof(struct URAIdentityList),
- offsetof(struct URAIdentityList, _asn_ctx),
- 0, /* XER encoding is XMLDelimitedItemList */
-};
-asn_TYPE_descriptor_t asn_DEF_URAIdentityList = {
- "URAIdentityList",
- "URAIdentityList",
- 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,
- SEQUENCE_OF_decode_aper,
- SEQUENCE_OF_encode_aper,
- 0, /* Use generic outmost tag fetcher */
- asn_DEF_URAIdentityList_tags_1,
- sizeof(asn_DEF_URAIdentityList_tags_1)
- /sizeof(asn_DEF_URAIdentityList_tags_1[0]), /* 1 */
- asn_DEF_URAIdentityList_tags_1, /* Same as above */
- sizeof(asn_DEF_URAIdentityList_tags_1)
- /sizeof(asn_DEF_URAIdentityList_tags_1[0]), /* 1 */
- &asn_PER_type_URAIdentityList_constr_1,
- asn_MBR_URAIdentityList_1,
- 1, /* Single element */
- &asn_SPC_URAIdentityList_specs_1 /* Additional specs */
-};
-
diff --git a/src/hnbap_common.c b/src/hnbap_common.c
index 4e79467..ac42959 100644
--- a/src/hnbap_common.c
+++ b/src/hnbap_common.c
@@ -23,81 +23,80 @@
#include <osmocom/core/msgb.h>
-#include <osmocom/hnbap/HNBAP-PDU.h>
#include <osmocom/hnbap/hnbap_common.h>
#include <osmocom/iuh/hnbgw.h>
static const struct value_string hnbap_cause_radio_vals[] = {
- { CauseRadioNetwork_overload, "overload" },
- { CauseRadioNetwork_unauthorised_Location, "unauthorized location" },
- { CauseRadioNetwork_unauthorised_HNB, "unauthorized HNB" },
- { CauseRadioNetwork_hNB_parameter_mismatch, "HNB parameter mismatch" },
- { CauseRadioNetwork_invalid_UE_identity, "invalid UE identity" },
- { CauseRadioNetwork_uE_not_allowed_on_this_HNB,
+ { HNBAP_CauseRadioNetwork_overload, "overload" },
+ { HNBAP_CauseRadioNetwork_unauthorised_Location, "unauthorized location" },
+ { HNBAP_CauseRadioNetwork_unauthorised_HNB, "unauthorized HNB" },
+ { HNBAP_CauseRadioNetwork_hNB_parameter_mismatch, "HNB parameter mismatch" },
+ { HNBAP_CauseRadioNetwork_invalid_UE_identity, "invalid UE identity" },
+ { HNBAP_CauseRadioNetwork_uE_not_allowed_on_this_HNB,
"UE not allowed on this HNB" },
- { CauseRadioNetwork_uE_unauthorised, "unauthorised UE" },
- { CauseRadioNetwork_connection_with_UE_lost, "connection with UE lost" },
- { CauseRadioNetwork_ue_RRC_release, "UE RRC release" },
- { CauseRadioNetwork_hNB_not_registered, "HNB not registered" },
- { CauseRadioNetwork_unspecified, "unspecified" },
- { CauseRadioNetwork_normal, "normal" },
- { CauseRadioNetwork_uE_relocated, "UE relocated" },
- { CauseRadioNetwork_ue_registered_in_another_HNB,
+ { HNBAP_CauseRadioNetwork_uE_unauthorised, "unauthorised UE" },
+ { HNBAP_CauseRadioNetwork_connection_with_UE_lost, "connection with UE lost" },
+ { HNBAP_CauseRadioNetwork_ue_RRC_release, "UE RRC release" },
+ { HNBAP_CauseRadioNetwork_hNB_not_registered, "HNB not registered" },
+ { HNBAP_CauseRadioNetwork_unspecified, "unspecified" },
+ { HNBAP_CauseRadioNetwork_normal, "normal" },
+ { HNBAP_CauseRadioNetwork_uE_relocated, "UE relocated" },
+ { HNBAP_CauseRadioNetwork_ue_registered_in_another_HNB,
"UE registered in another HNB" },
{ 0, NULL }
};
static const struct value_string hnbap_cause_transp_vals[] = {
- { CauseTransport_transport_resource_unavailable,
+ { HNBAP_CauseTransport_transport_resource_unavailable,
"transport resource unavailable" },
- { CauseTransport_unspecified, "unspecified" },
+ { HNBAP_CauseTransport_unspecified, "unspecified" },
{ 0, NULL }
};
static const struct value_string hnbap_cause_prot_vals[] = {
- { CauseProtocol_transfer_syntax_error, "syntax error" },
- { CauseProtocol_abstract_syntax_error_reject,
+ { HNBAP_CauseProtocol_transfer_syntax_error, "syntax error" },
+ { HNBAP_CauseProtocol_abstract_syntax_error_reject,
"abstract syntax error; reject" },
- { CauseProtocol_abstract_syntax_error_ignore_and_notify,
+ { HNBAP_CauseProtocol_abstract_syntax_error_ignore_and_notify,
"abstract syntax error; ignore and notify" },
- { CauseProtocol_message_not_compatible_with_receiver_state,
+ { HNBAP_CauseProtocol_message_not_compatible_with_receiver_state,
"message not compatible with receiver state" },
- { CauseProtocol_semantic_error, "semantic error" },
- { CauseProtocol_unspecified, "unspecified" },
- { CauseProtocol_abstract_syntax_error_falsely_constructed_message,
+ { HNBAP_CauseProtocol_semantic_error, "semantic error" },
+ { HNBAP_CauseProtocol_unspecified, "unspecified" },
+ { HNBAP_CauseProtocol_abstract_syntax_error_falsely_constructed_message,
"falsely constructed message" },
{ 0, NULL }
};
static const struct value_string hnbap_cause_misc_vals[] = {
- { CauseMisc_processing_overload, "processing overload" },
- { CauseMisc_hardware_failure, "hardware failure" },
- { CauseMisc_o_and_m_intervention, "OAM intervention" },
- { CauseMisc_unspecified, "unspecified" },
+ { HNBAP_CauseMisc_processing_overload, "processing overload" },
+ { HNBAP_CauseMisc_hardware_failure, "hardware failure" },
+ { HNBAP_CauseMisc_o_and_m_intervention, "OAM intervention" },
+ { HNBAP_CauseMisc_unspecified, "unspecified" },
{ 0, NULL }
};
-char *hnbap_cause_str(Cause_t *cause)
+char *hnbap_cause_str(HNBAP_Cause_t *cause)
{
static char buf[32];
switch (cause->present) {
- case Cause_PR_radioNetwork:
+ case HNBAP_Cause_PR_radioNetwork:
snprintf(buf, sizeof(buf), "radio(%s)",
get_value_string(hnbap_cause_radio_vals,
cause->choice.radioNetwork));
break;
- case Cause_PR_transport:
+ case HNBAP_Cause_PR_transport:
snprintf(buf, sizeof(buf), "transport(%s)",
get_value_string(hnbap_cause_transp_vals,
cause->choice.transport));
break;
- case Cause_PR_protocol:
+ case HNBAP_Cause_PR_protocol:
snprintf(buf, sizeof(buf), "protocol(%s)",
get_value_string(hnbap_cause_prot_vals,
cause->choice.protocol));
break;
- case Cause_PR_misc:
+ case HNBAP_Cause_PR_misc:
snprintf(buf, sizeof(buf), "misc(%s)",
get_value_string(hnbap_cause_misc_vals,
cause->choice.misc));
@@ -111,7 +110,7 @@ static struct msgb *hnbap_msgb_alloc(void)
return msgb_alloc(1024, "HNBAP Tx");
}
-static struct msgb *_hnbap_gen_msg(HNBAP_PDU_t *pdu)
+static struct msgb *_hnbap_gen_msg(HNBAP_HNBAP_PDU_t *pdu)
{
struct msgb *msg = hnbap_msgb_alloc();
asn_enc_rval_t rval;
@@ -119,7 +118,7 @@ static struct msgb *_hnbap_gen_msg(HNBAP_PDU_t *pdu)
if (!msg)
return NULL;
- rval = aper_encode_to_buffer(&asn_DEF_HNBAP_PDU, pdu,
+ rval = aper_encode_to_buffer(&asn_DEF_HNBAP_HNBAP_PDU, pdu,
msg->data, msgb_tailroom(msg));
if (rval.encoded < 0) {
LOGP(DHNBAP, LOGL_ERROR, "Error encoding type: %s\n",
@@ -133,17 +132,17 @@ static struct msgb *_hnbap_gen_msg(HNBAP_PDU_t *pdu)
}
struct msgb *hnbap_generate_initiating_message(
- e_ProcedureCode procedureCode,
- Criticality_t criticality,
+ e_HNBAP_ProcedureCode procedureCode,
+ HNBAP_Criticality_t criticality,
asn_TYPE_descriptor_t * td, void *sptr)
{
struct msgb *msg;
- HNBAP_PDU_t pdu;
+ HNBAP_HNBAP_PDU_t pdu;
int rc;
- memset(&pdu, 0, sizeof(HNBAP_PDU_t));
+ memset(&pdu, 0, sizeof(HNBAP_HNBAP_PDU_t));
- pdu.present = HNBAP_PDU_PR_initiatingMessage;
+ pdu.present = HNBAP_HNBAP_PDU_PR_initiatingMessage;
pdu.choice.initiatingMessage.procedureCode = procedureCode;
pdu.choice.initiatingMessage.criticality = criticality;
rc = ANY_fromType_aper(&pdu.choice.initiatingMessage.value, td, sptr);
@@ -153,24 +152,24 @@ struct msgb *hnbap_generate_initiating_message(
}
msg = _hnbap_gen_msg(&pdu);
- ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_HNBAP_PDU, &pdu);
+ ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_HNBAP_HNBAP_PDU, &pdu);
return msg;
}
struct msgb *hnbap_generate_successful_outcome(
- e_ProcedureCode procedureCode,
- Criticality_t criticality,
+ e_HNBAP_ProcedureCode procedureCode,
+ HNBAP_Criticality_t criticality,
asn_TYPE_descriptor_t * td,
void *sptr)
{
struct msgb *msg;
- HNBAP_PDU_t pdu;
+ HNBAP_HNBAP_PDU_t pdu;
int rc;
- memset(&pdu, 0, sizeof(HNBAP_PDU_t));
+ memset(&pdu, 0, sizeof(HNBAP_HNBAP_PDU_t));
- pdu.present = HNBAP_PDU_PR_successfulOutcome;
+ pdu.present = HNBAP_HNBAP_PDU_PR_successfulOutcome;
pdu.choice.successfulOutcome.procedureCode = procedureCode;
pdu.choice.successfulOutcome.criticality = criticality;
rc = ANY_fromType_aper(&pdu.choice.successfulOutcome.value, td, sptr);
@@ -180,24 +179,24 @@ struct msgb *hnbap_generate_successful_outcome(
}
msg = _hnbap_gen_msg(&pdu);
- ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_HNBAP_PDU, &pdu);
+ ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_HNBAP_HNBAP_PDU, &pdu);
return msg;
}
struct msgb *hnbap_generate_unsuccessful_outcome(
- e_ProcedureCode procedureCode,
- Criticality_t criticality,
+ e_HNBAP_ProcedureCode procedureCode,
+ HNBAP_Criticality_t criticality,
asn_TYPE_descriptor_t * td,
void *sptr)
{
struct msgb *msg;
- HNBAP_PDU_t pdu;
+ HNBAP_HNBAP_PDU_t pdu;
int rc;
- memset(&pdu, 0, sizeof(HNBAP_PDU_t));
+ memset(&pdu, 0, sizeof(HNBAP_HNBAP_PDU_t));
- pdu.present = HNBAP_PDU_PR_unsuccessfulOutcome;
+ pdu.present = HNBAP_HNBAP_PDU_PR_unsuccessfulOutcome;
pdu.choice.unsuccessfulOutcome.procedureCode = procedureCode;
pdu.choice.unsuccessfulOutcome.criticality = criticality;
rc = ANY_fromType_aper(&pdu.choice.unsuccessfulOutcome.value, td, sptr);
@@ -207,20 +206,20 @@ struct msgb *hnbap_generate_unsuccessful_outcome(
}
msg = _hnbap_gen_msg(&pdu);
- ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_HNBAP_PDU, &pdu);
+ ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_HNBAP_HNBAP_PDU, &pdu);
return msg;
}
-IE_t *hnbap_new_ie(ProtocolIE_ID_t id,
- Criticality_t criticality,
+HNBAP_IE_t *hnbap_new_ie(HNBAP_ProtocolIE_ID_t id,
+ HNBAP_Criticality_t criticality,
asn_TYPE_descriptor_t * type, void *sptr)
{
- IE_t *buff;
+ HNBAP_IE_t *buff;
int rc;
- if ((buff = CALLOC(1, sizeof(IE_t))) == NULL) {
+ if ((buff = CALLOC(1, sizeof(HNBAP_IE_t))) == NULL) {
// Possible error on malloc
return NULL;
}
@@ -236,7 +235,7 @@ IE_t *hnbap_new_ie(ProtocolIE_ID_t id,
}
if (asn1_xer_print)
- if (xer_fprint(stdout, &asn_DEF_IE, buff) < 0) {
+ if (xer_fprint(stdout, &asn_DEF_HNBAP_IE, buff) < 0) {
FREEMEM(buff);
return NULL;
}
diff --git a/src/hnbgw_hnbap.c b/src/hnbgw_hnbap.c
index bc503d3..f56cc9b 100644
--- a/src/hnbgw_hnbap.c
+++ b/src/hnbgw_hnbap.c
@@ -51,14 +51,14 @@ static int hnbgw_hnbap_tx(struct hnb_context *ctx, struct msgb *msg)
static int hnbgw_tx_hnb_register_rej(struct hnb_context *ctx)
{
- HNBRegisterReject_t reject_out;
- HNBRegisterRejectIEs_t reject;
+ HNBAP_HNBRegisterReject_t reject_out;
+ HNBAP_HNBRegisterRejectIEs_t reject;
struct msgb *msg;
int rc;
reject.presenceMask = 0,
- reject.cause.present = Cause_PR_radioNetwork;
- reject.cause.choice.radioNetwork = CauseRadioNetwork_unspecified;
+ reject.cause.present = HNBAP_Cause_PR_radioNetwork;
+ reject.cause.choice.radioNetwork = HNBAP_CauseRadioNetwork_unspecified;
/* encode the Information Elements */
memset(&reject_out, 0, sizeof(reject_out));
@@ -70,12 +70,12 @@ static int hnbgw_tx_hnb_register_rej(struct hnb_context *ctx)
}
/* generate a successfull outcome PDU */
- msg = hnbap_generate_unsuccessful_outcome(ProcedureCode_id_HNBRegister,
- Criticality_reject,
- &asn_DEF_HNBRegisterReject,
+ msg = hnbap_generate_unsuccessful_outcome(HNBAP_ProcedureCode_id_HNBRegister,
+ HNBAP_Criticality_reject,
+ &asn_DEF_HNBAP_HNBRegisterReject,
&reject_out);
- ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_HNBRegisterReject, &reject_out);
+ ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_HNBAP_HNBRegisterReject, &reject_out);
rc = hnbgw_hnbap_tx(ctx, msg);
if (rc == 0) {
@@ -93,12 +93,12 @@ static int hnbgw_tx_hnb_register_rej(struct hnb_context *ctx)
static int hnbgw_tx_hnb_register_acc(struct hnb_context *ctx)
{
- HNBRegisterAccept_t accept_out;
+ HNBAP_HNBRegisterAccept_t accept_out;
struct msgb *msg;
int rc;
/* Single required response IE: RNC-ID */
- HNBRegisterAcceptIEs_t accept = {
+ HNBAP_HNBRegisterAcceptIEs_t accept = {
.rnc_id = ctx->gw->config.rnc_id
};
@@ -112,12 +112,12 @@ static int hnbgw_tx_hnb_register_acc(struct hnb_context *ctx)
}
/* generate a successfull outcome PDU */
- msg = hnbap_generate_successful_outcome(ProcedureCode_id_HNBRegister,
- Criticality_reject,
- &asn_DEF_HNBRegisterAccept,
+ msg = hnbap_generate_successful_outcome(HNBAP_ProcedureCode_id_HNBRegister,
+ HNBAP_Criticality_reject,
+ &asn_DEF_HNBAP_HNBRegisterAccept,
&accept_out);
- ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_HNBRegisterAccept, &accept_out);
+ ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_HNBAP_HNBRegisterAccept, &accept_out);
LOGHNB(ctx, DHNBAP, LOGL_NOTICE, "Accepting HNB-REGISTER-REQ from %s\n", ctx->identity_info);
@@ -127,8 +127,8 @@ static int hnbgw_tx_hnb_register_acc(struct hnb_context *ctx)
static int hnbgw_tx_ue_register_acc(struct ue_context *ue)
{
- UERegisterAccept_t accept_out;
- UERegisterAcceptIEs_t accept;
+ HNBAP_UERegisterAccept_t accept_out;
+ HNBAP_UERegisterAcceptIEs_t accept;
struct msgb *msg;
uint8_t encoded_imsi[10];
uint32_t ctx_id;
@@ -139,7 +139,7 @@ static int hnbgw_tx_ue_register_acc(struct ue_context *ue)
sizeof(encoded_imsi), ue->imsi);
memset(&accept, 0, sizeof(accept));
- accept.uE_Identity.present = UE_Identity_PR_iMSI;
+ accept.uE_Identity.present = HNBAP_UE_Identity_PR_iMSI;
OCTET_STRING_fromBuf(&accept.uE_Identity.choice.iMSI,
(const char *)encoded_imsi, encoded_imsi_len);
asn1_u24_to_bitstring(&accept.context_ID, &ctx_id, ue->context_id);
@@ -150,21 +150,21 @@ static int hnbgw_tx_ue_register_acc(struct ue_context *ue)
return rc;
}
- msg = hnbap_generate_successful_outcome(ProcedureCode_id_UERegister,
- Criticality_reject,
- &asn_DEF_UERegisterAccept,
+ msg = hnbap_generate_successful_outcome(HNBAP_ProcedureCode_id_UERegister,
+ HNBAP_Criticality_reject,
+ &asn_DEF_HNBAP_UERegisterAccept,
&accept_out);
ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_OCTET_STRING, &accept.uE_Identity.choice.iMSI);
- ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_UERegisterAccept, &accept_out);
+ ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_HNBAP_UERegisterAccept, &accept_out);
return hnbgw_hnbap_tx(ue->hnb, msg);
}
-static int hnbgw_tx_ue_register_rej_tmsi(struct hnb_context *hnb, UE_Identity_t *ue_id)
+static int hnbgw_tx_ue_register_rej_tmsi(struct hnb_context *hnb, HNBAP_UE_Identity_t *ue_id)
{
- UERegisterReject_t reject_out;
- UERegisterRejectIEs_t reject;
+ HNBAP_UERegisterReject_t reject_out;
+ HNBAP_UERegisterRejectIEs_t reject;
struct msgb *msg;
int rc;
@@ -173,7 +173,7 @@ static int hnbgw_tx_ue_register_rej_tmsi(struct hnb_context *hnb, UE_Identity_t
/* Copy the identity over to the reject message */
switch (ue_id->present) {
- case UE_Identity_PR_tMSILAI:
+ case HNBAP_UE_Identity_PR_tMSILAI:
LOGHNB(hnb, DHNBAP, LOGL_DEBUG, "REJ UE_Id tMSI %d %s\n", ue_id->choice.tMSILAI.tMSI.size,
osmo_hexdump(ue_id->choice.tMSILAI.tMSI.buf, ue_id->choice.tMSILAI.tMSI.size));
@@ -195,7 +195,7 @@ static int hnbgw_tx_ue_register_rej_tmsi(struct hnb_context *hnb, UE_Identity_t
ue_id->choice.tMSILAI.lAI.lAC.size);
break;
- case UE_Identity_PR_pTMSIRAI:
+ case HNBAP_UE_Identity_PR_pTMSIRAI:
LOGHNB(hnb, DHNBAP, LOGL_DEBUG, "REJ UE_Id pTMSI %d %s\n", ue_id->choice.pTMSIRAI.pTMSI.size,
osmo_hexdump(ue_id->choice.pTMSIRAI.pTMSI.buf, ue_id->choice.pTMSIRAI.pTMSI.size));
@@ -231,22 +231,22 @@ static int hnbgw_tx_ue_register_rej_tmsi(struct hnb_context *hnb, UE_Identity_t
LOGHNB(hnb, DHNBAP, LOGL_ERROR, "Rejecting UE Register Request: TMSI identity registration is switched off\n");
- reject.cause.present = Cause_PR_radioNetwork;
- reject.cause.choice.radioNetwork = CauseRadioNetwork_invalid_UE_identity;
+ reject.cause.present = HNBAP_Cause_PR_radioNetwork;
+ reject.cause.choice.radioNetwork = HNBAP_CauseRadioNetwork_invalid_UE_identity;
memset(&reject_out, 0, sizeof(reject_out));
rc = hnbap_encode_ueregisterrejecties(&reject_out, &reject);
if (rc < 0)
return rc;
- msg = hnbap_generate_unsuccessful_outcome(ProcedureCode_id_UERegister,
- Criticality_reject,
- &asn_DEF_UERegisterReject,
+ msg = hnbap_generate_unsuccessful_outcome(HNBAP_ProcedureCode_id_UERegister,
+ HNBAP_Criticality_reject,
+ &asn_DEF_HNBAP_UERegisterReject,
&reject_out);
/* Free copied identity IEs */
switch (ue_id->present) {
- case UE_Identity_PR_tMSILAI:
+ case HNBAP_UE_Identity_PR_tMSILAI:
ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_BIT_STRING,
&reject.uE_Identity.choice.tMSILAI.tMSI);
ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_OCTET_STRING,
@@ -255,7 +255,7 @@ static int hnbgw_tx_ue_register_rej_tmsi(struct hnb_context *hnb, UE_Identity_t
&reject.uE_Identity.choice.tMSILAI.lAI.lAC);
break;
- case UE_Identity_PR_pTMSIRAI:
+ case HNBAP_UE_Identity_PR_pTMSIRAI:
ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_BIT_STRING,
&reject.uE_Identity.choice.pTMSIRAI.pTMSI);
ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_OCTET_STRING,
@@ -271,15 +271,15 @@ static int hnbgw_tx_ue_register_rej_tmsi(struct hnb_context *hnb, UE_Identity_t
break;
}
- ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_UERegisterReject, &reject_out);
+ ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_HNBAP_UERegisterReject, &reject_out);
return hnbgw_hnbap_tx(hnb, msg);
}
-static int hnbgw_tx_ue_register_acc_tmsi(struct hnb_context *hnb, UE_Identity_t *ue_id)
+static int hnbgw_tx_ue_register_acc_tmsi(struct hnb_context *hnb, HNBAP_UE_Identity_t *ue_id)
{
- UERegisterAccept_t accept_out;
- UERegisterAcceptIEs_t accept;
+ HNBAP_UERegisterAccept_t accept_out;
+ HNBAP_UERegisterAcceptIEs_t accept;
struct msgb *msg;
uint32_t ctx_id;
uint32_t tmsi = 0;
@@ -290,7 +290,7 @@ static int hnbgw_tx_ue_register_acc_tmsi(struct hnb_context *hnb, UE_Identity_t
accept.uE_Identity.present = ue_id->present;
switch (ue_id->present) {
- case UE_Identity_PR_tMSILAI:
+ case HNBAP_UE_Identity_PR_tMSILAI:
BIT_STRING_fromBuf(&accept.uE_Identity.choice.tMSILAI.tMSI,
ue_id->choice.tMSILAI.tMSI.buf,
ue_id->choice.tMSILAI.tMSI.size * 8
@@ -304,7 +304,7 @@ static int hnbgw_tx_ue_register_acc_tmsi(struct hnb_context *hnb, UE_Identity_t
ue_id->choice.tMSILAI.lAI.lAC.size);
break;
- case UE_Identity_PR_pTMSIRAI:
+ case HNBAP_UE_Identity_PR_pTMSIRAI:
BIT_STRING_fromBuf(&accept.uE_Identity.choice.pTMSIRAI.pTMSI,
ue_id->choice.pTMSIRAI.pTMSI.buf,
ue_id->choice.pTMSIRAI.pTMSI.size * 8
@@ -340,13 +340,13 @@ static int hnbgw_tx_ue_register_acc_tmsi(struct hnb_context *hnb, UE_Identity_t
if (rc < 0)
return rc;
- msg = hnbap_generate_successful_outcome(ProcedureCode_id_UERegister,
- Criticality_reject,
- &asn_DEF_UERegisterAccept,
+ msg = hnbap_generate_successful_outcome(HNBAP_ProcedureCode_id_UERegister,
+ HNBAP_Criticality_reject,
+ &asn_DEF_HNBAP_UERegisterAccept,
&accept_out);
switch (ue_id->present) {
- case UE_Identity_PR_tMSILAI:
+ case HNBAP_UE_Identity_PR_tMSILAI:
ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_BIT_STRING,
&accept.uE_Identity.choice.tMSILAI.tMSI);
ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_OCTET_STRING,
@@ -355,7 +355,7 @@ static int hnbgw_tx_ue_register_acc_tmsi(struct hnb_context *hnb, UE_Identity_t
&accept.uE_Identity.choice.tMSILAI.lAI.lAC);
break;
- case UE_Identity_PR_pTMSIRAI:
+ case HNBAP_UE_Identity_PR_pTMSIRAI:
ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_BIT_STRING,
&accept.uE_Identity.choice.pTMSIRAI.pTMSI);
ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_OCTET_STRING,
@@ -371,14 +371,14 @@ static int hnbgw_tx_ue_register_acc_tmsi(struct hnb_context *hnb, UE_Identity_t
break;
}
- ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_UERegisterAccept, &accept_out);
+ ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_HNBAP_UERegisterAccept, &accept_out);
return hnbgw_hnbap_tx(hnb, msg);
}
static int hnbgw_rx_hnb_deregister(struct hnb_context *ctx, ANY_t *in)
{
- HNBDe_RegisterIEs_t ies;
+ HNBAP_HNBDe_RegisterIEs_t ies;
int rc;
rc = hnbap_decode_hnbde_registeries(&ies, in);
@@ -396,7 +396,7 @@ static int hnbgw_rx_hnb_deregister(struct hnb_context *ctx, ANY_t *in)
static int hnbgw_rx_hnb_register_req(struct hnb_context *ctx, ANY_t *in)
{
struct hnb_context *hnb;
- HNBRegisterRequestIEs_t ies;
+ HNBAP_HNBRegisterRequestIEs_t ies;
int rc;
rc = hnbap_decode_hnbregisterrequesties(&ies, in);
@@ -439,7 +439,7 @@ static int hnbgw_rx_hnb_register_req(struct hnb_context *ctx, ANY_t *in)
static int hnbgw_rx_ue_register_req(struct hnb_context *ctx, ANY_t *in)
{
- UERegisterRequestIEs_t ies;
+ HNBAP_UERegisterRequestIEs_t ies;
struct ue_context *ue;
char imsi[16];
int rc;
@@ -449,20 +449,20 @@ static int hnbgw_rx_ue_register_req(struct hnb_context *ctx, ANY_t *in)
return rc;
switch (ies.uE_Identity.present) {
- case UE_Identity_PR_iMSI:
+ case HNBAP_UE_Identity_PR_iMSI:
ranap_bcd_decode(imsi, sizeof(imsi), ies.uE_Identity.choice.iMSI.buf,
ies.uE_Identity.choice.iMSI.size);
break;
- case UE_Identity_PR_iMSIDS41:
+ case HNBAP_UE_Identity_PR_iMSIDS41:
ranap_bcd_decode(imsi, sizeof(imsi), ies.uE_Identity.choice.iMSIDS41.buf,
ies.uE_Identity.choice.iMSIDS41.size);
break;
- case UE_Identity_PR_iMSIESN:
+ case HNBAP_UE_Identity_PR_iMSIESN:
ranap_bcd_decode(imsi, sizeof(imsi), ies.uE_Identity.choice.iMSIESN.iMSIDS41.buf,
ies.uE_Identity.choice.iMSIESN.iMSIDS41.size);
break;
- case UE_Identity_PR_tMSILAI:
- case UE_Identity_PR_pTMSIRAI:
+ case HNBAP_UE_Identity_PR_tMSILAI:
+ case HNBAP_UE_Identity_PR_pTMSIRAI:
if (ctx->gw->config.hnbap_allow_tmsi)
rc = hnbgw_tx_ue_register_acc_tmsi(ctx, &ies.uE_Identity);
else
@@ -491,7 +491,7 @@ static int hnbgw_rx_ue_register_req(struct hnb_context *ctx, ANY_t *in)
static int hnbgw_rx_ue_deregister(struct hnb_context *ctx, ANY_t *in)
{
- UEDe_RegisterIEs_t ies;
+ HNBAP_UEDe_RegisterIEs_t ies;
struct ue_context *ue;
int rc;
uint32_t ctxid;
@@ -514,7 +514,7 @@ static int hnbgw_rx_ue_deregister(struct hnb_context *ctx, ANY_t *in)
static int hnbgw_rx_err_ind(struct hnb_context *hnb, ANY_t *in)
{
- ErrorIndicationIEs_t ies;
+ HNBAP_ErrorIndicationIEs_t ies;
int rc;
rc = hnbap_decode_errorindicationies(&ies, in);
@@ -527,31 +527,31 @@ static int hnbgw_rx_err_ind(struct hnb_context *hnb, ANY_t *in)
return 0;
}
-static int hnbgw_rx_initiating_msg(struct hnb_context *hnb, InitiatingMessage_t *imsg)
+static int hnbgw_rx_initiating_msg(struct hnb_context *hnb, HNBAP_InitiatingMessage_t *imsg)
{
int rc = 0;
switch (imsg->procedureCode) {
- case ProcedureCode_id_HNBRegister: /* 8.2 */
+ case HNBAP_ProcedureCode_id_HNBRegister: /* 8.2 */
rc = hnbgw_rx_hnb_register_req(hnb, &imsg->value);
break;
- case ProcedureCode_id_HNBDe_Register: /* 8.3 */
+ case HNBAP_ProcedureCode_id_HNBDe_Register: /* 8.3 */
rc = hnbgw_rx_hnb_deregister(hnb, &imsg->value);
break;
- case ProcedureCode_id_UERegister: /* 8.4 */
+ case HNBAP_ProcedureCode_id_UERegister: /* 8.4 */
rc = hnbgw_rx_ue_register_req(hnb, &imsg->value);
break;
- case ProcedureCode_id_UEDe_Register: /* 8.5 */
+ case HNBAP_ProcedureCode_id_UEDe_Register: /* 8.5 */
rc = hnbgw_rx_ue_deregister(hnb, &imsg->value);
break;
- case ProcedureCode_id_ErrorIndication: /* 8.6 */
+ case HNBAP_ProcedureCode_id_ErrorIndication: /* 8.6 */
rc = hnbgw_rx_err_ind(hnb, &imsg->value);
break;
- case ProcedureCode_id_TNLUpdate: /* 8.9 */
- case ProcedureCode_id_HNBConfigTransfer: /* 8.10 */
- case ProcedureCode_id_RelocationComplete: /* 8.11 */
- case ProcedureCode_id_U_RNTIQuery: /* 8.12 */
- case ProcedureCode_id_privateMessage:
+ case HNBAP_ProcedureCode_id_TNLUpdate: /* 8.9 */
+ case HNBAP_ProcedureCode_id_HNBConfigTransfer: /* 8.10 */
+ case HNBAP_ProcedureCode_id_RelocationComplete: /* 8.11 */
+ case HNBAP_ProcedureCode_id_U_RNTIQuery: /* 8.12 */
+ case HNBAP_ProcedureCode_id_privateMessage:
LOGHNB(hnb, DHNBAP, LOGL_NOTICE, "Unimplemented HNBAP Procedure %ld\n", imsg->procedureCode);
break;
default:
@@ -562,13 +562,13 @@ static int hnbgw_rx_initiating_msg(struct hnb_context *hnb, InitiatingMessage_t
return rc;
}
-static int hnbgw_rx_successful_outcome_msg(struct hnb_context *hnb, SuccessfulOutcome_t *msg)
+static int hnbgw_rx_successful_outcome_msg(struct hnb_context *hnb, HNBAP_SuccessfulOutcome_t *msg)
{
/* We don't care much about HNBAP */
return 0;
}
-static int hnbgw_rx_unsuccessful_outcome_msg(struct hnb_context *hnb, UnsuccessfulOutcome_t *msg)
+static int hnbgw_rx_unsuccessful_outcome_msg(struct hnb_context *hnb, HNBAP_UnsuccessfulOutcome_t *msg)
{
/* We don't care much about HNBAP */
LOGHNB(hnb, DHNBAP, LOGL_ERROR, "Received Unsuccessful Outcome, procedureCode %ld, criticality %ld,"
@@ -578,20 +578,20 @@ static int hnbgw_rx_unsuccessful_outcome_msg(struct hnb_context *hnb, Unsuccessf
}
-static int _hnbgw_hnbap_rx(struct hnb_context *hnb, HNBAP_PDU_t *pdu)
+static int _hnbgw_hnbap_rx(struct hnb_context *hnb, HNBAP_HNBAP_PDU_t *pdu)
{
int rc = 0;
/* it's a bit odd that we can't dispatch on procedure code, but
* that's not possible */
switch (pdu->present) {
- case HNBAP_PDU_PR_initiatingMessage:
+ case HNBAP_HNBAP_PDU_PR_initiatingMessage:
rc = hnbgw_rx_initiating_msg(hnb, &pdu->choice.initiatingMessage);
break;
- case HNBAP_PDU_PR_successfulOutcome:
+ case HNBAP_HNBAP_PDU_PR_successfulOutcome:
rc = hnbgw_rx_successful_outcome_msg(hnb, &pdu->choice.successfulOutcome);
break;
- case HNBAP_PDU_PR_unsuccessfulOutcome:
+ case HNBAP_HNBAP_PDU_PR_unsuccessfulOutcome:
rc = hnbgw_rx_unsuccessful_outcome_msg(hnb, &pdu->choice.unsuccessfulOutcome);
break;
default:
@@ -604,14 +604,14 @@ static int _hnbgw_hnbap_rx(struct hnb_context *hnb, HNBAP_PDU_t *pdu)
int hnbgw_hnbap_rx(struct hnb_context *hnb, struct msgb *msg)
{
- HNBAP_PDU_t _pdu, *pdu = &_pdu;
+ HNBAP_HNBAP_PDU_t _pdu, *pdu = &_pdu;
asn_dec_rval_t dec_ret;
int rc;
/* decode and handle to _hnbgw_hnbap_rx() */
memset(pdu, 0, sizeof(*pdu));
- dec_ret = aper_decode(NULL, &asn_DEF_HNBAP_PDU, (void **) &pdu,
+ dec_ret = aper_decode(NULL, &asn_DEF_HNBAP_HNBAP_PDU, (void **) &pdu,
msg->data, msgb_length(msg), 0, 0);
if (dec_ret.code != RC_OK) {
LOGHNB(hnb, DHNBAP, LOGL_ERROR, "Error in ASN.1 decode\n");
@@ -620,7 +620,7 @@ int hnbgw_hnbap_rx(struct hnb_context *hnb, struct msgb *msg)
rc = _hnbgw_hnbap_rx(hnb, pdu);
- ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_HNBAP_PDU, pdu);
+ ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_HNBAP_HNBAP_PDU, pdu);
return rc;
}
diff --git a/src/hnbgw_rua.c b/src/hnbgw_rua.c
index 33ba12b..c625bcf 100644
--- a/src/hnbgw_rua.c
+++ b/src/hnbgw_rua.c
@@ -37,7 +37,7 @@
#include <osmocom/rua/rua_common.h>
#include <osmocom/rua/rua_ies_defs.h>
#include <osmocom/iuh/context_map.h>
-#include <osmocom/hnbap/CN-DomainIndicator.h>
+#include <osmocom/hnbap/HNBAP_CN-DomainIndicator.h>
static const char *cn_domain_indicator_to_str(RUA_CN_DomainIndicator_t cN_DomainIndicator)
{
diff --git a/src/tests/hnb-test.c b/src/tests/hnb-test.c
index 344bac5..02af4d9 100644
--- a/src/tests/hnb-test.c
+++ b/src/tests/hnb-test.c
@@ -117,29 +117,29 @@ static int hnb_test_ue_register_tx(struct hnb_test *hnb_test, const char *imsi_s
uint8_t imsi_buf[16];
- UERegisterRequest_t request_out;
- UERegisterRequestIEs_t request;
+ HNBAP_UERegisterRequest_t request_out;
+ HNBAP_UERegisterRequestIEs_t request;
memset(&request, 0, sizeof(request));
- request.uE_Identity.present = UE_Identity_PR_iMSI;
+ request.uE_Identity.present = HNBAP_UE_Identity_PR_iMSI;
imsi_len = ranap_imsi_encode(imsi_buf, sizeof(imsi_buf), imsi_str);
OCTET_STRING_fromBuf(&request.uE_Identity.choice.iMSI, (const char*)imsi_buf, imsi_len);
- request.registration_Cause = Registration_Cause_normal;
- request.uE_Capabilities.access_stratum_release_indicator = Access_stratum_release_indicator_rel_6;
- request.uE_Capabilities.csg_capability = CSG_Capability_not_csg_capable;
+ request.registration_Cause = HNBAP_Registration_Cause_normal;
+ request.uE_Capabilities.access_stratum_release_indicator = HNBAP_Access_stratum_release_indicator_rel_6;
+ request.uE_Capabilities.csg_capability = HNBAP_CSG_Capability_not_csg_capable;
memset(&request_out, 0, sizeof(request_out));
rc = hnbap_encode_ueregisterrequesties(&request_out, &request);
OSMO_ASSERT(rc == 0);
- msg = hnbap_generate_initiating_message(ProcedureCode_id_UERegister,
- Criticality_reject,
- &asn_DEF_UERegisterRequest,
+ msg = hnbap_generate_initiating_message(HNBAP_ProcedureCode_id_UERegister,
+ HNBAP_Criticality_reject,
+ &asn_DEF_HNBAP_UERegisterRequest,
&request_out);
- ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_UERegisterRequest, &request_out);
+ ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_HNBAP_UERegisterRequest, &request_out);
msgb_sctp_ppid(msg) = IUH_PPI_HNBAP;
@@ -149,7 +149,7 @@ static int hnb_test_ue_register_tx(struct hnb_test *hnb_test, const char *imsi_s
static int hnb_test_rx_hnb_register_acc(struct hnb_test *hnb, ANY_t *in)
{
int rc;
- HNBRegisterAcceptIEs_t accept;
+ HNBAP_HNBRegisterAcceptIEs_t accept;
rc = hnbap_decode_hnbregisteraccepties(&accept, in);
if (rc < 0) {
@@ -166,7 +166,7 @@ static int hnb_test_rx_ue_register_acc(struct hnb_test *hnb, ANY_t *in)
{
int rc;
uint32_t ctx_id;
- UERegisterAcceptIEs_t accept;
+ HNBAP_UERegisterAcceptIEs_t accept;
char imsi[16];
rc = hnbap_decode_ueregisteraccepties(&accept, in);
@@ -174,7 +174,7 @@ static int hnb_test_rx_ue_register_acc(struct hnb_test *hnb, ANY_t *in)
return rc;
}
- if (accept.uE_Identity.present != UE_Identity_PR_iMSI) {
+ if (accept.uE_Identity.present != HNBAP_UE_Identity_PR_iMSI) {
printf("Wrong type in UE register accept\n");
return -1;
}
@@ -471,28 +471,28 @@ void hnb_test_rx_paging(struct hnb_test *hnb, const char *imsi)
int hnb_test_hnbap_rx(struct hnb_test *hnb, struct msgb *msg)
{
- HNBAP_PDU_t _pdu, *pdu = &_pdu;
+ HNBAP_HNBAP_PDU_t _pdu, *pdu = &_pdu;
asn_dec_rval_t dec_ret;
int rc;
memset(pdu, 0, sizeof(*pdu));
- dec_ret = aper_decode(NULL, &asn_DEF_HNBAP_PDU, (void **) &pdu,
+ dec_ret = aper_decode(NULL, &asn_DEF_HNBAP_HNBAP_PDU, (void **) &pdu,
msg->data, msgb_length(msg), 0, 0);
if (dec_ret.code != RC_OK) {
LOGP(DMAIN, LOGL_ERROR, "Error in ASN.1 decode\n");
return -EINVAL;
}
- if (pdu->present != HNBAP_PDU_PR_successfulOutcome) {
+ if (pdu->present != HNBAP_HNBAP_PDU_PR_successfulOutcome) {
printf("Unexpected HNBAP message received\n");
}
switch (pdu->choice.successfulOutcome.procedureCode) {
- case ProcedureCode_id_HNBRegister:
+ case HNBAP_ProcedureCode_id_HNBRegister:
/* Get HNB id and send UE Register request */
rc = hnb_test_rx_hnb_register_acc(hnb, &pdu->choice.successfulOutcome.value);
break;
- case ProcedureCode_id_UERegister:
+ case HNBAP_ProcedureCode_id_UERegister:
rc = hnb_test_rx_ue_register_acc(hnb, &pdu->choice.successfulOutcome.value);
break;
default:
@@ -648,7 +648,7 @@ static int hnb_write_cb(struct osmo_fd *fd, struct msgb *msg)
static void hnb_send_register_req(struct hnb_test *hnb_test)
{
- HNBRegisterRequest_t request_out;
+ HNBAP_HNBRegisterRequest_t request_out;
struct msgb *msg;
int rc;
uint16_t lac, sac;
@@ -657,7 +657,7 @@ static void hnb_send_register_req(struct hnb_test *hnb_test)
uint8_t plmn[] = {0x09, 0xf1, 0x99};
char identity[50] = "ATestHNB@";
- HNBRegisterRequestIEs_t request;
+ HNBAP_HNBRegisterRequestIEs_t request;
memset(&request, 0, sizeof(request));
lac = 0xc0fe;
@@ -684,9 +684,9 @@ static void hnb_send_register_req(struct hnb_test *hnb_test)
printf("Could not encode HNB register request IEs\n");
}
- msg = hnbap_generate_initiating_message(ProcedureCode_id_HNBRegister,
- Criticality_reject,
- &asn_DEF_HNBRegisterRequest,
+ msg = hnbap_generate_initiating_message(HNBAP_ProcedureCode_id_HNBRegister,
+ HNBAP_Criticality_reject,
+ &asn_DEF_HNBAP_HNBRegisterRequest,
&request_out);
@@ -700,22 +700,22 @@ static void hnb_send_deregister_req(struct hnb_test *hnb_test)
struct msgb *msg;
int rc;
- HNBDe_RegisterIEs_t request;
+ HNBAP_HNBDe_RegisterIEs_t request;
memset(&request, 0, sizeof(request));
- request.cause.present = Cause_PR_misc;
- request.cause.choice.misc = CauseMisc_o_and_m_intervention;
+ request.cause.present = HNBAP_Cause_PR_misc;
+ request.cause.choice.misc = HNBAP_CauseMisc_o_and_m_intervention;
- HNBDe_Register_t request_out;
+ HNBAP_HNBDe_Register_t request_out;
memset(&request_out, 0, sizeof(request_out));
rc = hnbap_encode_hnbde_registeries(&request_out, &request);
if (rc < 0) {
printf("Could not encode HNB deregister request IEs\n");
}
- msg = hnbap_generate_initiating_message(ProcedureCode_id_HNBDe_Register,
- Criticality_reject,
- &asn_DEF_HNBDe_Register,
+ msg = hnbap_generate_initiating_message(HNBAP_ProcedureCode_id_HNBDe_Register,
+ HNBAP_Criticality_reject,
+ &asn_DEF_HNBAP_HNBDe_Register,
&request_out);
msgb_sctp_ppid(msg) = IUH_PPI_HNBAP;
diff --git a/src/tests/test-hnbap.c b/src/tests/test-hnbap.c
index dfd5ae9..2343c2d 100644
--- a/src/tests/test-hnbap.c
+++ b/src/tests/test-hnbap.c
@@ -75,12 +75,12 @@ void test_asn1_decoding(void)
{
int rc;
- HNBAP_PDU_t _pdu, *pdu = &_pdu;
- InitiatingMessage_t *im;
- SuccessfulOutcome_t *so;
- UERegisterRequestIEs_t ue_req_ies;
- UERegisterAcceptIEs_t ue_acc_ies;
- HNBRegisterRequestIEs_t hnb_ies;
+ HNBAP_HNBAP_PDU_t _pdu, *pdu = &_pdu;
+ HNBAP_InitiatingMessage_t *im;
+ HNBAP_SuccessfulOutcome_t *so;
+ HNBAP_UERegisterRequestIEs_t ue_req_ies;
+ HNBAP_UERegisterAcceptIEs_t ue_acc_ies;
+ HNBAP_HNBRegisterRequestIEs_t hnb_ies;
char imsi[16];
@@ -89,16 +89,16 @@ void test_asn1_decoding(void)
memset(pdu, 0, sizeof(*pdu));
printf("Testing asn.1 HNBAP decoding\n");
- dec_ret = aper_decode(NULL, &asn_DEF_HNBAP_PDU, (void **) &pdu,
+ dec_ret = aper_decode(NULL, &asn_DEF_HNBAP_HNBAP_PDU, (void **) &pdu,
hnbap_reg_req, sizeof(hnbap_reg_req), 0, 0);
ASSERT(dec_ret.code == RC_OK);
- ASSERT(pdu->present == HNBAP_PDU_PR_initiatingMessage);
+ ASSERT(pdu->present == HNBAP_HNBAP_PDU_PR_initiatingMessage);
im = &pdu->choice.initiatingMessage;
- ASSERT(im->procedureCode == ProcedureCode_id_HNBRegister);
+ ASSERT(im->procedureCode == HNBAP_ProcedureCode_id_HNBRegister);
rc = hnbap_decode_hnbregisterrequesties(&hnb_ies, &im->value);
ASSERT(rc >= 0);
@@ -122,50 +122,50 @@ void test_asn1_decoding(void)
printf("HNBAP register request for HNB %s\n", (char *) hnb_ies.hnB_Identity.hNB_Identity_Info.buf);
hnbap_free_hnbregisterrequesties(&hnb_ies);
- dec_ret = aper_decode(NULL, &asn_DEF_HNBAP_PDU, (void **) &pdu,
+ dec_ret = aper_decode(NULL, &asn_DEF_HNBAP_HNBAP_PDU, (void **) &pdu,
hnbap_ue_reg_req, sizeof(hnbap_ue_reg_req), 0, 0);
ASSERT(dec_ret.code == RC_OK);
- ASSERT(pdu->present == HNBAP_PDU_PR_initiatingMessage);
+ ASSERT(pdu->present == HNBAP_HNBAP_PDU_PR_initiatingMessage);
im = &pdu->choice.initiatingMessage;
- ASSERT(im->procedureCode == ProcedureCode_id_UERegister);
+ ASSERT(im->procedureCode == HNBAP_ProcedureCode_id_UERegister);
rc = hnbap_decode_ueregisterrequesties(&ue_req_ies, &im->value);
ASSERT(rc >= 0);
- ASSERT(ue_req_ies.uE_Identity.present == UE_Identity_PR_iMSI);
+ ASSERT(ue_req_ies.uE_Identity.present == HNBAP_UE_Identity_PR_iMSI);
ranap_bcd_decode(imsi, sizeof(imsi), ue_req_ies.uE_Identity.choice.iMSI.buf,
ue_req_ies.uE_Identity.choice.iMSI.size);
printf("HNBAP UE Register request from IMSI %s\n", imsi);
hnbap_free_ueregisterrequesties(&ue_req_ies);
- ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_HNBAP_PDU, pdu);
+ ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_HNBAP_HNBAP_PDU, pdu);
memset(pdu, 0, sizeof(*pdu));
- dec_ret = aper_decode(NULL, &asn_DEF_HNBAP_PDU, (void **) &pdu,
+ dec_ret = aper_decode(NULL, &asn_DEF_HNBAP_HNBAP_PDU, (void **) &pdu,
hnbap_ue_reg_acc, sizeof(hnbap_ue_reg_acc), 0, 0);
ASSERT(dec_ret.code == RC_OK);
- ASSERT(pdu->present == HNBAP_PDU_PR_successfulOutcome);
+ ASSERT(pdu->present == HNBAP_HNBAP_PDU_PR_successfulOutcome);
so = &pdu->choice.successfulOutcome;
- ASSERT(so->procedureCode == ProcedureCode_id_UERegister);
+ ASSERT(so->procedureCode == HNBAP_ProcedureCode_id_UERegister);
rc = hnbap_decode_ueregisteraccepties(&ue_acc_ies, &so->value);
ASSERT(rc >= 0);
- ASSERT(ue_acc_ies.uE_Identity.present == UE_Identity_PR_iMSI);
+ ASSERT(ue_acc_ies.uE_Identity.present == HNBAP_UE_Identity_PR_iMSI);
ranap_bcd_decode(imsi, sizeof(imsi), ue_acc_ies.uE_Identity.choice.iMSI.buf,
ue_acc_ies.uE_Identity.choice.iMSI.size);
printf("HNBAP UE Register accept to IMSI %s\n", imsi);
hnbap_free_ueregisteraccepties(&ue_acc_ies);
- ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_HNBAP_PDU, pdu);
+ ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_HNBAP_HNBAP_PDU, pdu);
}
int main(int argc, char **argv)
@@ -181,4 +181,3 @@ int main(int argc, char **argv)
test_common_cleanup();
return 0;
}
-