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