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