3 * Copyright 2019 AT&T Intellectual Property
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
21 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
22 * From ASN.1 module "X2AP-PDU-Contents"
23 * found in "../../asnFiles/X2AP-PDU-Contents.asn"
24 * `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
27 #include "ServedNRCell-Information.h"
29 #include "ProtocolExtensionContainer.h"
30 #include "FDD-InfoServedNRCell-Information.h"
31 #include "TDD-InfoServedNRCell-Information.h"
32 static asn_per_constraints_t asn_PER_type_nrModeInfo_constr_7 CC_NOTUSED = {
33 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
34 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
35 0, 0 /* No PER value map */
37 static asn_TYPE_member_t asn_MBR_nrModeInfo_7[] = {
38 { ATF_POINTER, 0, offsetof(struct ServedNRCell_Information__nrModeInfo, choice.fdd),
39 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
40 -1, /* IMPLICIT tag at current level */
41 &asn_DEF_FDD_InfoServedNRCell_Information,
44 0, 0, /* No default value */
47 { ATF_POINTER, 0, offsetof(struct ServedNRCell_Information__nrModeInfo, choice.tdd),
48 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
49 -1, /* IMPLICIT tag at current level */
50 &asn_DEF_TDD_InfoServedNRCell_Information,
53 0, 0, /* No default value */
57 static const asn_TYPE_tag2member_t asn_MAP_nrModeInfo_tag2el_7[] = {
58 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* fdd */
59 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* tdd */
61 static asn_CHOICE_specifics_t asn_SPC_nrModeInfo_specs_7 = {
62 sizeof(struct ServedNRCell_Information__nrModeInfo),
63 offsetof(struct ServedNRCell_Information__nrModeInfo, _asn_ctx),
64 offsetof(struct ServedNRCell_Information__nrModeInfo, present),
65 sizeof(((struct ServedNRCell_Information__nrModeInfo *)0)->present),
66 asn_MAP_nrModeInfo_tag2el_7,
67 2, /* Count of tags in the map */
69 2 /* Extensions start */
71 static /* Use -fall-defs-global to expose */
72 asn_TYPE_descriptor_t asn_DEF_nrModeInfo_7 = {
76 0, /* No effective tags (pointer) */
77 0, /* No effective tags (count) */
78 0, /* No tags (pointer) */
79 0, /* No tags (count) */
80 { 0, &asn_PER_type_nrModeInfo_constr_7, CHOICE_constraint },
82 2, /* Elements count */
83 &asn_SPC_nrModeInfo_specs_7 /* Additional specs */
86 asn_TYPE_member_t asn_MBR_ServedNRCell_Information_1[] = {
87 { ATF_NOFLAGS, 0, offsetof(struct ServedNRCell_Information, nrpCI),
88 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
89 -1, /* IMPLICIT tag at current level */
93 0, 0, /* No default value */
96 { ATF_NOFLAGS, 0, offsetof(struct ServedNRCell_Information, nrCellID),
97 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
98 -1, /* IMPLICIT tag at current level */
102 0, 0, /* No default value */
105 { ATF_POINTER, 2, offsetof(struct ServedNRCell_Information, fiveGS_TAC),
106 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
107 -1, /* IMPLICIT tag at current level */
111 0, 0, /* No default value */
114 { ATF_POINTER, 1, offsetof(struct ServedNRCell_Information, configured_TAC),
115 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
116 -1, /* IMPLICIT tag at current level */
120 0, 0, /* No default value */
123 { ATF_NOFLAGS, 0, offsetof(struct ServedNRCell_Information, broadcastPLMNs),
124 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
125 -1, /* IMPLICIT tag at current level */
126 &asn_DEF_BroadcastPLMNs_Item,
129 0, 0, /* No default value */
132 { ATF_NOFLAGS, 0, offsetof(struct ServedNRCell_Information, nrModeInfo),
133 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
134 +1, /* EXPLICIT tag at current level */
135 &asn_DEF_nrModeInfo_7,
138 0, 0, /* No default value */
141 { ATF_NOFLAGS, 0, offsetof(struct ServedNRCell_Information, measurementTimingConfiguration),
142 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
143 -1, /* IMPLICIT tag at current level */
144 &asn_DEF_OCTET_STRING,
147 0, 0, /* No default value */
148 "measurementTimingConfiguration"
150 { ATF_POINTER, 1, offsetof(struct ServedNRCell_Information, iE_Extensions),
151 (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
152 -1, /* IMPLICIT tag at current level */
153 &asn_DEF_ProtocolExtensionContainer_170P92,
156 0, 0, /* No default value */
160 static const int asn_MAP_ServedNRCell_Information_oms_1[] = { 2, 3, 7 };
161 static const ber_tlv_tag_t asn_DEF_ServedNRCell_Information_tags_1[] = {
162 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
164 static const asn_TYPE_tag2member_t asn_MAP_ServedNRCell_Information_tag2el_1[] = {
165 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* nrpCI */
166 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* nrCellID */
167 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* fiveGS-TAC */
168 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* configured-TAC */
169 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* broadcastPLMNs */
170 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* nrModeInfo */
171 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* measurementTimingConfiguration */
172 { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 } /* iE-Extensions */
174 asn_SEQUENCE_specifics_t asn_SPC_ServedNRCell_Information_specs_1 = {
175 sizeof(struct ServedNRCell_Information),
176 offsetof(struct ServedNRCell_Information, _asn_ctx),
177 asn_MAP_ServedNRCell_Information_tag2el_1,
178 8, /* Count of tags in the map */
179 asn_MAP_ServedNRCell_Information_oms_1, /* Optional members */
180 3, 0, /* Root/Additions */
181 8, /* First extension addition */
183 asn_TYPE_descriptor_t asn_DEF_ServedNRCell_Information = {
184 "ServedNRCell-Information",
185 "ServedNRCell-Information",
187 asn_DEF_ServedNRCell_Information_tags_1,
188 sizeof(asn_DEF_ServedNRCell_Information_tags_1)
189 /sizeof(asn_DEF_ServedNRCell_Information_tags_1[0]), /* 1 */
190 asn_DEF_ServedNRCell_Information_tags_1, /* Same as above */
191 sizeof(asn_DEF_ServedNRCell_Information_tags_1)
192 /sizeof(asn_DEF_ServedNRCell_Information_tags_1[0]), /* 1 */
193 { 0, 0, SEQUENCE_constraint },
194 asn_MBR_ServedNRCell_Information_1,
195 8, /* Elements count */
196 &asn_SPC_ServedNRCell_Information_specs_1 /* Additional specs */