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 "ServedNRCell-Information.h"
10 #include "ProtocolExtensionContainer.h"
11 #include "FDD-InfoServedNRCell-Information.h"
12 #include "TDD-InfoServedNRCell-Information.h"
13 static asn_oer_constraints_t asn_OER_type_nrModeInfo_constr_7 CC_NOTUSED = {
16 static asn_per_constraints_t asn_PER_type_nrModeInfo_constr_7 CC_NOTUSED = {
17 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
18 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
19 0, 0 /* No PER value map */
21 static asn_TYPE_member_t asn_MBR_nrModeInfo_7[] = {
22 { ATF_POINTER, 0, offsetof(struct ServedNRCell_Information__nrModeInfo, choice.fdd),
23 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
24 -1, /* IMPLICIT tag at current level */
25 &asn_DEF_FDD_InfoServedNRCell_Information,
28 0, 0, /* No default value */
31 { ATF_POINTER, 0, offsetof(struct ServedNRCell_Information__nrModeInfo, choice.tdd),
32 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
33 -1, /* IMPLICIT tag at current level */
34 &asn_DEF_TDD_InfoServedNRCell_Information,
37 0, 0, /* No default value */
41 static const asn_TYPE_tag2member_t asn_MAP_nrModeInfo_tag2el_7[] = {
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_nrModeInfo_specs_7 = {
46 sizeof(struct ServedNRCell_Information__nrModeInfo),
47 offsetof(struct ServedNRCell_Information__nrModeInfo, _asn_ctx),
48 offsetof(struct ServedNRCell_Information__nrModeInfo, present),
49 sizeof(((struct ServedNRCell_Information__nrModeInfo *)0)->present),
50 asn_MAP_nrModeInfo_tag2el_7,
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_nrModeInfo_7 = {
60 0, /* No effective tags (pointer) */
61 0, /* No effective tags (count) */
62 0, /* No tags (pointer) */
63 0, /* No tags (count) */
64 { &asn_OER_type_nrModeInfo_constr_7, &asn_PER_type_nrModeInfo_constr_7, CHOICE_constraint },
66 2, /* Elements count */
67 &asn_SPC_nrModeInfo_specs_7 /* Additional specs */
70 asn_TYPE_member_t asn_MBR_ServedNRCell_Information_1[] = {
71 { ATF_NOFLAGS, 0, offsetof(struct ServedNRCell_Information, 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 ServedNRCell_Information, 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 ServedNRCell_Information, 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 ServedNRCell_Information, 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 ServedNRCell_Information, broadcastPLMNs),
108 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
109 -1, /* IMPLICIT tag at current level */
110 &asn_DEF_BroadcastPLMNs_Item,
113 0, 0, /* No default value */
116 { ATF_NOFLAGS, 0, offsetof(struct ServedNRCell_Information, nrModeInfo),
117 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
118 +1, /* EXPLICIT tag at current level */
119 &asn_DEF_nrModeInfo_7,
122 0, 0, /* No default value */
125 { ATF_NOFLAGS, 0, offsetof(struct ServedNRCell_Information, measurementTimingConfiguration),
126 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
127 -1, /* IMPLICIT tag at current level */
128 &asn_DEF_OCTET_STRING,
131 0, 0, /* No default value */
132 "measurementTimingConfiguration"
134 { ATF_POINTER, 1, offsetof(struct ServedNRCell_Information, iE_Extensions),
135 (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
136 -1, /* IMPLICIT tag at current level */
137 &asn_DEF_ProtocolExtensionContainer_9566P92,
140 0, 0, /* No default value */
144 static const int asn_MAP_ServedNRCell_Information_oms_1[] = { 2, 3, 7 };
145 static const ber_tlv_tag_t asn_DEF_ServedNRCell_Information_tags_1[] = {
146 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
148 static const asn_TYPE_tag2member_t asn_MAP_ServedNRCell_Information_tag2el_1[] = {
149 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* nrpCI */
150 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* nrCellID */
151 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* fiveGS-TAC */
152 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* configured-TAC */
153 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* broadcastPLMNs */
154 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* nrModeInfo */
155 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* measurementTimingConfiguration */
156 { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 } /* iE-Extensions */
158 asn_SEQUENCE_specifics_t asn_SPC_ServedNRCell_Information_specs_1 = {
159 sizeof(struct ServedNRCell_Information),
160 offsetof(struct ServedNRCell_Information, _asn_ctx),
161 asn_MAP_ServedNRCell_Information_tag2el_1,
162 8, /* Count of tags in the map */
163 asn_MAP_ServedNRCell_Information_oms_1, /* Optional members */
164 3, 0, /* Root/Additions */
165 8, /* First extension addition */
167 asn_TYPE_descriptor_t asn_DEF_ServedNRCell_Information = {
168 "ServedNRCell-Information",
169 "ServedNRCell-Information",
171 asn_DEF_ServedNRCell_Information_tags_1,
172 sizeof(asn_DEF_ServedNRCell_Information_tags_1)
173 /sizeof(asn_DEF_ServedNRCell_Information_tags_1[0]), /* 1 */
174 asn_DEF_ServedNRCell_Information_tags_1, /* Same as above */
175 sizeof(asn_DEF_ServedNRCell_Information_tags_1)
176 /sizeof(asn_DEF_ServedNRCell_Information_tags_1[0]), /* 1 */
177 { 0, 0, SEQUENCE_constraint },
178 asn_MBR_ServedNRCell_Information_1,
179 8, /* Elements count */
180 &asn_SPC_ServedNRCell_Information_specs_1 /* Additional specs */