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 "ServedNRCell-Information.h"
10 #include "ProtocolExtensionContainer.h"
11 static asn_per_constraints_t asn_PER_type_nrModeInfo_constr_7 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 static asn_TYPE_member_t asn_MBR_nrModeInfo_7[] = {
17 { ATF_NOFLAGS, 0, offsetof(struct ServedNRCell_Information__nrModeInfo, choice.fdd),
18 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
19 -1, /* IMPLICIT tag at current level */
20 &asn_DEF_FDD_InfoServedNRCell_Information,
23 0, 0, /* No default value */
26 { ATF_NOFLAGS, 0, offsetof(struct ServedNRCell_Information__nrModeInfo, choice.tdd),
27 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
28 -1, /* IMPLICIT tag at current level */
29 &asn_DEF_TDD_InfoServedNRCell_Information,
32 0, 0, /* No default value */
36 static const asn_TYPE_tag2member_t asn_MAP_nrModeInfo_tag2el_7[] = {
37 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* fdd */
38 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* tdd */
40 static asn_CHOICE_specifics_t asn_SPC_nrModeInfo_specs_7 = {
41 sizeof(struct ServedNRCell_Information__nrModeInfo),
42 offsetof(struct ServedNRCell_Information__nrModeInfo, _asn_ctx),
43 offsetof(struct ServedNRCell_Information__nrModeInfo, present),
44 sizeof(((struct ServedNRCell_Information__nrModeInfo *)0)->present),
45 asn_MAP_nrModeInfo_tag2el_7,
46 2, /* Count of tags in the map */
48 2 /* Extensions start */
50 static /* Use -fall-defs-global to expose */
51 asn_TYPE_descriptor_t asn_DEF_nrModeInfo_7 = {
55 0, /* No effective tags (pointer) */
56 0, /* No effective tags (count) */
57 0, /* No tags (pointer) */
58 0, /* No tags (count) */
59 { 0, &asn_PER_type_nrModeInfo_constr_7, CHOICE_constraint },
61 2, /* Elements count */
62 &asn_SPC_nrModeInfo_specs_7 /* Additional specs */
65 asn_TYPE_member_t asn_MBR_ServedNRCell_Information_1[] = {
66 { ATF_NOFLAGS, 0, offsetof(struct ServedNRCell_Information, nrpCI),
67 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
68 -1, /* IMPLICIT tag at current level */
72 0, 0, /* No default value */
75 { ATF_NOFLAGS, 0, offsetof(struct ServedNRCell_Information, nrCellID),
76 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
77 -1, /* IMPLICIT tag at current level */
81 0, 0, /* No default value */
84 { ATF_POINTER, 2, offsetof(struct ServedNRCell_Information, fiveGS_TAC),
85 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
86 -1, /* IMPLICIT tag at current level */
90 0, 0, /* No default value */
93 { ATF_POINTER, 1, offsetof(struct ServedNRCell_Information, configured_TAC),
94 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
95 -1, /* IMPLICIT tag at current level */
99 0, 0, /* No default value */
102 { ATF_NOFLAGS, 0, offsetof(struct ServedNRCell_Information, broadcastPLMNs),
103 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
104 -1, /* IMPLICIT tag at current level */
105 &asn_DEF_BroadcastPLMNs_Item,
108 0, 0, /* No default value */
111 { ATF_NOFLAGS, 0, offsetof(struct ServedNRCell_Information, nrModeInfo),
112 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
113 +1, /* EXPLICIT tag at current level */
114 &asn_DEF_nrModeInfo_7,
117 0, 0, /* No default value */
120 { ATF_NOFLAGS, 0, offsetof(struct ServedNRCell_Information, measurementTimingConfiguration),
121 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
122 -1, /* IMPLICIT tag at current level */
123 &asn_DEF_OCTET_STRING,
126 0, 0, /* No default value */
127 "measurementTimingConfiguration"
129 { ATF_POINTER, 1, offsetof(struct ServedNRCell_Information, iE_Extensions),
130 (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
131 -1, /* IMPLICIT tag at current level */
132 &asn_DEF_ProtocolExtensionContainer_8858P11,
135 0, 0, /* No default value */
139 static const int asn_MAP_ServedNRCell_Information_oms_1[] = { 2, 3, 7 };
140 static const ber_tlv_tag_t asn_DEF_ServedNRCell_Information_tags_1[] = {
141 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
143 static const asn_TYPE_tag2member_t asn_MAP_ServedNRCell_Information_tag2el_1[] = {
144 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* nrpCI */
145 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* nrCellID */
146 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* fiveGS-TAC */
147 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* configured-TAC */
148 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* broadcastPLMNs */
149 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* nrModeInfo */
150 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* measurementTimingConfiguration */
151 { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 } /* iE-Extensions */
153 asn_SEQUENCE_specifics_t asn_SPC_ServedNRCell_Information_specs_1 = {
154 sizeof(struct ServedNRCell_Information),
155 offsetof(struct ServedNRCell_Information, _asn_ctx),
156 asn_MAP_ServedNRCell_Information_tag2el_1,
157 8, /* Count of tags in the map */
158 asn_MAP_ServedNRCell_Information_oms_1, /* Optional members */
159 3, 0, /* Root/Additions */
160 8, /* First extension addition */
162 asn_TYPE_descriptor_t asn_DEF_ServedNRCell_Information = {
163 "ServedNRCell-Information",
164 "ServedNRCell-Information",
166 asn_DEF_ServedNRCell_Information_tags_1,
167 sizeof(asn_DEF_ServedNRCell_Information_tags_1)
168 /sizeof(asn_DEF_ServedNRCell_Information_tags_1[0]), /* 1 */
169 asn_DEF_ServedNRCell_Information_tags_1, /* Same as above */
170 sizeof(asn_DEF_ServedNRCell_Information_tags_1)
171 /sizeof(asn_DEF_ServedNRCell_Information_tags_1[0]), /* 1 */
172 { 0, 0, SEQUENCE_constraint },
173 asn_MBR_ServedNRCell_Information_1,
174 8, /* Elements count */
175 &asn_SPC_ServedNRCell_Information_specs_1 /* Additional specs */