blob: 1d4a6c880e443753c71738f0a151c5d7ee9d447b [file] [log] [blame]
Peter Szilagyifbc56f92019-07-23 19:29:46 +00001/*
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`
6 */
7
8#include "ServedNRCell-Information.h"
9
10#include "ProtocolExtensionContainer.h"
11#include "FDD-InfoServedNRCell-Information.h"
12#include "TDD-InfoServedNRCell-Information.h"
13static asn_oer_constraints_t asn_OER_type_nrModeInfo_constr_7 CC_NOTUSED = {
14 { 0, 0 },
15 -1};
16static 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 */
20};
21static 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,
26 0,
27 { 0, 0, 0 },
28 0, 0, /* No default value */
29 "fdd"
30 },
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,
35 0,
36 { 0, 0, 0 },
37 0, 0, /* No default value */
38 "tdd"
39 },
40};
41static 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 */
44};
45static 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 */
52 0, 0,
53 2 /* Extensions start */
54};
55static /* Use -fall-defs-global to expose */
56asn_TYPE_descriptor_t asn_DEF_nrModeInfo_7 = {
57 "nrModeInfo",
58 "nrModeInfo",
59 &asn_OP_CHOICE,
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 },
65 asn_MBR_nrModeInfo_7,
66 2, /* Elements count */
67 &asn_SPC_nrModeInfo_specs_7 /* Additional specs */
68};
69
70asn_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 */
74 &asn_DEF_NRPCI,
75 0,
76 { 0, 0, 0 },
77 0, 0, /* No default value */
78 "nrpCI"
79 },
80 { ATF_NOFLAGS, 0, offsetof(struct ServedNRCell_Information, nrCellID),
81 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
82 -1, /* IMPLICIT tag at current level */
83 &asn_DEF_NRCGI,
84 0,
85 { 0, 0, 0 },
86 0, 0, /* No default value */
87 "nrCellID"
88 },
89 { ATF_POINTER, 2, offsetof(struct ServedNRCell_Information, fiveGS_TAC),
90 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
91 -1, /* IMPLICIT tag at current level */
92 &asn_DEF_FiveGS_TAC,
93 0,
94 { 0, 0, 0 },
95 0, 0, /* No default value */
96 "fiveGS-TAC"
97 },
98 { ATF_POINTER, 1, offsetof(struct ServedNRCell_Information, configured_TAC),
99 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
100 -1, /* IMPLICIT tag at current level */
101 &asn_DEF_TAC,
102 0,
103 { 0, 0, 0 },
104 0, 0, /* No default value */
105 "configured-TAC"
106 },
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,
111 0,
112 { 0, 0, 0 },
113 0, 0, /* No default value */
114 "broadcastPLMNs"
115 },
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,
120 0,
121 { 0, 0, 0 },
122 0, 0, /* No default value */
123 "nrModeInfo"
124 },
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,
129 0,
130 { 0, 0, 0 },
131 0, 0, /* No default value */
132 "measurementTimingConfiguration"
133 },
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,
138 0,
139 { 0, 0, 0 },
140 0, 0, /* No default value */
141 "iE-Extensions"
142 },
143};
144static const int asn_MAP_ServedNRCell_Information_oms_1[] = { 2, 3, 7 };
145static const ber_tlv_tag_t asn_DEF_ServedNRCell_Information_tags_1[] = {
146 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
147};
148static 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 */
157};
158asn_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 */
166};
167asn_TYPE_descriptor_t asn_DEF_ServedNRCell_Information = {
168 "ServedNRCell-Information",
169 "ServedNRCell-Information",
170 &asn_OP_SEQUENCE,
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 */
181};
182