Skip to content
Snippets Groups Projects
Commit 391dfe65 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen
Browse files

update for NGAP rel 16.0.0

parent 057332aa
No related branches found
No related tags found
1 merge request!8Pdu session modification (UE-initiated, first step)
Showing
with 703 additions and 9 deletions
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#include "Ngap_CNAssistedRANTuning.h"
#include "Ngap_ExpectedUEBehaviour.h"
#include "Ngap_ProtocolExtensionContainer.h"
asn_TYPE_member_t asn_MBR_Ngap_CNAssistedRANTuning_1[] = {
{ ATF_POINTER, 2, offsetof(struct Ngap_CNAssistedRANTuning, expectedUEBehaviour),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ExpectedUEBehaviour,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"expectedUEBehaviour"
},
{ ATF_POINTER, 1, offsetof(struct Ngap_CNAssistedRANTuning, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P25,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"iE-Extensions"
},
};
static const int asn_MAP_Ngap_CNAssistedRANTuning_oms_1[] = { 0, 1 };
static const ber_tlv_tag_t asn_DEF_Ngap_CNAssistedRANTuning_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static const asn_TYPE_tag2member_t asn_MAP_Ngap_CNAssistedRANTuning_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* expectedUEBehaviour */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* iE-Extensions */
};
asn_SEQUENCE_specifics_t asn_SPC_Ngap_CNAssistedRANTuning_specs_1 = {
sizeof(struct Ngap_CNAssistedRANTuning),
offsetof(struct Ngap_CNAssistedRANTuning, _asn_ctx),
asn_MAP_Ngap_CNAssistedRANTuning_tag2el_1,
2, /* Count of tags in the map */
asn_MAP_Ngap_CNAssistedRANTuning_oms_1, /* Optional members */
2, 0, /* Root/Additions */
2, /* First extension addition */
};
asn_TYPE_descriptor_t asn_DEF_Ngap_CNAssistedRANTuning = {
"CNAssistedRANTuning",
"CNAssistedRANTuning",
&asn_OP_SEQUENCE,
asn_DEF_Ngap_CNAssistedRANTuning_tags_1,
sizeof(asn_DEF_Ngap_CNAssistedRANTuning_tags_1)
/sizeof(asn_DEF_Ngap_CNAssistedRANTuning_tags_1[0]), /* 1 */
asn_DEF_Ngap_CNAssistedRANTuning_tags_1, /* Same as above */
sizeof(asn_DEF_Ngap_CNAssistedRANTuning_tags_1)
/sizeof(asn_DEF_Ngap_CNAssistedRANTuning_tags_1[0]), /* 1 */
{ 0, 0, SEQUENCE_constraint },
asn_MBR_Ngap_CNAssistedRANTuning_1,
2, /* Elements count */
&asn_SPC_Ngap_CNAssistedRANTuning_specs_1 /* Additional specs */
};
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#ifndef _Ngap_CNAssistedRANTuning_H_
#define _Ngap_CNAssistedRANTuning_H_
#include <asn_application.h>
/* Including external dependencies */
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Forward declarations */
struct Ngap_ExpectedUEBehaviour;
struct Ngap_ProtocolExtensionContainer;
/* Ngap_CNAssistedRANTuning */
typedef struct Ngap_CNAssistedRANTuning {
struct Ngap_ExpectedUEBehaviour *expectedUEBehaviour; /* OPTIONAL */
struct Ngap_ProtocolExtensionContainer *iE_Extensions; /* OPTIONAL */
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} Ngap_CNAssistedRANTuning_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_Ngap_CNAssistedRANTuning;
extern asn_SEQUENCE_specifics_t asn_SPC_Ngap_CNAssistedRANTuning_specs_1;
extern asn_TYPE_member_t asn_MBR_Ngap_CNAssistedRANTuning_1[2];
#ifdef __cplusplus
}
#endif
#endif /* _Ngap_CNAssistedRANTuning_H_ */
#include <asn_internal.h>
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#include "Ngap_CNTypeRestrictionsForEquivalent.h"
#include "Ngap_CNTypeRestrictionsForEquivalentItem.h"
static asn_oer_constraints_t asn_OER_type_Ngap_CNTypeRestrictionsForEquivalent_constr_1 CC_NOTUSED = {
{ 0, 0 },
-1 /* (SIZE(1..15)) */};
asn_per_constraints_t asn_PER_type_Ngap_CNTypeRestrictionsForEquivalent_constr_1 CC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 4, 4, 1, 15 } /* (SIZE(1..15)) */,
0, 0 /* No PER value map */
};
asn_TYPE_member_t asn_MBR_Ngap_CNTypeRestrictionsForEquivalent_1[] = {
{ ATF_POINTER, 0, 0,
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
0,
&asn_DEF_Ngap_CNTypeRestrictionsForEquivalentItem,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
""
},
};
static const ber_tlv_tag_t asn_DEF_Ngap_CNTypeRestrictionsForEquivalent_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
asn_SET_OF_specifics_t asn_SPC_Ngap_CNTypeRestrictionsForEquivalent_specs_1 = {
sizeof(struct Ngap_CNTypeRestrictionsForEquivalent),
offsetof(struct Ngap_CNTypeRestrictionsForEquivalent, _asn_ctx),
0, /* XER encoding is XMLDelimitedItemList */
};
asn_TYPE_descriptor_t asn_DEF_Ngap_CNTypeRestrictionsForEquivalent = {
"CNTypeRestrictionsForEquivalent",
"CNTypeRestrictionsForEquivalent",
&asn_OP_SEQUENCE_OF,
asn_DEF_Ngap_CNTypeRestrictionsForEquivalent_tags_1,
sizeof(asn_DEF_Ngap_CNTypeRestrictionsForEquivalent_tags_1)
/sizeof(asn_DEF_Ngap_CNTypeRestrictionsForEquivalent_tags_1[0]), /* 1 */
asn_DEF_Ngap_CNTypeRestrictionsForEquivalent_tags_1, /* Same as above */
sizeof(asn_DEF_Ngap_CNTypeRestrictionsForEquivalent_tags_1)
/sizeof(asn_DEF_Ngap_CNTypeRestrictionsForEquivalent_tags_1[0]), /* 1 */
{ &asn_OER_type_Ngap_CNTypeRestrictionsForEquivalent_constr_1, &asn_PER_type_Ngap_CNTypeRestrictionsForEquivalent_constr_1, SEQUENCE_OF_constraint },
asn_MBR_Ngap_CNTypeRestrictionsForEquivalent_1,
1, /* Single element */
&asn_SPC_Ngap_CNTypeRestrictionsForEquivalent_specs_1 /* Additional specs */
};
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#ifndef _Ngap_CNTypeRestrictionsForEquivalent_H_
#define _Ngap_CNTypeRestrictionsForEquivalent_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 Ngap_CNTypeRestrictionsForEquivalentItem;
/* Ngap_CNTypeRestrictionsForEquivalent */
typedef struct Ngap_CNTypeRestrictionsForEquivalent {
A_SEQUENCE_OF(struct Ngap_CNTypeRestrictionsForEquivalentItem) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} Ngap_CNTypeRestrictionsForEquivalent_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_Ngap_CNTypeRestrictionsForEquivalent;
extern asn_SET_OF_specifics_t asn_SPC_Ngap_CNTypeRestrictionsForEquivalent_specs_1;
extern asn_TYPE_member_t asn_MBR_Ngap_CNTypeRestrictionsForEquivalent_1[1];
extern asn_per_constraints_t asn_PER_type_Ngap_CNTypeRestrictionsForEquivalent_constr_1;
#ifdef __cplusplus
}
#endif
#endif /* _Ngap_CNTypeRestrictionsForEquivalent_H_ */
#include <asn_internal.h>
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#include "Ngap_CNTypeRestrictionsForEquivalentItem.h"
#include "Ngap_ProtocolExtensionContainer.h"
/*
* This type is implemented using NativeEnumerated,
* so here we adjust the DEF accordingly.
*/
static asn_oer_constraints_t asn_OER_type_Ngap_cn_Type_constr_3 CC_NOTUSED = {
{ 0, 0 },
-1};
static asn_per_constraints_t asn_PER_type_Ngap_cn_Type_constr_3 CC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static const asn_INTEGER_enum_map_t asn_MAP_Ngap_cn_Type_value2enum_3[] = {
{ 0, 13, "epc-forbidden" },
{ 1, 16, "fiveGC-forbidden" }
/* This list is extensible */
};
static const unsigned int asn_MAP_Ngap_cn_Type_enum2value_3[] = {
0, /* epc-forbidden(0) */
1 /* fiveGC-forbidden(1) */
/* This list is extensible */
};
static const asn_INTEGER_specifics_t asn_SPC_Ngap_cn_Type_specs_3 = {
asn_MAP_Ngap_cn_Type_value2enum_3, /* "tag" => N; sorted by tag */
asn_MAP_Ngap_cn_Type_enum2value_3, /* 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_Ngap_cn_Type_tags_3[] = {
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_Ngap_cn_Type_3 = {
"cn-Type",
"cn-Type",
&asn_OP_NativeEnumerated,
asn_DEF_Ngap_cn_Type_tags_3,
sizeof(asn_DEF_Ngap_cn_Type_tags_3)
/sizeof(asn_DEF_Ngap_cn_Type_tags_3[0]) - 1, /* 1 */
asn_DEF_Ngap_cn_Type_tags_3, /* Same as above */
sizeof(asn_DEF_Ngap_cn_Type_tags_3)
/sizeof(asn_DEF_Ngap_cn_Type_tags_3[0]), /* 2 */
{ &asn_OER_type_Ngap_cn_Type_constr_3, &asn_PER_type_Ngap_cn_Type_constr_3, NativeEnumerated_constraint },
0, 0, /* Defined elsewhere */
&asn_SPC_Ngap_cn_Type_specs_3 /* Additional specs */
};
asn_TYPE_member_t asn_MBR_Ngap_CNTypeRestrictionsForEquivalentItem_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct Ngap_CNTypeRestrictionsForEquivalentItem, plmnIdentity),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_PLMNIdentity,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"plmnIdentity"
},
{ ATF_NOFLAGS, 0, offsetof(struct Ngap_CNTypeRestrictionsForEquivalentItem, cn_Type),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_cn_Type_3,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"cn-Type"
},
{ ATF_POINTER, 1, offsetof(struct Ngap_CNTypeRestrictionsForEquivalentItem, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P26,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"iE-Extensions"
},
};
static const int asn_MAP_Ngap_CNTypeRestrictionsForEquivalentItem_oms_1[] = { 2 };
static const ber_tlv_tag_t asn_DEF_Ngap_CNTypeRestrictionsForEquivalentItem_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static const asn_TYPE_tag2member_t asn_MAP_Ngap_CNTypeRestrictionsForEquivalentItem_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* plmnIdentity */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* cn-Type */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
};
asn_SEQUENCE_specifics_t asn_SPC_Ngap_CNTypeRestrictionsForEquivalentItem_specs_1 = {
sizeof(struct Ngap_CNTypeRestrictionsForEquivalentItem),
offsetof(struct Ngap_CNTypeRestrictionsForEquivalentItem, _asn_ctx),
asn_MAP_Ngap_CNTypeRestrictionsForEquivalentItem_tag2el_1,
3, /* Count of tags in the map */
asn_MAP_Ngap_CNTypeRestrictionsForEquivalentItem_oms_1, /* Optional members */
1, 0, /* Root/Additions */
3, /* First extension addition */
};
asn_TYPE_descriptor_t asn_DEF_Ngap_CNTypeRestrictionsForEquivalentItem = {
"CNTypeRestrictionsForEquivalentItem",
"CNTypeRestrictionsForEquivalentItem",
&asn_OP_SEQUENCE,
asn_DEF_Ngap_CNTypeRestrictionsForEquivalentItem_tags_1,
sizeof(asn_DEF_Ngap_CNTypeRestrictionsForEquivalentItem_tags_1)
/sizeof(asn_DEF_Ngap_CNTypeRestrictionsForEquivalentItem_tags_1[0]), /* 1 */
asn_DEF_Ngap_CNTypeRestrictionsForEquivalentItem_tags_1, /* Same as above */
sizeof(asn_DEF_Ngap_CNTypeRestrictionsForEquivalentItem_tags_1)
/sizeof(asn_DEF_Ngap_CNTypeRestrictionsForEquivalentItem_tags_1[0]), /* 1 */
{ 0, 0, SEQUENCE_constraint },
asn_MBR_Ngap_CNTypeRestrictionsForEquivalentItem_1,
3, /* Elements count */
&asn_SPC_Ngap_CNTypeRestrictionsForEquivalentItem_specs_1 /* Additional specs */
};
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#ifndef _Ngap_CNTypeRestrictionsForEquivalentItem_H_
#define _Ngap_CNTypeRestrictionsForEquivalentItem_H_
#include <asn_application.h>
/* Including external dependencies */
#include "Ngap_PLMNIdentity.h"
#include <NativeEnumerated.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Dependencies */
typedef enum Ngap_CNTypeRestrictionsForEquivalentItem__cn_Type {
Ngap_CNTypeRestrictionsForEquivalentItem__cn_Type_epc_forbidden = 0,
Ngap_CNTypeRestrictionsForEquivalentItem__cn_Type_fiveGC_forbidden = 1
/*
* Enumeration is extensible
*/
} e_Ngap_CNTypeRestrictionsForEquivalentItem__cn_Type;
/* Forward declarations */
struct Ngap_ProtocolExtensionContainer;
/* Ngap_CNTypeRestrictionsForEquivalentItem */
typedef struct Ngap_CNTypeRestrictionsForEquivalentItem {
Ngap_PLMNIdentity_t plmnIdentity;
long cn_Type;
struct Ngap_ProtocolExtensionContainer *iE_Extensions; /* OPTIONAL */
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} Ngap_CNTypeRestrictionsForEquivalentItem_t;
/* Implementation */
/* extern asn_TYPE_descriptor_t asn_DEF_Ngap_cn_Type_3; // (Use -fall-defs-global to expose) */
extern asn_TYPE_descriptor_t asn_DEF_Ngap_CNTypeRestrictionsForEquivalentItem;
extern asn_SEQUENCE_specifics_t asn_SPC_Ngap_CNTypeRestrictionsForEquivalentItem_specs_1;
extern asn_TYPE_member_t asn_MBR_Ngap_CNTypeRestrictionsForEquivalentItem_1[3];
#ifdef __cplusplus
}
#endif
#endif /* _Ngap_CNTypeRestrictionsForEquivalentItem_H_ */
#include <asn_internal.h>
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#include "Ngap_CNTypeRestrictionsForServing.h"
/*
* This type is implemented using NativeEnumerated,
* so here we adjust the DEF accordingly.
*/
static asn_oer_constraints_t asn_OER_type_Ngap_CNTypeRestrictionsForServing_constr_1 CC_NOTUSED = {
{ 0, 0 },
-1};
asn_per_constraints_t asn_PER_type_Ngap_CNTypeRestrictionsForServing_constr_1 CC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } /* (0..0,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static const asn_INTEGER_enum_map_t asn_MAP_Ngap_CNTypeRestrictionsForServing_value2enum_1[] = {
{ 0, 13, "epc-forbidden" }
/* This list is extensible */
};
static const unsigned int asn_MAP_Ngap_CNTypeRestrictionsForServing_enum2value_1[] = {
0 /* epc-forbidden(0) */
/* This list is extensible */
};
const asn_INTEGER_specifics_t asn_SPC_Ngap_CNTypeRestrictionsForServing_specs_1 = {
asn_MAP_Ngap_CNTypeRestrictionsForServing_value2enum_1, /* "tag" => N; sorted by tag */
asn_MAP_Ngap_CNTypeRestrictionsForServing_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_Ngap_CNTypeRestrictionsForServing_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
asn_TYPE_descriptor_t asn_DEF_Ngap_CNTypeRestrictionsForServing = {
"CNTypeRestrictionsForServing",
"CNTypeRestrictionsForServing",
&asn_OP_NativeEnumerated,
asn_DEF_Ngap_CNTypeRestrictionsForServing_tags_1,
sizeof(asn_DEF_Ngap_CNTypeRestrictionsForServing_tags_1)
/sizeof(asn_DEF_Ngap_CNTypeRestrictionsForServing_tags_1[0]), /* 1 */
asn_DEF_Ngap_CNTypeRestrictionsForServing_tags_1, /* Same as above */
sizeof(asn_DEF_Ngap_CNTypeRestrictionsForServing_tags_1)
/sizeof(asn_DEF_Ngap_CNTypeRestrictionsForServing_tags_1[0]), /* 1 */
{ &asn_OER_type_Ngap_CNTypeRestrictionsForServing_constr_1, &asn_PER_type_Ngap_CNTypeRestrictionsForServing_constr_1, NativeEnumerated_constraint },
0, 0, /* Defined elsewhere */
&asn_SPC_Ngap_CNTypeRestrictionsForServing_specs_1 /* Additional specs */
};
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#ifndef _Ngap_CNTypeRestrictionsForServing_H_
#define _Ngap_CNTypeRestrictionsForServing_H_
#include <asn_application.h>
/* Including external dependencies */
#include <NativeEnumerated.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Dependencies */
typedef enum Ngap_CNTypeRestrictionsForServing {
Ngap_CNTypeRestrictionsForServing_epc_forbidden = 0
/*
* Enumeration is extensible
*/
} e_Ngap_CNTypeRestrictionsForServing;
/* Ngap_CNTypeRestrictionsForServing */
typedef long Ngap_CNTypeRestrictionsForServing_t;
/* Implementation */
extern asn_per_constraints_t asn_PER_type_Ngap_CNTypeRestrictionsForServing_constr_1;
extern asn_TYPE_descriptor_t asn_DEF_Ngap_CNTypeRestrictionsForServing;
extern const asn_INTEGER_specifics_t asn_SPC_Ngap_CNTypeRestrictionsForServing_specs_1;
asn_struct_free_f Ngap_CNTypeRestrictionsForServing_free;
asn_struct_print_f Ngap_CNTypeRestrictionsForServing_print;
asn_constr_check_f Ngap_CNTypeRestrictionsForServing_constraint;
ber_type_decoder_f Ngap_CNTypeRestrictionsForServing_decode_ber;
der_type_encoder_f Ngap_CNTypeRestrictionsForServing_encode_der;
xer_type_decoder_f Ngap_CNTypeRestrictionsForServing_decode_xer;
xer_type_encoder_f Ngap_CNTypeRestrictionsForServing_encode_xer;
oer_type_decoder_f Ngap_CNTypeRestrictionsForServing_decode_oer;
oer_type_encoder_f Ngap_CNTypeRestrictionsForServing_encode_oer;
per_type_decoder_f Ngap_CNTypeRestrictionsForServing_decode_uper;
per_type_encoder_f Ngap_CNTypeRestrictionsForServing_encode_uper;
per_type_decoder_f Ngap_CNTypeRestrictionsForServing_decode_aper;
per_type_encoder_f Ngap_CNTypeRestrictionsForServing_encode_aper;
#ifdef __cplusplus
}
#endif
#endif /* _Ngap_CNTypeRestrictionsForServing_H_ */
#include <asn_internal.h>
......@@ -96,7 +96,7 @@ asn_TYPE_member_t asn_MBR_Ngap_COUNTValueForPDCP_SN12_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_COUNTValueForPDCP_SN12, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P30,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P32,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -96,7 +96,7 @@ asn_TYPE_member_t asn_MBR_Ngap_COUNTValueForPDCP_SN18_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_COUNTValueForPDCP_SN18, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P31,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P33,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -66,7 +66,8 @@ static const asn_INTEGER_enum_map_t asn_MAP_Ngap_CauseRadioNetwork_value2enum_1[
{ 43, 43, "ue-max-integrity-protected-data-rate-reason" },
{ 44, 35, "release-due-to-cn-detected-mobility" },
{ 45, 27, "n26-interface-not-available" },
{ 46, 26, "release-due-to-pre-emption" }
{ 46, 26, "release-due-to-pre-emption" },
{ 47, 50, "multiple-location-reporting-reference-ID-instances" }
/* This list is extensible */
};
static const unsigned int asn_MAP_Ngap_CauseRadioNetwork_enum2value_1[] = {
......@@ -82,6 +83,7 @@ static const unsigned int asn_MAP_Ngap_CauseRadioNetwork_enum2value_1[] = {
25, /* interaction-with-other-procedure(25) */
23, /* invalid-qos-combination(23) */
28, /* multiple-PDU-session-ID-instances(28) */
47, /* multiple-location-reporting-reference-ID-instances(47) */
29, /* multiple-qos-flow-ID-instances(29) */
45, /* n26-interface-not-available(45) */
32, /* ng-inter-system-handover-triggered(32) */
......@@ -122,7 +124,7 @@ static const unsigned int asn_MAP_Ngap_CauseRadioNetwork_enum2value_1[] = {
const asn_INTEGER_specifics_t asn_SPC_Ngap_CauseRadioNetwork_specs_1 = {
asn_MAP_Ngap_CauseRadioNetwork_value2enum_1, /* "tag" => N; sorted by tag */
asn_MAP_Ngap_CauseRadioNetwork_enum2value_1, /* N => "tag"; sorted by N */
47, /* Number of elements in the maps */
48, /* Number of elements in the maps */
46, /* Extensions before this member */
1, /* Strict enumeration */
0, /* Native long size */
......
......@@ -69,7 +69,8 @@ typedef enum Ngap_CauseRadioNetwork {
* Enumeration is extensible
*/
Ngap_CauseRadioNetwork_n26_interface_not_available = 45,
Ngap_CauseRadioNetwork_release_due_to_pre_emption = 46
Ngap_CauseRadioNetwork_release_due_to_pre_emption = 46,
Ngap_CauseRadioNetwork_multiple_location_reporting_reference_ID_instances = 47
} e_Ngap_CauseRadioNetwork;
/* Ngap_CauseRadioNetwork */
......
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#include "Ngap_CommonNetworkInstance.h"
/*
* This type is implemented using OCTET_STRING,
* so here we adjust the DEF accordingly.
*/
static const ber_tlv_tag_t asn_DEF_Ngap_CommonNetworkInstance_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
};
asn_TYPE_descriptor_t asn_DEF_Ngap_CommonNetworkInstance = {
"CommonNetworkInstance",
"CommonNetworkInstance",
&asn_OP_OCTET_STRING,
asn_DEF_Ngap_CommonNetworkInstance_tags_1,
sizeof(asn_DEF_Ngap_CommonNetworkInstance_tags_1)
/sizeof(asn_DEF_Ngap_CommonNetworkInstance_tags_1[0]), /* 1 */
asn_DEF_Ngap_CommonNetworkInstance_tags_1, /* Same as above */
sizeof(asn_DEF_Ngap_CommonNetworkInstance_tags_1)
/sizeof(asn_DEF_Ngap_CommonNetworkInstance_tags_1[0]), /* 1 */
{ 0, 0, OCTET_STRING_constraint },
0, 0, /* No members */
&asn_SPC_OCTET_STRING_specs /* Additional specs */
};
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#ifndef _Ngap_CommonNetworkInstance_H_
#define _Ngap_CommonNetworkInstance_H_
#include <asn_application.h>
/* Including external dependencies */
#include <OCTET_STRING.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Ngap_CommonNetworkInstance */
typedef OCTET_STRING_t Ngap_CommonNetworkInstance_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_Ngap_CommonNetworkInstance;
asn_struct_free_f Ngap_CommonNetworkInstance_free;
asn_struct_print_f Ngap_CommonNetworkInstance_print;
asn_constr_check_f Ngap_CommonNetworkInstance_constraint;
ber_type_decoder_f Ngap_CommonNetworkInstance_decode_ber;
der_type_encoder_f Ngap_CommonNetworkInstance_encode_der;
xer_type_decoder_f Ngap_CommonNetworkInstance_decode_xer;
xer_type_encoder_f Ngap_CommonNetworkInstance_encode_xer;
oer_type_decoder_f Ngap_CommonNetworkInstance_decode_oer;
oer_type_encoder_f Ngap_CommonNetworkInstance_encode_oer;
per_type_decoder_f Ngap_CommonNetworkInstance_decode_uper;
per_type_encoder_f Ngap_CommonNetworkInstance_encode_uper;
per_type_decoder_f Ngap_CommonNetworkInstance_decode_aper;
per_type_encoder_f Ngap_CommonNetworkInstance_encode_aper;
#ifdef __cplusplus
}
#endif
#endif /* _Ngap_CommonNetworkInstance_H_ */
#include <asn_internal.h>
......@@ -21,7 +21,7 @@ asn_TYPE_member_t asn_MBR_Ngap_CompletedCellsInEAI_EUTRA_Item_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_CompletedCellsInEAI_EUTRA_Item, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P25,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P27,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -21,7 +21,7 @@ asn_TYPE_member_t asn_MBR_Ngap_CompletedCellsInEAI_NR_Item_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_CompletedCellsInEAI_NR_Item, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P26,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P28,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -21,7 +21,7 @@ asn_TYPE_member_t asn_MBR_Ngap_CompletedCellsInTAI_EUTRA_Item_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_CompletedCellsInTAI_EUTRA_Item, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P27,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P29,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
......@@ -21,7 +21,7 @@ asn_TYPE_member_t asn_MBR_Ngap_CompletedCellsInTAI_NR_Item_1[] = {
{ ATF_POINTER, 1, offsetof(struct Ngap_CompletedCellsInTAI_NR_Item, iE_Extensions),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Ngap_ProtocolExtensionContainer_175P28,
&asn_DEF_Ngap_ProtocolExtensionContainer_175P30,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
......
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#include "Ngap_ConfiguredNSSAI.h"
int
Ngap_ConfiguredNSSAI_constraint(const 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 == 128)) {
/* 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 asn_oer_constraints_t asn_OER_type_Ngap_ConfiguredNSSAI_constr_1 CC_NOTUSED = {
{ 0, 0 },
128 /* (SIZE(128..128)) */};
asn_per_constraints_t asn_PER_type_Ngap_ConfiguredNSSAI_constr_1 CC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 128, 128 } /* (SIZE(128..128)) */,
0, 0 /* No PER value map */
};
static const ber_tlv_tag_t asn_DEF_Ngap_ConfiguredNSSAI_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
};
asn_TYPE_descriptor_t asn_DEF_Ngap_ConfiguredNSSAI = {
"ConfiguredNSSAI",
"ConfiguredNSSAI",
&asn_OP_OCTET_STRING,
asn_DEF_Ngap_ConfiguredNSSAI_tags_1,
sizeof(asn_DEF_Ngap_ConfiguredNSSAI_tags_1)
/sizeof(asn_DEF_Ngap_ConfiguredNSSAI_tags_1[0]), /* 1 */
asn_DEF_Ngap_ConfiguredNSSAI_tags_1, /* Same as above */
sizeof(asn_DEF_Ngap_ConfiguredNSSAI_tags_1)
/sizeof(asn_DEF_Ngap_ConfiguredNSSAI_tags_1[0]), /* 1 */
{ &asn_OER_type_Ngap_ConfiguredNSSAI_constr_1, &asn_PER_type_Ngap_ConfiguredNSSAI_constr_1, Ngap_ConfiguredNSSAI_constraint },
0, 0, /* No members */
&asn_SPC_OCTET_STRING_specs /* Additional specs */
};
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#ifndef _Ngap_ConfiguredNSSAI_H_
#define _Ngap_ConfiguredNSSAI_H_
#include <asn_application.h>
/* Including external dependencies */
#include <OCTET_STRING.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Ngap_ConfiguredNSSAI */
typedef OCTET_STRING_t Ngap_ConfiguredNSSAI_t;
/* Implementation */
extern asn_per_constraints_t asn_PER_type_Ngap_ConfiguredNSSAI_constr_1;
extern asn_TYPE_descriptor_t asn_DEF_Ngap_ConfiguredNSSAI;
asn_struct_free_f Ngap_ConfiguredNSSAI_free;
asn_struct_print_f Ngap_ConfiguredNSSAI_print;
asn_constr_check_f Ngap_ConfiguredNSSAI_constraint;
ber_type_decoder_f Ngap_ConfiguredNSSAI_decode_ber;
der_type_encoder_f Ngap_ConfiguredNSSAI_encode_der;
xer_type_decoder_f Ngap_ConfiguredNSSAI_decode_xer;
xer_type_encoder_f Ngap_ConfiguredNSSAI_encode_xer;
oer_type_decoder_f Ngap_ConfiguredNSSAI_decode_oer;
oer_type_encoder_f Ngap_ConfiguredNSSAI_encode_oer;
per_type_decoder_f Ngap_ConfiguredNSSAI_decode_uper;
per_type_encoder_f Ngap_ConfiguredNSSAI_encode_uper;
per_type_decoder_f Ngap_ConfiguredNSSAI_decode_aper;
per_type_encoder_f Ngap_ConfiguredNSSAI_encode_aper;
#ifdef __cplusplus
}
#endif
#endif /* _Ngap_ConfiguredNSSAI_H_ */
#include <asn_internal.h>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment