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
changes/00/28600/4
Pau Espin 2022-07-13 17:27:15 +02:00
parent 98d5b6143a
commit 4b8175d189
373 changed files with 50364 additions and 4 deletions

View File

@ -6,7 +6,7 @@ AC_INIT([osmo-cbc],
dnl *This* is the root dir, even if an install-sh exists in ../ or ../../
AC_CONFIG_AUX_DIR([.])
AM_INIT_AUTOMAKE([dist-bzip2])
AM_INIT_AUTOMAKE([dist-bzip2 subdir-objects])
AC_CONFIG_TESTDIR(tests)
CFLAGS="$CFLAGS -std=gnu11"
@ -39,6 +39,15 @@ PKG_CHECK_MODULES(ULFIUS, libulfius)
PKG_CHECK_MODULES(JANSSON, jansson)
PKG_CHECK_MODULES(ORCANIA, liborcania)
# Define asn1c skeleton files directory (See "asn1c -S <dir>").
# Used during "make -C src/ regen" to copy header files from there
ASN1C_SKELETON_PATH="/usr/share/asn1c"
ASN1C_BIN_PATH="/usr/bin/asn1c"
ASN_MODULE_CFLAGS="-DASN_DISABLE_BER_SUPPORT -DASN_DISABLE_XER_SUPPORT -DASN_DISABLE_JER_SUPPORT -DASN_DISABLE_OER_SUPPORT -DASN_DISABLE_UPER_SUPPORT"
AC_SUBST([ASN1C_SKELETON_PATH])
AC_SUBST([ASN1C_BIN_PATH])
AC_SUBST([ASN_MODULE_CFLAGS])
AC_ARG_ENABLE(sanitize,
[AS_HELP_STRING(
[--enable-sanitize],
@ -169,9 +178,11 @@ AC_MSG_RESULT([CPPFLAGS="$CPPFLAGS"])
AC_OUTPUT(
src/Makefile
src/sbcap/Makefile
include/Makefile
include/osmocom/Makefile
include/osmocom/cbc/Makefile
include/osmocom/sbcap/Makefile
contrib/Makefile
contrib/osmo-cbc.spec
tests/Makefile

View File

@ -1 +1 @@
SUBDIRS = cbc
SUBDIRS = cbc sbcap

View File

@ -0,0 +1,120 @@
sbcap_HEADERS = \
sbcap_common.h \
sbcap_internal.h \
SBcAP_Broadcast-Cancelled-Area-List-5GS.h \
SBcAP_Broadcast-Cancelled-Area-List.h \
SBcAP_Broadcast-Empty-Area-List-5GS.h \
SBcAP_Broadcast-Empty-Area-List.h \
SBcAP_Broadcast-Scheduled-Area-List-5GS.h \
SBcAP_Broadcast-Scheduled-Area-List.h \
SBcAP_CancelledCellinEAI.h \
SBcAP_CancelledCellinEAI-Item.h \
SBcAP_CancelledCellinTAI-5GS.h \
SBcAP_CancelledCellinTAI.h \
SBcAP_CancelledCellinTAI-Item.h \
SBcAP_Cause.h \
SBcAP_CellId-Broadcast-List-5GS.h \
SBcAP_CellId-Broadcast-List.h \
SBcAP_CellId-Broadcast-List-Item.h \
SBcAP_CellID-Cancelled-Item.h \
SBcAP_CellID-Cancelled-List-5GS.h \
SBcAP_CellID-Cancelled-List.h \
SBcAP_CellIdentity.h \
SBcAP_Concurrent-Warning-Message-Indicator.h \
SBcAP_Criticality-Diagnostics.h \
SBcAP_CriticalityDiagnostics-IE-List.h \
SBcAP_Criticality.h \
SBcAP_Data-Coding-Scheme.h \
SBcAP_ECGIList.h \
SBcAP_EmergencyAreaID-Broadcast-List.h \
SBcAP_EmergencyAreaID-Broadcast-List-Item.h \
SBcAP_EmergencyAreaID-Cancelled-Item.h \
SBcAP_EmergencyAreaID-Cancelled-List.h \
SBcAP_Emergency-Area-ID.h \
SBcAP_Emergency-Area-ID-List.h \
SBcAP_ENB-ID.h \
SBcAP_Error-Indication.h \
SBcAP_EUTRAN-CGI.h \
SBcAP_Extended-Repetition-Period.h \
SBcAP_EXTERNAL.h \
SBcAP_Failed-Cell-List.h \
SBcAP_Failed-Cell-List-NR.h \
SBcAP_Global-ENB-ID.h \
SBcAP_Global-GNB-ID.h \
SBcAP_Global-NgENB-ID.h \
SBcAP_Global-RAN-Node-ID.h \
SBcAP_GNB-ID.h \
SBcAP_InitiatingMessage.h \
SBcAP_List-of-5GS-Cells-for-Failure.h \
SBcAP_List-of-5GS-TAI-for-Restart.h \
SBcAP_List-of-5GS-TAIs.h \
SBcAP_List-of-EAIs-Restart.h \
SBcAP_List-of-TAIs.h \
SBcAP_List-of-TAIs-Restart.h \
SBcAP_Message-Identifier.h \
SBcAP_NgENB-ID.h \
SBcAP_NRCellIdentity.h \
SBcAP_NR-CGI.h \
SBcAP_NR-CGIList.h \
SBcAP_NumberOfBroadcasts.h \
SBcAP_Number-of-Broadcasts-Requested.h \
SBcAP_Omc-Id.h \
SBcAP_PLMNidentity.h \
SBcAP_Presence.h \
SBcAP_ProcedureCode.h \
SBcAP_ProtocolExtensionContainer.h \
SBcAP_ProtocolExtensionField.h \
SBcAP_ProtocolExtensionID.h \
SBcAP_ProtocolIE-Container.h \
SBcAP_ProtocolIE-ContainerList.h \
SBcAP_ProtocolIE-Field.h \
SBcAP_ProtocolIE-ID.h \
SBcAP_PWS-Failure-Indication.h \
SBcAP_PWS-Restart-Indication.h \
SBcAP_RAT-Selector-5GS.h \
SBcAP_Repetition-Period.h \
SBcAP_Restarted-Cell-List.h \
SBcAP_Restarted-Cell-List-NR.h \
SBcAP_SBC-AP-PDU.h \
SBcAP_ScheduledCellinEAI.h \
SBcAP_ScheduledCellinEAI-Item.h \
SBcAP_ScheduledCellinTAI-5GS.h \
SBcAP_ScheduledCellinTAI.h \
SBcAP_ScheduledCellinTAI-Item.h \
SBcAP_Send-Stop-Warning-Indication.h \
SBcAP_Send-Write-Replace-Warning-Indication.h \
SBcAP_Serial-Number.h \
SBcAP_Stop-All-Indicator.h \
SBcAP_Stop-Warning-Indication.h \
SBcAP_Stop-Warning-Request.h \
SBcAP_Stop-Warning-Response.h \
SBcAP_SuccessfulOutcome.h \
SBcAP_TAC-5GS.h \
SBcAP_TAC.h \
SBcAP_TAI-5GS.h \
SBcAP_TAI-Broadcast-List-5GS.h \
SBcAP_TAI-Broadcast-List.h \
SBcAP_TAI-Broadcast-List-Item.h \
SBcAP_TAI-Cancelled-List-5GS.h \
SBcAP_TAI-Cancelled-List.h \
SBcAP_TAI-Cancelled-List-Item.h \
SBcAP_TAI.h \
SBcAP_TAI-List-for-Warning.h \
SBcAP_TBCD-STRING.h \
SBcAP_TriggeringMessage.h \
SBcAP_TypeOfError.h \
SBcAP_Unknown-5GS-Tracking-Area-List.h \
SBcAP_Unknown-Tracking-Area-List.h \
SBcAP_UnsuccessfulOutcome.h \
SBcAP_Warning-Area-Coordinates.h \
SBcAP_Warning-Area-List-5GS.h \
SBcAP_Warning-Area-List.h \
SBcAP_Warning-Message-Content.h \
SBcAP_Warning-Security-Information.h \
SBcAP_Warning-Type.h \
SBcAP_Write-Replace-Warning-Indication.h \
SBcAP_Write-Replace-Warning-Request.h \
SBcAP_Write-Replace-Warning-Response.h \
$(NULL)
sbcapdir = $(includedir)/osmocom/sbcap

View File

@ -0,0 +1,57 @@
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "SBC-AP-IEs"
* found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
* `asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
*/
#ifndef _SBcAP_Broadcast_Cancelled_Area_List_5GS_H_
#define _SBcAP_Broadcast_Cancelled_Area_List_5GS_H_
#include <asn_application.h>
/* Including external dependencies */
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Forward declarations */
struct SBcAP_CellID_Cancelled_List_5GS;
struct SBcAP_TAI_Cancelled_List_5GS;
struct SBcAP_EmergencyAreaID_Cancelled_List;
struct SBcAP_ProtocolExtensionContainer;
/* SBcAP_Broadcast-Cancelled-Area-List-5GS */
typedef struct SBcAP_Broadcast_Cancelled_Area_List_5GS {
struct SBcAP_CellID_Cancelled_List_5GS *cellID_Cancelled_List_5GS; /* OPTIONAL */
struct SBcAP_TAI_Cancelled_List_5GS *tAI_Cancelled_List_5GS; /* OPTIONAL */
struct SBcAP_EmergencyAreaID_Cancelled_List *emergencyAreaID_Cancelled_List; /* OPTIONAL */
struct SBcAP_ProtocolExtensionContainer *iE_Extensions; /* OPTIONAL */
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SBcAP_Broadcast_Cancelled_Area_List_5GS_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Broadcast_Cancelled_Area_List_5GS;
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_Broadcast_Cancelled_Area_List_5GS_specs_1;
extern asn_TYPE_member_t asn_MBR_SBcAP_Broadcast_Cancelled_Area_List_5GS_1[4];
#ifdef __cplusplus
}
#endif
/* Referred external types */
#include <osmocom/sbcap/SBcAP_CellID-Cancelled-List-5GS.h>
#include <osmocom/sbcap/SBcAP_TAI-Cancelled-List-5GS.h>
#include <osmocom/sbcap/SBcAP_EmergencyAreaID-Cancelled-List.h>
#endif /* _SBcAP_Broadcast_Cancelled_Area_List_5GS_H_ */
#include <asn_internal.h>

View File

@ -0,0 +1,58 @@
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "SBC-AP-IEs"
* found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
* `asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
*/
#ifndef _SBcAP_Broadcast_Cancelled_Area_List_H_
#define _SBcAP_Broadcast_Cancelled_Area_List_H_
#include <asn_application.h>
/* Including external dependencies */
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Forward declarations */
struct SBcAP_CellID_Cancelled_List;
struct SBcAP_TAI_Cancelled_List;
struct SBcAP_EmergencyAreaID_Cancelled_List;
struct SBcAP_ProtocolExtensionContainer;
/* SBcAP_Broadcast-Cancelled-Area-List */
typedef struct SBcAP_Broadcast_Cancelled_Area_List {
struct SBcAP_CellID_Cancelled_List *cellID_Cancelled_List; /* OPTIONAL */
struct SBcAP_TAI_Cancelled_List *tAI_Cancelled_List; /* OPTIONAL */
struct SBcAP_EmergencyAreaID_Cancelled_List *emergencyAreaID_Cancelled_List; /* OPTIONAL */
struct SBcAP_ProtocolExtensionContainer *iE_Extensions; /* OPTIONAL */
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SBcAP_Broadcast_Cancelled_Area_List_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Broadcast_Cancelled_Area_List;
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_Broadcast_Cancelled_Area_List_specs_1;
extern asn_TYPE_member_t asn_MBR_SBcAP_Broadcast_Cancelled_Area_List_1[4];
#ifdef __cplusplus
}
#endif
/* Referred external types */
#include <osmocom/sbcap/SBcAP_CellID-Cancelled-List.h>
#include <osmocom/sbcap/SBcAP_TAI-Cancelled-List.h>
#include <osmocom/sbcap/SBcAP_EmergencyAreaID-Cancelled-List.h>
#include <osmocom/sbcap/SBcAP_ProtocolExtensionContainer.h>
#endif /* _SBcAP_Broadcast_Cancelled_Area_List_H_ */
#include <asn_internal.h>

View File

@ -0,0 +1,47 @@
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "SBC-AP-IEs"
* found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
* `asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
*/
#ifndef _SBcAP_Broadcast_Empty_Area_List_5GS_H_
#define _SBcAP_Broadcast_Empty_Area_List_5GS_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 SBcAP_Global_RAN_Node_ID;
/* SBcAP_Broadcast-Empty-Area-List-5GS */
typedef struct SBcAP_Broadcast_Empty_Area_List_5GS {
A_SEQUENCE_OF(struct SBcAP_Global_RAN_Node_ID) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SBcAP_Broadcast_Empty_Area_List_5GS_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Broadcast_Empty_Area_List_5GS;
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_Broadcast_Empty_Area_List_5GS_specs_1;
extern asn_TYPE_member_t asn_MBR_SBcAP_Broadcast_Empty_Area_List_5GS_1[1];
extern asn_per_constraints_t asn_PER_type_SBcAP_Broadcast_Empty_Area_List_5GS_constr_1;
#ifdef __cplusplus
}
#endif
/* Referred external types */
#include <osmocom/sbcap/SBcAP_Global-RAN-Node-ID.h>
#endif /* _SBcAP_Broadcast_Empty_Area_List_5GS_H_ */
#include <asn_internal.h>

View File

@ -0,0 +1,47 @@
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "SBC-AP-IEs"
* found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
* `asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
*/
#ifndef _SBcAP_Broadcast_Empty_Area_List_H_
#define _SBcAP_Broadcast_Empty_Area_List_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 SBcAP_Global_ENB_ID;
/* SBcAP_Broadcast-Empty-Area-List */
typedef struct SBcAP_Broadcast_Empty_Area_List {
A_SEQUENCE_OF(struct SBcAP_Global_ENB_ID) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SBcAP_Broadcast_Empty_Area_List_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Broadcast_Empty_Area_List;
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_Broadcast_Empty_Area_List_specs_1;
extern asn_TYPE_member_t asn_MBR_SBcAP_Broadcast_Empty_Area_List_1[1];
extern asn_per_constraints_t asn_PER_type_SBcAP_Broadcast_Empty_Area_List_constr_1;
#ifdef __cplusplus
}
#endif
/* Referred external types */
#include <osmocom/sbcap/SBcAP_Global-ENB-ID.h>
#endif /* _SBcAP_Broadcast_Empty_Area_List_H_ */
#include <asn_internal.h>

View File

@ -0,0 +1,57 @@
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "SBC-AP-IEs"
* found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
* `asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
*/
#ifndef _SBcAP_Broadcast_Scheduled_Area_List_5GS_H_
#define _SBcAP_Broadcast_Scheduled_Area_List_5GS_H_
#include <asn_application.h>
/* Including external dependencies */
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Forward declarations */
struct SBcAP_CellId_Broadcast_List_5GS;
struct SBcAP_TAI_Broadcast_List_5GS;
struct SBcAP_EmergencyAreaID_Broadcast_List;
struct SBcAP_ProtocolExtensionContainer;
/* SBcAP_Broadcast-Scheduled-Area-List-5GS */
typedef struct SBcAP_Broadcast_Scheduled_Area_List_5GS {
struct SBcAP_CellId_Broadcast_List_5GS *cellId_Broadcast_List_5GS; /* OPTIONAL */
struct SBcAP_TAI_Broadcast_List_5GS *tAI_Broadcast_List_5GS; /* OPTIONAL */
struct SBcAP_EmergencyAreaID_Broadcast_List *emergencyAreaID_Broadcast_List; /* OPTIONAL */
struct SBcAP_ProtocolExtensionContainer *iE_Extensions; /* OPTIONAL */
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SBcAP_Broadcast_Scheduled_Area_List_5GS_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Broadcast_Scheduled_Area_List_5GS;
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_Broadcast_Scheduled_Area_List_5GS_specs_1;
extern asn_TYPE_member_t asn_MBR_SBcAP_Broadcast_Scheduled_Area_List_5GS_1[4];
#ifdef __cplusplus
}
#endif
/* Referred external types */
#include <osmocom/sbcap/SBcAP_CellId-Broadcast-List-5GS.h>
#include <osmocom/sbcap/SBcAP_TAI-Broadcast-List-5GS.h>
#include <osmocom/sbcap/SBcAP_EmergencyAreaID-Broadcast-List.h>
#endif /* _SBcAP_Broadcast_Scheduled_Area_List_5GS_H_ */
#include <asn_internal.h>

View File

@ -0,0 +1,58 @@
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "SBC-AP-IEs"
* found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
* `asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
*/
#ifndef _SBcAP_Broadcast_Scheduled_Area_List_H_
#define _SBcAP_Broadcast_Scheduled_Area_List_H_
#include <asn_application.h>
/* Including external dependencies */
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Forward declarations */
struct SBcAP_CellId_Broadcast_List;
struct SBcAP_TAI_Broadcast_List;
struct SBcAP_EmergencyAreaID_Broadcast_List;
struct SBcAP_ProtocolExtensionContainer;
/* SBcAP_Broadcast-Scheduled-Area-List */
typedef struct SBcAP_Broadcast_Scheduled_Area_List {
struct SBcAP_CellId_Broadcast_List *cellId_Broadcast_List; /* OPTIONAL */
struct SBcAP_TAI_Broadcast_List *tAI_Broadcast_List; /* OPTIONAL */
struct SBcAP_EmergencyAreaID_Broadcast_List *emergencyAreaID_Broadcast_List; /* OPTIONAL */
struct SBcAP_ProtocolExtensionContainer *iE_Extensions; /* OPTIONAL */
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SBcAP_Broadcast_Scheduled_Area_List_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Broadcast_Scheduled_Area_List;
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_Broadcast_Scheduled_Area_List_specs_1;
extern asn_TYPE_member_t asn_MBR_SBcAP_Broadcast_Scheduled_Area_List_1[4];
#ifdef __cplusplus
}
#endif
/* Referred external types */
#include <osmocom/sbcap/SBcAP_CellId-Broadcast-List.h>
#include <osmocom/sbcap/SBcAP_TAI-Broadcast-List.h>
#include <osmocom/sbcap/SBcAP_EmergencyAreaID-Broadcast-List.h>
#include <osmocom/sbcap/SBcAP_ProtocolExtensionContainer.h>
#endif /* _SBcAP_Broadcast_Scheduled_Area_List_H_ */
#include <asn_internal.h>

View File

@ -0,0 +1,53 @@
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "SBC-AP-IEs"
* found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
* `asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
*/
#ifndef _SBcAP_CancelledCellinEAI_Item_H_
#define _SBcAP_CancelledCellinEAI_Item_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/sbcap/SBcAP_EUTRAN-CGI.h>
#include <osmocom/sbcap/SBcAP_NumberOfBroadcasts.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Forward declarations */
struct SBcAP_ProtocolExtensionContainer;
/* SBcAP_CancelledCellinEAI-Item */
typedef struct SBcAP_CancelledCellinEAI_Item {
SBcAP_EUTRAN_CGI_t eCGI;
SBcAP_NumberOfBroadcasts_t numberOfBroadcasts;
struct SBcAP_ProtocolExtensionContainer *iE_Extensions; /* OPTIONAL */
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SBcAP_CancelledCellinEAI_Item_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_CancelledCellinEAI_Item;
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_CancelledCellinEAI_Item_specs_1;
extern asn_TYPE_member_t asn_MBR_SBcAP_CancelledCellinEAI_Item_1[3];
#ifdef __cplusplus
}
#endif
/* Referred external types */
#include <osmocom/sbcap/SBcAP_ProtocolExtensionContainer.h>
#endif /* _SBcAP_CancelledCellinEAI_Item_H_ */
#include <asn_internal.h>

View File

@ -0,0 +1,47 @@
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "SBC-AP-IEs"
* found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
* `asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
*/
#ifndef _SBcAP_CancelledCellinEAI_H_
#define _SBcAP_CancelledCellinEAI_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 SBcAP_CancelledCellinEAI_Item;
/* SBcAP_CancelledCellinEAI */
typedef struct SBcAP_CancelledCellinEAI {
A_SEQUENCE_OF(struct SBcAP_CancelledCellinEAI_Item) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SBcAP_CancelledCellinEAI_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_CancelledCellinEAI;
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_CancelledCellinEAI_specs_1;
extern asn_TYPE_member_t asn_MBR_SBcAP_CancelledCellinEAI_1[1];
extern asn_per_constraints_t asn_PER_type_SBcAP_CancelledCellinEAI_constr_1;
#ifdef __cplusplus
}
#endif
/* Referred external types */
#include <osmocom/sbcap/SBcAP_CancelledCellinEAI-Item.h>
#endif /* _SBcAP_CancelledCellinEAI_H_ */
#include <asn_internal.h>

View File

@ -0,0 +1,64 @@
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "SBC-AP-IEs"
* found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
* `asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
*/
#ifndef _SBcAP_CancelledCellinTAI_5GS_H_
#define _SBcAP_CancelledCellinTAI_5GS_H_
#include <asn_application.h>
/* Including external dependencies */
#include <asn_SEQUENCE_OF.h>
#include <osmocom/sbcap/SBcAP_NR-CGI.h>
#include <osmocom/sbcap/SBcAP_NumberOfBroadcasts.h>
#include <constr_SEQUENCE.h>
#include <constr_SEQUENCE_OF.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Forward declarations */
struct SBcAP_ProtocolExtensionContainer;
/* Forward definitions */
typedef struct SBcAP_CancelledCellinTAI_5GS__Member {
SBcAP_NR_CGI_t nR_CGI;
SBcAP_NumberOfBroadcasts_t numberOfBroadcasts;
struct SBcAP_ProtocolExtensionContainer *iE_Extensions; /* OPTIONAL */
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} CancelledCellinTAI_5GS__Member;
/* SBcAP_CancelledCellinTAI-5GS */
typedef struct SBcAP_CancelledCellinTAI_5GS {
A_SEQUENCE_OF(CancelledCellinTAI_5GS__Member) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SBcAP_CancelledCellinTAI_5GS_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_CancelledCellinTAI_5GS;
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_CancelledCellinTAI_5GS_specs_1;
extern asn_TYPE_member_t asn_MBR_SBcAP_CancelledCellinTAI_5GS_1[1];
extern asn_per_constraints_t asn_PER_type_SBcAP_CancelledCellinTAI_5GS_constr_1;
#ifdef __cplusplus
}
#endif
/* Referred external types */
#include <osmocom/sbcap/SBcAP_ProtocolExtensionContainer.h>
#endif /* _SBcAP_CancelledCellinTAI_5GS_H_ */
#include <asn_internal.h>

View File

@ -0,0 +1,53 @@
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "SBC-AP-IEs"
* found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
* `asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
*/
#ifndef _SBcAP_CancelledCellinTAI_Item_H_
#define _SBcAP_CancelledCellinTAI_Item_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/sbcap/SBcAP_EUTRAN-CGI.h>
#include <osmocom/sbcap/SBcAP_NumberOfBroadcasts.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Forward declarations */
struct SBcAP_ProtocolExtensionContainer;
/* SBcAP_CancelledCellinTAI-Item */
typedef struct SBcAP_CancelledCellinTAI_Item {
SBcAP_EUTRAN_CGI_t eCGI;
SBcAP_NumberOfBroadcasts_t numberOfBroadcasts;
struct SBcAP_ProtocolExtensionContainer *iE_Extensions; /* OPTIONAL */
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SBcAP_CancelledCellinTAI_Item_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_CancelledCellinTAI_Item;
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_CancelledCellinTAI_Item_specs_1;
extern asn_TYPE_member_t asn_MBR_SBcAP_CancelledCellinTAI_Item_1[3];
#ifdef __cplusplus
}
#endif
/* Referred external types */
#include <osmocom/sbcap/SBcAP_ProtocolExtensionContainer.h>
#endif /* _SBcAP_CancelledCellinTAI_Item_H_ */
#include <asn_internal.h>

View File

@ -0,0 +1,47 @@
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "SBC-AP-IEs"
* found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
* `asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
*/
#ifndef _SBcAP_CancelledCellinTAI_H_
#define _SBcAP_CancelledCellinTAI_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 SBcAP_CancelledCellinTAI_Item;
/* SBcAP_CancelledCellinTAI */
typedef struct SBcAP_CancelledCellinTAI {
A_SEQUENCE_OF(struct SBcAP_CancelledCellinTAI_Item) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SBcAP_CancelledCellinTAI_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_CancelledCellinTAI;
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_CancelledCellinTAI_specs_1;
extern asn_TYPE_member_t asn_MBR_SBcAP_CancelledCellinTAI_1[1];
extern asn_per_constraints_t asn_PER_type_SBcAP_CancelledCellinTAI_constr_1;
#ifdef __cplusplus
}
#endif
/* Referred external types */
#include <osmocom/sbcap/SBcAP_CancelledCellinTAI-Item.h>
#endif /* _SBcAP_CancelledCellinTAI_H_ */
#include <asn_internal.h>

View File

@ -0,0 +1,61 @@
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "SBC-AP-IEs"
* found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
* `asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
*/
#ifndef _SBcAP_Cause_H_
#define _SBcAP_Cause_H_
#include <asn_application.h>
/* Including external dependencies */
#include <NativeInteger.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Dependencies */
typedef enum SBcAP_Cause {
SBcAP_Cause_message_accepted = 0,
SBcAP_Cause_parameter_not_recognised = 1,
SBcAP_Cause_parameter_value_invalid = 2,
SBcAP_Cause_valid_message_not_identified = 3,
SBcAP_Cause_tracking_area_not_valid = 4,
SBcAP_Cause_unrecognised_message = 5,
SBcAP_Cause_missing_mandatory_element = 6,
SBcAP_Cause_mME_capacity_exceeded = 7,
SBcAP_Cause_mME_memory_exceeded = 8,
SBcAP_Cause_warning_broadcast_not_supported = 9,
SBcAP_Cause_warning_broadcast_not_operational = 10,
SBcAP_Cause_message_reference_already_used = 11,
SBcAP_Cause_unspecifed_error = 12,
SBcAP_Cause_transfer_syntax_error = 13,
SBcAP_Cause_semantic_error = 14,
SBcAP_Cause_message_not_compatible_with_receiver_state = 15,
SBcAP_Cause_abstract_syntax_error_reject = 16,
SBcAP_Cause_abstract_syntax_error_ignore_and_notify = 17,
SBcAP_Cause_abstract_syntax_error_falsely_constructed_message = 18
} e_SBcAP_Cause;
/* SBcAP_Cause */
typedef long SBcAP_Cause_t;
/* Implementation */
extern asn_per_constraints_t asn_PER_type_SBcAP_Cause_constr_1;
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Cause;
asn_struct_free_f SBcAP_Cause_free;
asn_struct_print_f SBcAP_Cause_print;
asn_constr_check_f SBcAP_Cause_constraint;
per_type_decoder_f SBcAP_Cause_decode_aper;
per_type_encoder_f SBcAP_Cause_encode_aper;
#ifdef __cplusplus
}
#endif
#endif /* _SBcAP_Cause_H_ */
#include <asn_internal.h>

View File

@ -0,0 +1,53 @@
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "SBC-AP-IEs"
* found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
* `asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
*/
#ifndef _SBcAP_CellID_Cancelled_Item_H_
#define _SBcAP_CellID_Cancelled_Item_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/sbcap/SBcAP_EUTRAN-CGI.h>
#include <osmocom/sbcap/SBcAP_NumberOfBroadcasts.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Forward declarations */
struct SBcAP_ProtocolExtensionContainer;
/* SBcAP_CellID-Cancelled-Item */
typedef struct SBcAP_CellID_Cancelled_Item {
SBcAP_EUTRAN_CGI_t eCGI;
SBcAP_NumberOfBroadcasts_t numberOfBroadcasts;
struct SBcAP_ProtocolExtensionContainer *iE_Extensions; /* OPTIONAL */
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SBcAP_CellID_Cancelled_Item_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_CellID_Cancelled_Item;
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_CellID_Cancelled_Item_specs_1;
extern asn_TYPE_member_t asn_MBR_SBcAP_CellID_Cancelled_Item_1[3];
#ifdef __cplusplus
}
#endif
/* Referred external types */
#include <osmocom/sbcap/SBcAP_ProtocolExtensionContainer.h>
#endif /* _SBcAP_CellID_Cancelled_Item_H_ */
#include <asn_internal.h>

View File

@ -0,0 +1,64 @@
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "SBC-AP-IEs"
* found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
* `asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
*/
#ifndef _SBcAP_CellID_Cancelled_List_5GS_H_
#define _SBcAP_CellID_Cancelled_List_5GS_H_
#include <asn_application.h>
/* Including external dependencies */
#include <asn_SEQUENCE_OF.h>
#include <osmocom/sbcap/SBcAP_NR-CGI.h>
#include <osmocom/sbcap/SBcAP_NumberOfBroadcasts.h>
#include <constr_SEQUENCE.h>
#include <constr_SEQUENCE_OF.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Forward declarations */
struct SBcAP_ProtocolExtensionContainer;
/* Forward definitions */
typedef struct SBcAP_CellID_Cancelled_List_5GS__Member {
SBcAP_NR_CGI_t nR_CGI;
SBcAP_NumberOfBroadcasts_t numberOfBroadcasts;
struct SBcAP_ProtocolExtensionContainer *iE_Extensions; /* OPTIONAL */
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} CellID_Cancelled_List_5GS__Member;
/* SBcAP_CellID-Cancelled-List-5GS */
typedef struct SBcAP_CellID_Cancelled_List_5GS {
A_SEQUENCE_OF(CellID_Cancelled_List_5GS__Member) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SBcAP_CellID_Cancelled_List_5GS_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_CellID_Cancelled_List_5GS;
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_CellID_Cancelled_List_5GS_specs_1;
extern asn_TYPE_member_t asn_MBR_SBcAP_CellID_Cancelled_List_5GS_1[1];
extern asn_per_constraints_t asn_PER_type_SBcAP_CellID_Cancelled_List_5GS_constr_1;
#ifdef __cplusplus
}
#endif
/* Referred external types */
#include <osmocom/sbcap/SBcAP_ProtocolExtensionContainer.h>
#endif /* _SBcAP_CellID_Cancelled_List_5GS_H_ */
#include <asn_internal.h>

View File

@ -0,0 +1,47 @@
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "SBC-AP-IEs"
* found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
* `asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
*/
#ifndef _SBcAP_CellID_Cancelled_List_H_
#define _SBcAP_CellID_Cancelled_List_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 SBcAP_CellID_Cancelled_Item;
/* SBcAP_CellID-Cancelled-List */
typedef struct SBcAP_CellID_Cancelled_List {
A_SEQUENCE_OF(struct SBcAP_CellID_Cancelled_Item) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SBcAP_CellID_Cancelled_List_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_CellID_Cancelled_List;
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_CellID_Cancelled_List_specs_1;
extern asn_TYPE_member_t asn_MBR_SBcAP_CellID_Cancelled_List_1[1];
extern asn_per_constraints_t asn_PER_type_SBcAP_CellID_Cancelled_List_constr_1;
#ifdef __cplusplus
}
#endif
/* Referred external types */
#include <osmocom/sbcap/SBcAP_CellID-Cancelled-Item.h>
#endif /* _SBcAP_CellID_Cancelled_List_H_ */
#include <asn_internal.h>

View File

@ -0,0 +1,62 @@
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "SBC-AP-IEs"
* found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
* `asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
*/
#ifndef _SBcAP_CellId_Broadcast_List_5GS_H_
#define _SBcAP_CellId_Broadcast_List_5GS_H_
#include <asn_application.h>
/* Including external dependencies */
#include <asn_SEQUENCE_OF.h>
#include <osmocom/sbcap/SBcAP_NR-CGI.h>
#include <constr_SEQUENCE.h>
#include <constr_SEQUENCE_OF.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Forward declarations */
struct SBcAP_ProtocolExtensionContainer;
/* Forward definitions */
typedef struct SBcAP_CellId_Broadcast_List_5GS__Member {
SBcAP_NR_CGI_t nR_CGI;
struct SBcAP_ProtocolExtensionContainer *iE_Extensions; /* OPTIONAL */
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} CellId_Broadcast_List_5GS__Member;
/* SBcAP_CellId-Broadcast-List-5GS */
typedef struct SBcAP_CellId_Broadcast_List_5GS {
A_SEQUENCE_OF(CellId_Broadcast_List_5GS__Member) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SBcAP_CellId_Broadcast_List_5GS_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_CellId_Broadcast_List_5GS;
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_CellId_Broadcast_List_5GS_specs_1;
extern asn_TYPE_member_t asn_MBR_SBcAP_CellId_Broadcast_List_5GS_1[1];
extern asn_per_constraints_t asn_PER_type_SBcAP_CellId_Broadcast_List_5GS_constr_1;
#ifdef __cplusplus
}
#endif
/* Referred external types */
#include <osmocom/sbcap/SBcAP_ProtocolExtensionContainer.h>
#endif /* _SBcAP_CellId_Broadcast_List_5GS_H_ */
#include <asn_internal.h>

View File

@ -0,0 +1,51 @@
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "SBC-AP-IEs"
* found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
* `asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
*/
#ifndef _SBcAP_CellId_Broadcast_List_Item_H_
#define _SBcAP_CellId_Broadcast_List_Item_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/sbcap/SBcAP_EUTRAN-CGI.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Forward declarations */
struct SBcAP_ProtocolExtensionContainer;
/* SBcAP_CellId-Broadcast-List-Item */
typedef struct SBcAP_CellId_Broadcast_List_Item {
SBcAP_EUTRAN_CGI_t eCGI;
struct SBcAP_ProtocolExtensionContainer *iE_Extensions; /* OPTIONAL */
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SBcAP_CellId_Broadcast_List_Item_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_CellId_Broadcast_List_Item;
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_CellId_Broadcast_List_Item_specs_1;
extern asn_TYPE_member_t asn_MBR_SBcAP_CellId_Broadcast_List_Item_1[2];
#ifdef __cplusplus
}
#endif
/* Referred external types */
#include <osmocom/sbcap/SBcAP_ProtocolExtensionContainer.h>
#endif /* _SBcAP_CellId_Broadcast_List_Item_H_ */
#include <asn_internal.h>

View File

@ -0,0 +1,47 @@
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "SBC-AP-IEs"
* found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
* `asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
*/
#ifndef _SBcAP_CellId_Broadcast_List_H_
#define _SBcAP_CellId_Broadcast_List_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 SBcAP_CellId_Broadcast_List_Item;
/* SBcAP_CellId-Broadcast-List */
typedef struct SBcAP_CellId_Broadcast_List {
A_SEQUENCE_OF(struct SBcAP_CellId_Broadcast_List_Item) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SBcAP_CellId_Broadcast_List_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_CellId_Broadcast_List;
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_CellId_Broadcast_List_specs_1;
extern asn_TYPE_member_t asn_MBR_SBcAP_CellId_Broadcast_List_1[1];
extern asn_per_constraints_t asn_PER_type_SBcAP_CellId_Broadcast_List_constr_1;
#ifdef __cplusplus
}
#endif
/* Referred external types */
#include <osmocom/sbcap/SBcAP_CellId-Broadcast-List-Item.h>
#endif /* _SBcAP_CellId_Broadcast_List_H_ */
#include <asn_internal.h>

View File

@ -0,0 +1,38 @@
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "SBC-AP-IEs"
* found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
* `asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
*/
#ifndef _SBcAP_CellIdentity_H_
#define _SBcAP_CellIdentity_H_
#include <asn_application.h>
/* Including external dependencies */
#include <BIT_STRING.h>
#ifdef __cplusplus
extern "C" {
#endif
/* SBcAP_CellIdentity */
typedef BIT_STRING_t SBcAP_CellIdentity_t;
/* Implementation */
extern asn_per_constraints_t asn_PER_type_SBcAP_CellIdentity_constr_1;
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_CellIdentity;
asn_struct_free_f SBcAP_CellIdentity_free;
asn_struct_print_f SBcAP_CellIdentity_print;
asn_constr_check_f SBcAP_CellIdentity_constraint;
per_type_decoder_f SBcAP_CellIdentity_decode_aper;
per_type_encoder_f SBcAP_CellIdentity_encode_aper;
#ifdef __cplusplus
}
#endif
#endif /* _SBcAP_CellIdentity_H_ */
#include <asn_internal.h>

View File

@ -0,0 +1,44 @@
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "SBC-AP-IEs"
* found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
* `asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
*/
#ifndef _SBcAP_Concurrent_Warning_Message_Indicator_H_
#define _SBcAP_Concurrent_Warning_Message_Indicator_H_
#include <asn_application.h>
/* Including external dependencies */
#include <NativeEnumerated.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Dependencies */
typedef enum SBcAP_Concurrent_Warning_Message_Indicator {
SBcAP_Concurrent_Warning_Message_Indicator_true = 0
} e_SBcAP_Concurrent_Warning_Message_Indicator;
/* SBcAP_Concurrent-Warning-Message-Indicator */
typedef long SBcAP_Concurrent_Warning_Message_Indicator_t;
/* Implementation */
extern asn_per_constraints_t asn_PER_type_SBcAP_Concurrent_Warning_Message_Indicator_constr_1;
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Concurrent_Warning_Message_Indicator;
extern const asn_INTEGER_specifics_t asn_SPC_Concurrent_Warning_Message_Indicator_specs_1;
asn_struct_free_f Concurrent_Warning_Message_Indicator_free;
asn_struct_print_f Concurrent_Warning_Message_Indicator_print;
asn_constr_check_f Concurrent_Warning_Message_Indicator_constraint;
per_type_decoder_f Concurrent_Warning_Message_Indicator_decode_aper;
per_type_encoder_f Concurrent_Warning_Message_Indicator_encode_aper;
#ifdef __cplusplus
}
#endif
#endif /* _SBcAP_Concurrent_Warning_Message_Indicator_H_ */
#include <asn_internal.h>

View File

@ -0,0 +1,58 @@
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "SBC-AP-IEs"
* found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
* `asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
*/
#ifndef _SBcAP_Criticality_Diagnostics_H_
#define _SBcAP_Criticality_Diagnostics_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/sbcap/SBcAP_ProcedureCode.h>
#include <osmocom/sbcap/SBcAP_TriggeringMessage.h>
#include <osmocom/sbcap/SBcAP_Criticality.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Forward declarations */
struct SBcAP_CriticalityDiagnostics_IE_List;
struct SBcAP_ProtocolExtensionContainer;
/* SBcAP_Criticality-Diagnostics */
typedef struct SBcAP_Criticality_Diagnostics {
SBcAP_ProcedureCode_t *procedureCode; /* OPTIONAL */
SBcAP_TriggeringMessage_t *triggeringMessage; /* OPTIONAL */
SBcAP_Criticality_t *procedureCriticality; /* OPTIONAL */
struct SBcAP_CriticalityDiagnostics_IE_List *iE_CriticalityDiagnostics; /* OPTIONAL */
struct SBcAP_ProtocolExtensionContainer *iE_Extensions; /* OPTIONAL */
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SBcAP_Criticality_Diagnostics_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Criticality_Diagnostics;
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_Criticality_Diagnostics_specs_1;
extern asn_TYPE_member_t asn_MBR_SBcAP_Criticality_Diagnostics_1[5];
#ifdef __cplusplus
}
#endif
/* Referred external types */
#include <osmocom/sbcap/SBcAP_CriticalityDiagnostics-IE-List.h>
#include <osmocom/sbcap/SBcAP_ProtocolExtensionContainer.h>
#endif /* _SBcAP_Criticality_Diagnostics_H_ */
#include <asn_internal.h>

View File

@ -0,0 +1,46 @@
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "SBC-AP-CommonDataTypes"
* found in "../../src/sbcap/asn1/SBC_AP_CommonDataTypes.asn"
* `asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
*/
#ifndef _SBcAP_Criticality_H_
#define _SBcAP_Criticality_H_
#include <asn_application.h>
/* Including external dependencies */
#include <NativeEnumerated.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Dependencies */
typedef enum SBcAP_Criticality {
SBcAP_Criticality_reject = 0,
SBcAP_Criticality_ignore = 1,
SBcAP_Criticality_notify = 2
} e_SBcAP_Criticality;
/* SBcAP_Criticality */
typedef long SBcAP_Criticality_t;
/* Implementation */
extern asn_per_constraints_t asn_PER_type_SBcAP_Criticality_constr_1;
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Criticality;
extern const asn_INTEGER_specifics_t asn_SPC_Criticality_specs_1;
asn_struct_free_f Criticality_free;
asn_struct_print_f Criticality_print;
asn_constr_check_f Criticality_constraint;
per_type_decoder_f Criticality_decode_aper;
per_type_encoder_f Criticality_encode_aper;
#ifdef __cplusplus
}
#endif
#endif /* _SBcAP_Criticality_H_ */
#include <asn_internal.h>

View File

@ -0,0 +1,66 @@
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "SBC-AP-IEs"
* found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
* `asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
*/
#ifndef _SBcAP_CriticalityDiagnostics_IE_List_H_
#define _SBcAP_CriticalityDiagnostics_IE_List_H_
#include <asn_application.h>
/* Including external dependencies */
#include <asn_SEQUENCE_OF.h>
#include <osmocom/sbcap/SBcAP_Criticality.h>
#include <osmocom/sbcap/SBcAP_ProtocolIE-ID.h>
#include <osmocom/sbcap/SBcAP_TypeOfError.h>
#include <constr_SEQUENCE.h>
#include <constr_SEQUENCE_OF.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Forward declarations */
struct SBcAP_ProtocolExtensionContainer;
/* Forward definitions */
typedef struct SBcAP_CriticalityDiagnostics_IE_List__Member {
SBcAP_Criticality_t iECriticality;
SBcAP_ProtocolIE_ID_t iE_ID;
SBcAP_TypeOfError_t typeOfError;
struct SBcAP_ProtocolExtensionContainer *iE_Extensions; /* OPTIONAL */
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} CriticalityDiagnostics_IE_List__Member;
/* SBcAP_CriticalityDiagnostics-IE-List */
typedef struct SBcAP_CriticalityDiagnostics_IE_List {
A_SEQUENCE_OF(CriticalityDiagnostics_IE_List__Member) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SBcAP_CriticalityDiagnostics_IE_List_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_CriticalityDiagnostics_IE_List;
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_CriticalityDiagnostics_IE_List_specs_1;
extern asn_TYPE_member_t asn_MBR_SBcAP_CriticalityDiagnostics_IE_List_1[1];
extern asn_per_constraints_t asn_PER_type_SBcAP_CriticalityDiagnostics_IE_List_constr_1;
#ifdef __cplusplus
}
#endif
/* Referred external types */
#include <osmocom/sbcap/SBcAP_ProtocolExtensionContainer.h>
#endif /* _SBcAP_CriticalityDiagnostics_IE_List_H_ */
#include <asn_internal.h>

View File

@ -0,0 +1,38 @@
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "SBC-AP-IEs"
* found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
* `asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
*/
#ifndef _SBcAP_Data_Coding_Scheme_H_
#define _SBcAP_Data_Coding_Scheme_H_
#include <asn_application.h>
/* Including external dependencies */
#include <BIT_STRING.h>
#ifdef __cplusplus
extern "C" {
#endif
/* SBcAP_Data-Coding-Scheme */
typedef BIT_STRING_t SBcAP_Data_Coding_Scheme_t;
/* Implementation */
extern asn_per_constraints_t asn_PER_type_SBcAP_Data_Coding_Scheme_constr_1;
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Data_Coding_Scheme;
asn_struct_free_f SBcAP_Data_Coding_Scheme_free;
asn_struct_print_f SBcAP_Data_Coding_Scheme_print;
asn_constr_check_f SBcAP_Data_Coding_Scheme_constraint;
per_type_decoder_f SBcAP_Data_Coding_Scheme_decode_aper;
per_type_encoder_f SBcAP_Data_Coding_Scheme_encode_aper;
#ifdef __cplusplus
}
#endif
#endif /* _SBcAP_Data_Coding_Scheme_H_ */
#include <asn_internal.h>

View File

@ -0,0 +1,47 @@
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "SBC-AP-IEs"
* found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
* `asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
*/
#ifndef _SBcAP_ECGIList_H_
#define _SBcAP_ECGIList_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 SBcAP_EUTRAN_CGI;
/* SBcAP_ECGIList */
typedef struct SBcAP_ECGIList {
A_SEQUENCE_OF(struct SBcAP_EUTRAN_CGI) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SBcAP_ECGIList_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_ECGIList;
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_ECGIList_specs_1;
extern asn_TYPE_member_t asn_MBR_SBcAP_ECGIList_1[1];
extern asn_per_constraints_t asn_PER_type_SBcAP_ECGIList_constr_1;