2 * Generated by asn1c-0.9.29 n1 (http://lionet.info/asn1c)
3 * From ASN.1 module "X2AP-PDU-Contents"
4 * found in "../../asn_defs/asn1/x2ap-15-04.asn"
5 * `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-OER`
8 #include "X2N_CellAssistanceInformation.h"
10 #include "X2N_Limited-list.h"
12 * This type is implemented using NativeEnumerated,
13 * so here we adjust the DEF accordingly.
15 static asn_per_constraints_t asn_PER_type_X2N_full_list_constr_3 CC_NOTUSED = {
16 { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } /* (0..0,...) */,
17 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
18 0, 0 /* No PER value map */
20 static asn_per_constraints_t asn_PER_type_X2N_CellAssistanceInformation_constr_1 CC_NOTUSED = {
21 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
22 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
23 0, 0 /* No PER value map */
25 static const asn_INTEGER_enum_map_t asn_MAP_X2N_full_list_value2enum_3[] = {
26 { 0, 16, "allServedNRcells" }
27 /* This list is extensible */
29 static const unsigned int asn_MAP_X2N_full_list_enum2value_3[] = {
30 0 /* allServedNRcells(0) */
31 /* This list is extensible */
33 static const asn_INTEGER_specifics_t asn_SPC_X2N_full_list_specs_3 = {
34 asn_MAP_X2N_full_list_value2enum_3, /* "tag" => N; sorted by tag */
35 asn_MAP_X2N_full_list_enum2value_3, /* N => "tag"; sorted by N */
36 1, /* Number of elements in the maps */
37 2, /* Extensions before this member */
38 1, /* Strict enumeration */
39 0, /* Native long size */
42 static const ber_tlv_tag_t asn_DEF_X2N_full_list_tags_3[] = {
43 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
44 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
46 static /* Use -fall-defs-global to expose */
47 asn_TYPE_descriptor_t asn_DEF_X2N_full_list_3 = {
50 &asn_OP_NativeEnumerated,
51 asn_DEF_X2N_full_list_tags_3,
52 sizeof(asn_DEF_X2N_full_list_tags_3)
53 /sizeof(asn_DEF_X2N_full_list_tags_3[0]) - 1, /* 1 */
54 asn_DEF_X2N_full_list_tags_3, /* Same as above */
55 sizeof(asn_DEF_X2N_full_list_tags_3)
56 /sizeof(asn_DEF_X2N_full_list_tags_3[0]), /* 2 */
57 { 0, &asn_PER_type_X2N_full_list_constr_3, NativeEnumerated_constraint },
58 0, 0, /* Defined elsewhere */
59 &asn_SPC_X2N_full_list_specs_3 /* Additional specs */
62 static asn_TYPE_member_t asn_MBR_X2N_CellAssistanceInformation_1[] = {
63 { ATF_POINTER, 0, offsetof(struct X2N_CellAssistanceInformation, choice.limited_list),
64 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
65 -1, /* IMPLICIT tag at current level */
66 &asn_DEF_X2N_Limited_list,
69 0, 0, /* No default value */
72 { ATF_NOFLAGS, 0, offsetof(struct X2N_CellAssistanceInformation, choice.full_list),
73 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
74 -1, /* IMPLICIT tag at current level */
75 &asn_DEF_X2N_full_list_3,
78 0, 0, /* No default value */
82 static const asn_TYPE_tag2member_t asn_MAP_X2N_CellAssistanceInformation_tag2el_1[] = {
83 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* limited-list */
84 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* full-list */
86 static asn_CHOICE_specifics_t asn_SPC_X2N_CellAssistanceInformation_specs_1 = {
87 sizeof(struct X2N_CellAssistanceInformation),
88 offsetof(struct X2N_CellAssistanceInformation, _asn_ctx),
89 offsetof(struct X2N_CellAssistanceInformation, present),
90 sizeof(((struct X2N_CellAssistanceInformation *)0)->present),
91 asn_MAP_X2N_CellAssistanceInformation_tag2el_1,
92 2, /* Count of tags in the map */
94 2 /* Extensions start */
96 asn_TYPE_descriptor_t asn_DEF_X2N_CellAssistanceInformation = {
97 "CellAssistanceInformation",
98 "CellAssistanceInformation",
100 0, /* No effective tags (pointer) */
101 0, /* No effective tags (count) */
102 0, /* No tags (pointer) */
103 0, /* No tags (count) */
104 { 0, &asn_PER_type_X2N_CellAssistanceInformation_constr_1, CHOICE_constraint },
105 asn_MBR_X2N_CellAssistanceInformation_1,
106 2, /* Elements count */
107 &asn_SPC_X2N_CellAssistanceInformation_specs_1 /* Additional specs */