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_ServedNRCell-Information.h"
10 #include "X2N_ProtocolExtensionContainer.h"
11 #include "X2N_FDD-InfoServedNRCell-Information.h"
12 #include "X2N_TDD-InfoServedNRCell-Information.h"
13 static asn_per_constraints_t asn_PER_type_X2N_nrModeInfo_constr_7 CC_NOTUSED = {
14 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
15 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
16 0, 0 /* No PER value map */
18 static asn_TYPE_member_t asn_MBR_X2N_nrModeInfo_7[] = {
19 { ATF_POINTER, 0, offsetof(struct X2N_ServedNRCell_Information__nrModeInfo, choice.fdd),
20 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
21 -1, /* IMPLICIT tag at current level */
22 &asn_DEF_X2N_FDD_InfoServedNRCell_Information,
25 0, 0, /* No default value */
28 { ATF_POINTER, 0, offsetof(struct X2N_ServedNRCell_Information__nrModeInfo, choice.tdd),
29 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
30 -1, /* IMPLICIT tag at current level */
31 &asn_DEF_X2N_TDD_InfoServedNRCell_Information,
34 0, 0, /* No default value */
38 static const asn_TYPE_tag2member_t asn_MAP_X2N_nrModeInfo_tag2el_7[] = {
39 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* fdd */
40 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* tdd */
42 static asn_CHOICE_specifics_t asn_SPC_X2N_nrModeInfo_specs_7 = {
43 sizeof(struct X2N_ServedNRCell_Information__nrModeInfo),
44 offsetof(struct X2N_ServedNRCell_Information__nrModeInfo, _asn_ctx),
45 offsetof(struct X2N_ServedNRCell_Information__nrModeInfo, present),
46 sizeof(((struct X2N_ServedNRCell_Information__nrModeInfo *)0)->present),
47 asn_MAP_X2N_nrModeInfo_tag2el_7,
48 2, /* Count of tags in the map */
50 2 /* Extensions start */
52 static /* Use -fall-defs-global to expose */
53 asn_TYPE_descriptor_t asn_DEF_X2N_nrModeInfo_7 = {
57 0, /* No effective tags (pointer) */
58 0, /* No effective tags (count) */
59 0, /* No tags (pointer) */
60 0, /* No tags (count) */
61 { 0, &asn_PER_type_X2N_nrModeInfo_constr_7, CHOICE_constraint },
62 asn_MBR_X2N_nrModeInfo_7,
63 2, /* Elements count */
64 &asn_SPC_X2N_nrModeInfo_specs_7 /* Additional specs */
67 asn_TYPE_member_t asn_MBR_X2N_ServedNRCell_Information_1[] = {
68 { ATF_NOFLAGS, 0, offsetof(struct X2N_ServedNRCell_Information, nrpCI),
69 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
70 -1, /* IMPLICIT tag at current level */
74 0, 0, /* No default value */
77 { ATF_NOFLAGS, 0, offsetof(struct X2N_ServedNRCell_Information, nrCellID),
78 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
79 -1, /* IMPLICIT tag at current level */
83 0, 0, /* No default value */
86 { ATF_POINTER, 2, offsetof(struct X2N_ServedNRCell_Information, fiveGS_TAC),
87 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
88 -1, /* IMPLICIT tag at current level */
89 &asn_DEF_X2N_FiveGS_TAC,
92 0, 0, /* No default value */
95 { ATF_POINTER, 1, offsetof(struct X2N_ServedNRCell_Information, configured_TAC),
96 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
97 -1, /* IMPLICIT tag at current level */
101 0, 0, /* No default value */
104 { ATF_NOFLAGS, 0, offsetof(struct X2N_ServedNRCell_Information, broadcastPLMNs),
105 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
106 -1, /* IMPLICIT tag at current level */
107 &asn_DEF_X2N_BroadcastPLMNs_Item,
110 0, 0, /* No default value */
113 { ATF_NOFLAGS, 0, offsetof(struct X2N_ServedNRCell_Information, nrModeInfo),
114 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
115 +1, /* EXPLICIT tag at current level */
116 &asn_DEF_X2N_nrModeInfo_7,
119 0, 0, /* No default value */
122 { ATF_NOFLAGS, 0, offsetof(struct X2N_ServedNRCell_Information, measurementTimingConfiguration),
123 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
124 -1, /* IMPLICIT tag at current level */
125 &asn_DEF_OCTET_STRING,
128 0, 0, /* No default value */
129 "measurementTimingConfiguration"
131 { ATF_POINTER, 1, offsetof(struct X2N_ServedNRCell_Information, iE_Extensions),
132 (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
133 -1, /* IMPLICIT tag at current level */
134 &asn_DEF_X2N_ProtocolExtensionContainer_8231P92,
137 0, 0, /* No default value */
141 static const int asn_MAP_X2N_ServedNRCell_Information_oms_1[] = { 2, 3, 7 };
142 static const ber_tlv_tag_t asn_DEF_X2N_ServedNRCell_Information_tags_1[] = {
143 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
145 static const asn_TYPE_tag2member_t asn_MAP_X2N_ServedNRCell_Information_tag2el_1[] = {
146 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* nrpCI */
147 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* nrCellID */
148 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* fiveGS-TAC */
149 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* configured-TAC */
150 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* broadcastPLMNs */
151 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* nrModeInfo */
152 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* measurementTimingConfiguration */
153 { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 } /* iE-Extensions */
155 asn_SEQUENCE_specifics_t asn_SPC_X2N_ServedNRCell_Information_specs_1 = {
156 sizeof(struct X2N_ServedNRCell_Information),
157 offsetof(struct X2N_ServedNRCell_Information, _asn_ctx),
158 asn_MAP_X2N_ServedNRCell_Information_tag2el_1,
159 8, /* Count of tags in the map */
160 asn_MAP_X2N_ServedNRCell_Information_oms_1, /* Optional members */
161 3, 0, /* Root/Additions */
162 8, /* First extension addition */
164 asn_TYPE_descriptor_t asn_DEF_X2N_ServedNRCell_Information = {
165 "ServedNRCell-Information",
166 "ServedNRCell-Information",
168 asn_DEF_X2N_ServedNRCell_Information_tags_1,
169 sizeof(asn_DEF_X2N_ServedNRCell_Information_tags_1)
170 /sizeof(asn_DEF_X2N_ServedNRCell_Information_tags_1[0]), /* 1 */
171 asn_DEF_X2N_ServedNRCell_Information_tags_1, /* Same as above */
172 sizeof(asn_DEF_X2N_ServedNRCell_Information_tags_1)
173 /sizeof(asn_DEF_X2N_ServedNRCell_Information_tags_1[0]), /* 1 */
174 { 0, 0, SEQUENCE_constraint },
175 asn_MBR_X2N_ServedNRCell_Information_1,
176 8, /* Elements count */
177 &asn_SPC_X2N_ServedNRCell_Information_specs_1 /* Additional specs */