2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "X2AP-PDU-Contents"
4 * found in "Spec/e2ap-v031ex.asn"
5 * `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
8 #include "CellAssistanceInformation.h"
10 #include "Limited-list.h"
12 * This type is implemented using NativeEnumerated,
13 * so here we adjust the DEF accordingly.
15 static asn_oer_constraints_t asn_OER_type_full_list_constr_3 CC_NOTUSED = {
18 static asn_per_constraints_t asn_PER_type_full_list_constr_3 CC_NOTUSED = {
19 { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } /* (0..0,...) */,
20 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
21 0, 0 /* No PER value map */
23 static asn_oer_constraints_t asn_OER_type_CellAssistanceInformation_constr_1 CC_NOTUSED = {
26 static asn_per_constraints_t asn_PER_type_CellAssistanceInformation_constr_1 CC_NOTUSED = {
27 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
28 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
29 0, 0 /* No PER value map */
31 static const asn_INTEGER_enum_map_t asn_MAP_full_list_value2enum_3[] = {
32 { 0, 16, "allServedNRcells" }
33 /* This list is extensible */
35 static const unsigned int asn_MAP_full_list_enum2value_3[] = {
36 0 /* allServedNRcells(0) */
37 /* This list is extensible */
39 static const asn_INTEGER_specifics_t asn_SPC_full_list_specs_3 = {
40 asn_MAP_full_list_value2enum_3, /* "tag" => N; sorted by tag */
41 asn_MAP_full_list_enum2value_3, /* N => "tag"; sorted by N */
42 1, /* Number of elements in the maps */
43 2, /* Extensions before this member */
44 1, /* Strict enumeration */
45 0, /* Native long size */
48 static const ber_tlv_tag_t asn_DEF_full_list_tags_3[] = {
49 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
50 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
52 static /* Use -fall-defs-global to expose */
53 asn_TYPE_descriptor_t asn_DEF_full_list_3 = {
56 &asn_OP_NativeEnumerated,
57 asn_DEF_full_list_tags_3,
58 sizeof(asn_DEF_full_list_tags_3)
59 /sizeof(asn_DEF_full_list_tags_3[0]) - 1, /* 1 */
60 asn_DEF_full_list_tags_3, /* Same as above */
61 sizeof(asn_DEF_full_list_tags_3)
62 /sizeof(asn_DEF_full_list_tags_3[0]), /* 2 */
63 { &asn_OER_type_full_list_constr_3, &asn_PER_type_full_list_constr_3, NativeEnumerated_constraint },
64 0, 0, /* Defined elsewhere */
65 &asn_SPC_full_list_specs_3 /* Additional specs */
68 static asn_TYPE_member_t asn_MBR_CellAssistanceInformation_1[] = {
69 { ATF_POINTER, 0, offsetof(struct CellAssistanceInformation, choice.limited_list),
70 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
71 -1, /* IMPLICIT tag at current level */
72 &asn_DEF_Limited_list,
75 0, 0, /* No default value */
78 { ATF_NOFLAGS, 0, offsetof(struct CellAssistanceInformation, choice.full_list),
79 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
80 -1, /* IMPLICIT tag at current level */
84 0, 0, /* No default value */
88 static const asn_TYPE_tag2member_t asn_MAP_CellAssistanceInformation_tag2el_1[] = {
89 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* limited-list */
90 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* full-list */
92 static asn_CHOICE_specifics_t asn_SPC_CellAssistanceInformation_specs_1 = {
93 sizeof(struct CellAssistanceInformation),
94 offsetof(struct CellAssistanceInformation, _asn_ctx),
95 offsetof(struct CellAssistanceInformation, present),
96 sizeof(((struct CellAssistanceInformation *)0)->present),
97 asn_MAP_CellAssistanceInformation_tag2el_1,
98 2, /* Count of tags in the map */
100 2 /* Extensions start */
102 asn_TYPE_descriptor_t asn_DEF_CellAssistanceInformation = {
103 "CellAssistanceInformation",
104 "CellAssistanceInformation",
106 0, /* No effective tags (pointer) */
107 0, /* No effective tags (count) */
108 0, /* No tags (pointer) */
109 0, /* No tags (count) */
110 { &asn_OER_type_CellAssistanceInformation_constr_1, &asn_PER_type_CellAssistanceInformation_constr_1, CHOICE_constraint },
111 asn_MBR_CellAssistanceInformation_1,
112 2, /* Elements count */
113 &asn_SPC_CellAssistanceInformation_specs_1 /* Additional specs */