osmo-cbc/include/osmocom/sbcap
Pau Espin 4b8175d189 Add sbcap library
This commit adds initial support to encode/decode SBc-AP messages in the
form of a library, under src/sbcap/ (includes in
include/osmocom/sbcap/).
asn1c is used to generate all suport code and structures for ASN.1 APER
encoding/decoding, based on asn files obtained from 3GPP TS 29.168 and
stored under src/sbcap/asn1/.
Currently, mainstream asn1c doesn't yet support ASN.1 APER
encoding/decoding, hence mouse07410 's fork is used [1]. Furthermore,
several encdoing/decoding bugs where found during the process and fixed,
which means asn1.c git >= 30219de2d3da888b4f1eea0dd79f2a505000401a must
be used to generate proper code.

A new "make -C src/ gen" target is added which can be used to regenerate
all C code from the available ASN.1 files in src/sbcap/asn1/*.asn (after
properly setting configure.ac ASN_* variables if needed).

[1] https://github.com/mouse07410/asn1c

Related: OS#4945
Change-Id: If76f8619a9b2d46af6d94b8ae49348b8514e53aa
2022-07-15 15:53:35 +02:00
..
Makefile.am Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Broadcast-Cancelled-Area-List-5GS.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Broadcast-Cancelled-Area-List.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Broadcast-Empty-Area-List-5GS.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Broadcast-Empty-Area-List.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Broadcast-Scheduled-Area-List-5GS.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Broadcast-Scheduled-Area-List.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_CancelledCellinEAI-Item.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_CancelledCellinEAI.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_CancelledCellinTAI-5GS.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_CancelledCellinTAI-Item.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_CancelledCellinTAI.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Cause.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_CellID-Cancelled-Item.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_CellID-Cancelled-List-5GS.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_CellID-Cancelled-List.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_CellId-Broadcast-List-5GS.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_CellId-Broadcast-List-Item.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_CellId-Broadcast-List.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_CellIdentity.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Concurrent-Warning-Message-Indicator.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Criticality-Diagnostics.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Criticality.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_CriticalityDiagnostics-IE-List.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Data-Coding-Scheme.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_ECGIList.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_ENB-ID.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_EUTRAN-CGI.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_EXTERNAL.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Emergency-Area-ID-List.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Emergency-Area-ID.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_EmergencyAreaID-Broadcast-List-Item.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_EmergencyAreaID-Broadcast-List.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_EmergencyAreaID-Cancelled-Item.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_EmergencyAreaID-Cancelled-List.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Error-Indication.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Extended-Repetition-Period.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Failed-Cell-List-NR.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Failed-Cell-List.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_GNB-ID.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Global-ENB-ID.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Global-GNB-ID.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Global-NgENB-ID.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Global-RAN-Node-ID.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_InitiatingMessage.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_List-of-5GS-Cells-for-Failure.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_List-of-5GS-TAI-for-Restart.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_List-of-5GS-TAIs.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_List-of-EAIs-Restart.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_List-of-TAIs-Restart.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_List-of-TAIs.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Message-Identifier.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_NR-CGI.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_NR-CGIList.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_NRCellIdentity.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_NgENB-ID.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Number-of-Broadcasts-Requested.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_NumberOfBroadcasts.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Omc-Id.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_PLMNidentity.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_PWS-Failure-Indication.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_PWS-Restart-Indication.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Presence.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_ProcedureCode.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_ProtocolExtensionContainer.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_ProtocolExtensionField.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_ProtocolExtensionID.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_ProtocolIE-Container.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_ProtocolIE-ContainerList.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_ProtocolIE-Field.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_ProtocolIE-ID.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_RAT-Selector-5GS.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Repetition-Period.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Restarted-Cell-List-NR.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Restarted-Cell-List.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_SBC-AP-PDU.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_ScheduledCellinEAI-Item.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_ScheduledCellinEAI.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_ScheduledCellinTAI-5GS.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_ScheduledCellinTAI-Item.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_ScheduledCellinTAI.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Send-Stop-Warning-Indication.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Send-Write-Replace-Warning-Indication.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Serial-Number.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Stop-All-Indicator.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Stop-Warning-Indication.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Stop-Warning-Request.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Stop-Warning-Response.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_SuccessfulOutcome.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_TAC-5GS.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_TAC.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_TAI-5GS.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_TAI-Broadcast-List-5GS.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_TAI-Broadcast-List-Item.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_TAI-Broadcast-List.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_TAI-Cancelled-List-5GS.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_TAI-Cancelled-List-Item.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_TAI-Cancelled-List.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_TAI-List-for-Warning.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_TAI.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_TBCD-STRING.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_TriggeringMessage.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_TypeOfError.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Unknown-5GS-Tracking-Area-List.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Unknown-Tracking-Area-List.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_UnsuccessfulOutcome.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Warning-Area-Coordinates.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Warning-Area-List-5GS.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Warning-Area-List.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Warning-Message-Content.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Warning-Security-Information.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Warning-Type.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Write-Replace-Warning-Indication.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Write-Replace-Warning-Request.h Add sbcap library 2022-07-15 15:53:35 +02:00
SBcAP_Write-Replace-Warning-Response.h Add sbcap library 2022-07-15 15:53:35 +02:00
sbcap_common.h Add sbcap library 2022-07-15 15:53:35 +02:00
sbcap_internal.h Add sbcap library 2022-07-15 15:53:35 +02:00