Updated documentation for mock a1 tool
[ric-app/admin.git] / asn1c_defs / X2N_ServedNRCell-Information.c
1 /*
2  * Generated by asn1c-0.9.29 n1 (http://lionet.info/asn1c)
3  * From ASN.1 module "X2AP-PDU-Contents"
4  *      found in "../../asn_defs/asn1/x2ap-15-04.asn"
5  *      `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-OER`
6  */
7
8 #include "X2N_ServedNRCell-Information.h"
9
10 #include "X2N_ProtocolExtensionContainer.h"
11 #include "X2N_FDD-InfoServedNRCell-Information.h"
12 #include "X2N_TDD-InfoServedNRCell-Information.h"
13 static asn_per_constraints_t asn_PER_type_X2N_nrModeInfo_constr_7 CC_NOTUSED = {
14         { APC_CONSTRAINED | APC_EXTENSIBLE,  1,  1,  0,  1 }    /* (0..1,...) */,
15         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
16         0, 0    /* No PER value map */
17 };
18 static asn_TYPE_member_t asn_MBR_X2N_nrModeInfo_7[] = {
19         { ATF_POINTER, 0, offsetof(struct X2N_ServedNRCell_Information__nrModeInfo, choice.fdd),
20                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
21                 -1,     /* IMPLICIT tag at current level */
22                 &asn_DEF_X2N_FDD_InfoServedNRCell_Information,
23                 0,
24                 { 0, 0, 0 },
25                 0, 0, /* No default value */
26                 "fdd"
27                 },
28         { ATF_POINTER, 0, offsetof(struct X2N_ServedNRCell_Information__nrModeInfo, choice.tdd),
29                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
30                 -1,     /* IMPLICIT tag at current level */
31                 &asn_DEF_X2N_TDD_InfoServedNRCell_Information,
32                 0,
33                 { 0, 0, 0 },
34                 0, 0, /* No default value */
35                 "tdd"
36                 },
37 };
38 static const asn_TYPE_tag2member_t asn_MAP_X2N_nrModeInfo_tag2el_7[] = {
39     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* fdd */
40     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* tdd */
41 };
42 static asn_CHOICE_specifics_t asn_SPC_X2N_nrModeInfo_specs_7 = {
43         sizeof(struct X2N_ServedNRCell_Information__nrModeInfo),
44         offsetof(struct X2N_ServedNRCell_Information__nrModeInfo, _asn_ctx),
45         offsetof(struct X2N_ServedNRCell_Information__nrModeInfo, present),
46         sizeof(((struct X2N_ServedNRCell_Information__nrModeInfo *)0)->present),
47         asn_MAP_X2N_nrModeInfo_tag2el_7,
48         2,      /* Count of tags in the map */
49         0, 0,
50         2       /* Extensions start */
51 };
52 static /* Use -fall-defs-global to expose */
53 asn_TYPE_descriptor_t asn_DEF_X2N_nrModeInfo_7 = {
54         "nrModeInfo",
55         "nrModeInfo",
56         &asn_OP_CHOICE,
57         0,      /* No effective tags (pointer) */
58         0,      /* No effective tags (count) */
59         0,      /* No tags (pointer) */
60         0,      /* No tags (count) */
61         { 0, &asn_PER_type_X2N_nrModeInfo_constr_7, CHOICE_constraint },
62         asn_MBR_X2N_nrModeInfo_7,
63         2,      /* Elements count */
64         &asn_SPC_X2N_nrModeInfo_specs_7 /* Additional specs */
65 };
66
67 asn_TYPE_member_t asn_MBR_X2N_ServedNRCell_Information_1[] = {
68         { ATF_NOFLAGS, 0, offsetof(struct X2N_ServedNRCell_Information, nrpCI),
69                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
70                 -1,     /* IMPLICIT tag at current level */
71                 &asn_DEF_X2N_NRPCI,
72                 0,
73                 { 0, 0, 0 },
74                 0, 0, /* No default value */
75                 "nrpCI"
76                 },
77         { ATF_NOFLAGS, 0, offsetof(struct X2N_ServedNRCell_Information, nrCellID),
78                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
79                 -1,     /* IMPLICIT tag at current level */
80                 &asn_DEF_X2N_NRCGI,
81                 0,
82                 { 0, 0, 0 },
83                 0, 0, /* No default value */
84                 "nrCellID"
85                 },
86         { ATF_POINTER, 2, offsetof(struct X2N_ServedNRCell_Information, fiveGS_TAC),
87                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
88                 -1,     /* IMPLICIT tag at current level */
89                 &asn_DEF_X2N_FiveGS_TAC,
90                 0,
91                 { 0, 0, 0 },
92                 0, 0, /* No default value */
93                 "fiveGS-TAC"
94                 },
95         { ATF_POINTER, 1, offsetof(struct X2N_ServedNRCell_Information, configured_TAC),
96                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
97                 -1,     /* IMPLICIT tag at current level */
98                 &asn_DEF_X2N_TAC,
99                 0,
100                 { 0, 0, 0 },
101                 0, 0, /* No default value */
102                 "configured-TAC"
103                 },
104         { ATF_NOFLAGS, 0, offsetof(struct X2N_ServedNRCell_Information, broadcastPLMNs),
105                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
106                 -1,     /* IMPLICIT tag at current level */
107                 &asn_DEF_X2N_BroadcastPLMNs_Item,
108                 0,
109                 { 0, 0, 0 },
110                 0, 0, /* No default value */
111                 "broadcastPLMNs"
112                 },
113         { ATF_NOFLAGS, 0, offsetof(struct X2N_ServedNRCell_Information, nrModeInfo),
114                 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
115                 +1,     /* EXPLICIT tag at current level */
116                 &asn_DEF_X2N_nrModeInfo_7,
117                 0,
118                 { 0, 0, 0 },
119                 0, 0, /* No default value */
120                 "nrModeInfo"
121                 },
122         { ATF_NOFLAGS, 0, offsetof(struct X2N_ServedNRCell_Information, measurementTimingConfiguration),
123                 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
124                 -1,     /* IMPLICIT tag at current level */
125                 &asn_DEF_OCTET_STRING,
126                 0,
127                 { 0, 0, 0 },
128                 0, 0, /* No default value */
129                 "measurementTimingConfiguration"
130                 },
131         { ATF_POINTER, 1, offsetof(struct X2N_ServedNRCell_Information, iE_Extensions),
132                 (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
133                 -1,     /* IMPLICIT tag at current level */
134                 &asn_DEF_X2N_ProtocolExtensionContainer_8231P92,
135                 0,
136                 { 0, 0, 0 },
137                 0, 0, /* No default value */
138                 "iE-Extensions"
139                 },
140 };
141 static const int asn_MAP_X2N_ServedNRCell_Information_oms_1[] = { 2, 3, 7 };
142 static const ber_tlv_tag_t asn_DEF_X2N_ServedNRCell_Information_tags_1[] = {
143         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
144 };
145 static const asn_TYPE_tag2member_t asn_MAP_X2N_ServedNRCell_Information_tag2el_1[] = {
146     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* nrpCI */
147     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* nrCellID */
148     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* fiveGS-TAC */
149     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* configured-TAC */
150     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* broadcastPLMNs */
151     { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* nrModeInfo */
152     { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* measurementTimingConfiguration */
153     { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 } /* iE-Extensions */
154 };
155 asn_SEQUENCE_specifics_t asn_SPC_X2N_ServedNRCell_Information_specs_1 = {
156         sizeof(struct X2N_ServedNRCell_Information),
157         offsetof(struct X2N_ServedNRCell_Information, _asn_ctx),
158         asn_MAP_X2N_ServedNRCell_Information_tag2el_1,
159         8,      /* Count of tags in the map */
160         asn_MAP_X2N_ServedNRCell_Information_oms_1,     /* Optional members */
161         3, 0,   /* Root/Additions */
162         8,      /* First extension addition */
163 };
164 asn_TYPE_descriptor_t asn_DEF_X2N_ServedNRCell_Information = {
165         "ServedNRCell-Information",
166         "ServedNRCell-Information",
167         &asn_OP_SEQUENCE,
168         asn_DEF_X2N_ServedNRCell_Information_tags_1,
169         sizeof(asn_DEF_X2N_ServedNRCell_Information_tags_1)
170                 /sizeof(asn_DEF_X2N_ServedNRCell_Information_tags_1[0]), /* 1 */
171         asn_DEF_X2N_ServedNRCell_Information_tags_1,    /* Same as above */
172         sizeof(asn_DEF_X2N_ServedNRCell_Information_tags_1)
173                 /sizeof(asn_DEF_X2N_ServedNRCell_Information_tags_1[0]), /* 1 */
174         { 0, 0, SEQUENCE_constraint },
175         asn_MBR_X2N_ServedNRCell_Information_1,
176         8,      /* Elements count */
177         &asn_SPC_X2N_ServedNRCell_Information_specs_1   /* Additional specs */
178 };
179