blob: e325eb3445ec4393e6d9ea08d46a892acb58693c [file] [log] [blame]
Juha Hyttinenff8dccd2019-12-10 14:34:07 +02001/*
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`
6 */
7
8#include "ServedNRCell-Information.h"
9
10#include "ProtocolExtensionContainer.h"
11static 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 */
15};
16static 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,
21 0,
22 { 0, 0, 0 },
23 0, 0, /* No default value */
24 "fdd"
25 },
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,
30 0,
31 { 0, 0, 0 },
32 0, 0, /* No default value */
33 "tdd"
34 },
35};
36static 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 */
39};
40static 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 */
47 0, 0,
48 2 /* Extensions start */
49};
50static /* Use -fall-defs-global to expose */
51asn_TYPE_descriptor_t asn_DEF_nrModeInfo_7 = {
52 "nrModeInfo",
53 "nrModeInfo",
54 &asn_OP_CHOICE,
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 },
60 asn_MBR_nrModeInfo_7,
61 2, /* Elements count */
62 &asn_SPC_nrModeInfo_specs_7 /* Additional specs */
63};
64
65asn_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 */
69 &asn_DEF_NRPCI,
70 0,
71 { 0, 0, 0 },
72 0, 0, /* No default value */
73 "nrpCI"
74 },
75 { ATF_NOFLAGS, 0, offsetof(struct ServedNRCell_Information, nrCellID),
76 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
77 -1, /* IMPLICIT tag at current level */
78 &asn_DEF_NRCGI,
79 0,
80 { 0, 0, 0 },
81 0, 0, /* No default value */
82 "nrCellID"
83 },
84 { ATF_POINTER, 2, offsetof(struct ServedNRCell_Information, fiveGS_TAC),
85 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
86 -1, /* IMPLICIT tag at current level */
87 &asn_DEF_FiveGS_TAC,
88 0,
89 { 0, 0, 0 },
90 0, 0, /* No default value */
91 "fiveGS-TAC"
92 },
93 { ATF_POINTER, 1, offsetof(struct ServedNRCell_Information, configured_TAC),
94 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
95 -1, /* IMPLICIT tag at current level */
96 &asn_DEF_TAC,
97 0,
98 { 0, 0, 0 },
99 0, 0, /* No default value */
100 "configured-TAC"
101 },
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,
106 0,
107 { 0, 0, 0 },
108 0, 0, /* No default value */
109 "broadcastPLMNs"
110 },
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,
115 0,
116 { 0, 0, 0 },
117 0, 0, /* No default value */
118 "nrModeInfo"
119 },
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,
124 0,
125 { 0, 0, 0 },
126 0, 0, /* No default value */
127 "measurementTimingConfiguration"
128 },
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,
133 0,
134 { 0, 0, 0 },
135 0, 0, /* No default value */
136 "iE-Extensions"
137 },
138};
139static const int asn_MAP_ServedNRCell_Information_oms_1[] = { 2, 3, 7 };
140static const ber_tlv_tag_t asn_DEF_ServedNRCell_Information_tags_1[] = {
141 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
142};
143static 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 */
152};
153asn_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 */
161};
162asn_TYPE_descriptor_t asn_DEF_ServedNRCell_Information = {
163 "ServedNRCell-Information",
164 "ServedNRCell-Information",
165 &asn_OP_SEQUENCE,
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 */
176};
177