2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "X2AP-PDU-Contents"
4 * found in "Spec/e2_and_x2-combined-and-minimized.asn1"
5 * `asn1c -pdu=auto -fincludes-quoted -fcompound-names -fno-include-deps -gen-PER -no-gen-OER -no-gen-example`
8 #include "NRNeighbour-Information.h"
10 #include "ProtocolExtensionContainer.h"
11 static asn_per_constraints_t asn_PER_type_nRNeighbourModeInfo_constr_8 CC_NOTUSED = {
12 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
13 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
14 0, 0 /* No PER value map */
16 asn_per_constraints_t asn_PER_type_NRNeighbour_Information_constr_1 CC_NOTUSED = {
17 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
18 { APC_CONSTRAINED, 10, 10, 1, 1024 } /* (SIZE(1..1024)) */,
19 0, 0 /* No PER value map */
21 static asn_TYPE_member_t asn_MBR_nRNeighbourModeInfo_8[] = {
22 { ATF_NOFLAGS, 0, offsetof(struct NRNeighbour_Information__Member__nRNeighbourModeInfo, choice.fdd),
23 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
24 -1, /* IMPLICIT tag at current level */
25 &asn_DEF_FDD_InfoNeighbourServedNRCell_Information,
28 0, 0, /* No default value */
31 { ATF_NOFLAGS, 0, offsetof(struct NRNeighbour_Information__Member__nRNeighbourModeInfo, choice.tdd),
32 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
33 -1, /* IMPLICIT tag at current level */
34 &asn_DEF_TDD_InfoNeighbourServedNRCell_Information,
37 0, 0, /* No default value */
41 static const asn_TYPE_tag2member_t asn_MAP_nRNeighbourModeInfo_tag2el_8[] = {
42 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* fdd */
43 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* tdd */
45 static asn_CHOICE_specifics_t asn_SPC_nRNeighbourModeInfo_specs_8 = {
46 sizeof(struct NRNeighbour_Information__Member__nRNeighbourModeInfo),
47 offsetof(struct NRNeighbour_Information__Member__nRNeighbourModeInfo, _asn_ctx),
48 offsetof(struct NRNeighbour_Information__Member__nRNeighbourModeInfo, present),
49 sizeof(((struct NRNeighbour_Information__Member__nRNeighbourModeInfo *)0)->present),
50 asn_MAP_nRNeighbourModeInfo_tag2el_8,
51 2, /* Count of tags in the map */
53 2 /* Extensions start */
55 static /* Use -fall-defs-global to expose */
56 asn_TYPE_descriptor_t asn_DEF_nRNeighbourModeInfo_8 = {
57 "nRNeighbourModeInfo",
58 "nRNeighbourModeInfo",
60 0, /* No effective tags (pointer) */
61 0, /* No effective tags (count) */
62 0, /* No tags (pointer) */
63 0, /* No tags (count) */
64 { 0, &asn_PER_type_nRNeighbourModeInfo_constr_8, CHOICE_constraint },
65 asn_MBR_nRNeighbourModeInfo_8,
66 2, /* Elements count */
67 &asn_SPC_nRNeighbourModeInfo_specs_8 /* Additional specs */
70 static asn_TYPE_member_t asn_MBR_Member_2[] = {
71 { ATF_NOFLAGS, 0, offsetof(struct NRNeighbour_Information__Member, nrpCI),
72 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
73 -1, /* IMPLICIT tag at current level */
77 0, 0, /* No default value */
80 { ATF_NOFLAGS, 0, offsetof(struct NRNeighbour_Information__Member, nrCellID),
81 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
82 -1, /* IMPLICIT tag at current level */
86 0, 0, /* No default value */
89 { ATF_POINTER, 2, offsetof(struct NRNeighbour_Information__Member, fiveGS_TAC),
90 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
91 -1, /* IMPLICIT tag at current level */
95 0, 0, /* No default value */
98 { ATF_POINTER, 1, offsetof(struct NRNeighbour_Information__Member, configured_TAC),
99 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
100 -1, /* IMPLICIT tag at current level */
104 0, 0, /* No default value */
107 { ATF_NOFLAGS, 0, offsetof(struct NRNeighbour_Information__Member, measurementTimingConfiguration),
108 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
109 -1, /* IMPLICIT tag at current level */
110 &asn_DEF_OCTET_STRING,
113 0, 0, /* No default value */
114 "measurementTimingConfiguration"
116 { ATF_NOFLAGS, 0, offsetof(struct NRNeighbour_Information__Member, nRNeighbourModeInfo),
117 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
118 +1, /* EXPLICIT tag at current level */
119 &asn_DEF_nRNeighbourModeInfo_8,
122 0, 0, /* No default value */
123 "nRNeighbourModeInfo"
125 { ATF_POINTER, 1, offsetof(struct NRNeighbour_Information__Member, iE_Extensions),
126 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
127 -1, /* IMPLICIT tag at current level */
128 &asn_DEF_ProtocolExtensionContainer_8858P16,
131 0, 0, /* No default value */
135 static const int asn_MAP_Member_oms_2[] = { 2, 3, 6 };
136 static const ber_tlv_tag_t asn_DEF_Member_tags_2[] = {
137 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
139 static const asn_TYPE_tag2member_t asn_MAP_Member_tag2el_2[] = {
140 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* nrpCI */
141 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* nrCellID */
142 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* fiveGS-TAC */
143 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* configured-TAC */
144 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* measurementTimingConfiguration */
145 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* nRNeighbourModeInfo */
146 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* iE-Extensions */
148 static asn_SEQUENCE_specifics_t asn_SPC_Member_specs_2 = {
149 sizeof(struct NRNeighbour_Information__Member),
150 offsetof(struct NRNeighbour_Information__Member, _asn_ctx),
151 asn_MAP_Member_tag2el_2,
152 7, /* Count of tags in the map */
153 asn_MAP_Member_oms_2, /* Optional members */
154 3, 0, /* Root/Additions */
155 7, /* First extension addition */
157 static /* Use -fall-defs-global to expose */
158 asn_TYPE_descriptor_t asn_DEF_Member_2 = {
162 asn_DEF_Member_tags_2,
163 sizeof(asn_DEF_Member_tags_2)
164 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
165 asn_DEF_Member_tags_2, /* Same as above */
166 sizeof(asn_DEF_Member_tags_2)
167 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
168 { 0, 0, SEQUENCE_constraint },
170 7, /* Elements count */
171 &asn_SPC_Member_specs_2 /* Additional specs */
174 asn_TYPE_member_t asn_MBR_NRNeighbour_Information_1[] = {
176 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
181 0, 0, /* No default value */
185 static const ber_tlv_tag_t asn_DEF_NRNeighbour_Information_tags_1[] = {
186 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
188 asn_SET_OF_specifics_t asn_SPC_NRNeighbour_Information_specs_1 = {
189 sizeof(struct NRNeighbour_Information),
190 offsetof(struct NRNeighbour_Information, _asn_ctx),
191 0, /* XER encoding is XMLDelimitedItemList */
193 asn_TYPE_descriptor_t asn_DEF_NRNeighbour_Information = {
194 "NRNeighbour-Information",
195 "NRNeighbour-Information",
197 asn_DEF_NRNeighbour_Information_tags_1,
198 sizeof(asn_DEF_NRNeighbour_Information_tags_1)
199 /sizeof(asn_DEF_NRNeighbour_Information_tags_1[0]), /* 1 */
200 asn_DEF_NRNeighbour_Information_tags_1, /* Same as above */
201 sizeof(asn_DEF_NRNeighbour_Information_tags_1)
202 /sizeof(asn_DEF_NRNeighbour_Information_tags_1[0]), /* 1 */
203 { 0, &asn_PER_type_NRNeighbour_Information_constr_1, SEQUENCE_OF_constraint },
204 asn_MBR_NRNeighbour_Information_1,
205 1, /* Single element */
206 &asn_SPC_NRNeighbour_Information_specs_1 /* Additional specs */