Adding initial code jy.oak@samsung.com
[ric-app/kpimon.git] / asn1c_defs / all-defs / NRNeighbour-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 "NRNeighbour-Information.h"\r
9 \r
10 #include "ProtocolExtensionContainer.h"\r
11 #include "FDD-InfoNeighbourServedNRCell-Information.h"\r
12 #include "TDD-InfoNeighbourServedNRCell-Information.h"\r
13 static asn_per_constraints_t asn_PER_type_nRNeighbourModeInfo_constr_8 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 asn_per_constraints_t asn_PER_type_NRNeighbour_Information_constr_1 CC_NOTUSED = {\r
19         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },\r
20         { APC_CONSTRAINED,       10,  10,  1,  1024 }   /* (SIZE(1..1024)) */,\r
21         0, 0    /* No PER value map */\r
22 };\r
23 static asn_TYPE_member_t asn_MBR_nRNeighbourModeInfo_8[] = {\r
24         { ATF_POINTER, 0, offsetof(struct NRNeighbour_Information__Member__nRNeighbourModeInfo, choice.fdd),\r
25                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),\r
26                 -1,     /* IMPLICIT tag at current level */\r
27                 &asn_DEF_FDD_InfoNeighbourServedNRCell_Information,\r
28                 0,\r
29                 { 0, 0, 0 },\r
30                 0, 0, /* No default value */\r
31                 "fdd"\r
32                 },\r
33         { ATF_POINTER, 0, offsetof(struct NRNeighbour_Information__Member__nRNeighbourModeInfo, choice.tdd),\r
34                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),\r
35                 -1,     /* IMPLICIT tag at current level */\r
36                 &asn_DEF_TDD_InfoNeighbourServedNRCell_Information,\r
37                 0,\r
38                 { 0, 0, 0 },\r
39                 0, 0, /* No default value */\r
40                 "tdd"\r
41                 },\r
42 };\r
43 static const asn_TYPE_tag2member_t asn_MAP_nRNeighbourModeInfo_tag2el_8[] = {\r
44     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* fdd */\r
45     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* tdd */\r
46 };\r
47 static asn_CHOICE_specifics_t asn_SPC_nRNeighbourModeInfo_specs_8 = {\r
48         sizeof(struct NRNeighbour_Information__Member__nRNeighbourModeInfo),\r
49         offsetof(struct NRNeighbour_Information__Member__nRNeighbourModeInfo, _asn_ctx),\r
50         offsetof(struct NRNeighbour_Information__Member__nRNeighbourModeInfo, present),\r
51         sizeof(((struct NRNeighbour_Information__Member__nRNeighbourModeInfo *)0)->present),\r
52         asn_MAP_nRNeighbourModeInfo_tag2el_8,\r
53         2,      /* Count of tags in the map */\r
54         0, 0,\r
55         2       /* Extensions start */\r
56 };\r
57 static /* Use -fall-defs-global to expose */\r
58 asn_TYPE_descriptor_t asn_DEF_nRNeighbourModeInfo_8 = {\r
59         "nRNeighbourModeInfo",\r
60         "nRNeighbourModeInfo",\r
61         &asn_OP_CHOICE,\r
62         0,      /* No effective tags (pointer) */\r
63         0,      /* No effective tags (count) */\r
64         0,      /* No tags (pointer) */\r
65         0,      /* No tags (count) */\r
66         { 0, &asn_PER_type_nRNeighbourModeInfo_constr_8, CHOICE_constraint },\r
67         asn_MBR_nRNeighbourModeInfo_8,\r
68         2,      /* Elements count */\r
69         &asn_SPC_nRNeighbourModeInfo_specs_8    /* Additional specs */\r
70 };\r
71 \r
72 static asn_TYPE_member_t asn_MBR_Member_2[] = {\r
73         { ATF_NOFLAGS, 0, offsetof(struct NRNeighbour_Information__Member, nrpCI),\r
74                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),\r
75                 -1,     /* IMPLICIT tag at current level */\r
76                 &asn_DEF_NRPCI,\r
77                 0,\r
78                 { 0, 0, 0 },\r
79                 0, 0, /* No default value */\r
80                 "nrpCI"\r
81                 },\r
82         { ATF_NOFLAGS, 0, offsetof(struct NRNeighbour_Information__Member, nrCellID),\r
83                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),\r
84                 -1,     /* IMPLICIT tag at current level */\r
85                 &asn_DEF_NRCGI,\r
86                 0,\r
87                 { 0, 0, 0 },\r
88                 0, 0, /* No default value */\r
89                 "nrCellID"\r
90                 },\r
91         { ATF_POINTER, 2, offsetof(struct NRNeighbour_Information__Member, fiveGS_TAC),\r
92                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),\r
93                 -1,     /* IMPLICIT tag at current level */\r
94                 &asn_DEF_FiveGS_TAC,\r
95                 0,\r
96                 { 0, 0, 0 },\r
97                 0, 0, /* No default value */\r
98                 "fiveGS-TAC"\r
99                 },\r
100         { ATF_POINTER, 1, offsetof(struct NRNeighbour_Information__Member, configured_TAC),\r
101                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),\r
102                 -1,     /* IMPLICIT tag at current level */\r
103                 &asn_DEF_TAC,\r
104                 0,\r
105                 { 0, 0, 0 },\r
106                 0, 0, /* No default value */\r
107                 "configured-TAC"\r
108                 },\r
109         { ATF_NOFLAGS, 0, offsetof(struct NRNeighbour_Information__Member, measurementTimingConfiguration),\r
110                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),\r
111                 -1,     /* IMPLICIT tag at current level */\r
112                 &asn_DEF_OCTET_STRING,\r
113                 0,\r
114                 { 0, 0, 0 },\r
115                 0, 0, /* No default value */\r
116                 "measurementTimingConfiguration"\r
117                 },\r
118         { ATF_NOFLAGS, 0, offsetof(struct NRNeighbour_Information__Member, nRNeighbourModeInfo),\r
119                 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),\r
120                 +1,     /* EXPLICIT tag at current level */\r
121                 &asn_DEF_nRNeighbourModeInfo_8,\r
122                 0,\r
123                 { 0, 0, 0 },\r
124                 0, 0, /* No default value */\r
125                 "nRNeighbourModeInfo"\r
126                 },\r
127         { ATF_POINTER, 1, offsetof(struct NRNeighbour_Information__Member, iE_Extensions),\r
128                 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),\r
129                 -1,     /* IMPLICIT tag at current level */\r
130                 &asn_DEF_ProtocolExtensionContainer_8231P97,\r
131                 0,\r
132                 { 0, 0, 0 },\r
133                 0, 0, /* No default value */\r
134                 "iE-Extensions"\r
135                 },\r
136 };\r
137 static const int asn_MAP_Member_oms_2[] = { 2, 3, 6 };\r
138 static const ber_tlv_tag_t asn_DEF_Member_tags_2[] = {\r
139         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))\r
140 };\r
141 static const asn_TYPE_tag2member_t asn_MAP_Member_tag2el_2[] = {\r
142     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* nrpCI */\r
143     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* nrCellID */\r
144     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* fiveGS-TAC */\r
145     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* configured-TAC */\r
146     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* measurementTimingConfiguration */\r
147     { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* nRNeighbourModeInfo */\r
148     { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* iE-Extensions */\r
149 };\r
150 static asn_SEQUENCE_specifics_t asn_SPC_Member_specs_2 = {\r
151         sizeof(struct NRNeighbour_Information__Member),\r
152         offsetof(struct NRNeighbour_Information__Member, _asn_ctx),\r
153         asn_MAP_Member_tag2el_2,\r
154         7,      /* Count of tags in the map */\r
155         asn_MAP_Member_oms_2,   /* Optional members */\r
156         3, 0,   /* Root/Additions */\r
157         7,      /* First extension addition */\r
158 };\r
159 static /* Use -fall-defs-global to expose */\r
160 asn_TYPE_descriptor_t asn_DEF_Member_2 = {\r
161         "SEQUENCE",\r
162         "SEQUENCE",\r
163         &asn_OP_SEQUENCE,\r
164         asn_DEF_Member_tags_2,\r
165         sizeof(asn_DEF_Member_tags_2)\r
166                 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */\r
167         asn_DEF_Member_tags_2,  /* Same as above */\r
168         sizeof(asn_DEF_Member_tags_2)\r
169                 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */\r
170         { 0, 0, SEQUENCE_constraint },\r
171         asn_MBR_Member_2,\r
172         7,      /* Elements count */\r
173         &asn_SPC_Member_specs_2 /* Additional specs */\r
174 };\r
175 \r
176 asn_TYPE_member_t asn_MBR_NRNeighbour_Information_1[] = {\r
177         { ATF_POINTER, 0, 0,\r
178                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),\r
179                 0,\r
180                 &asn_DEF_Member_2,\r
181                 0,\r
182                 { 0, 0, 0 },\r
183                 0, 0, /* No default value */\r
184                 ""\r
185                 },\r
186 };\r
187 static const ber_tlv_tag_t asn_DEF_NRNeighbour_Information_tags_1[] = {\r
188         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))\r
189 };\r
190 asn_SET_OF_specifics_t asn_SPC_NRNeighbour_Information_specs_1 = {\r
191         sizeof(struct NRNeighbour_Information),\r
192         offsetof(struct NRNeighbour_Information, _asn_ctx),\r
193         0,      /* XER encoding is XMLDelimitedItemList */\r
194 };\r
195 asn_TYPE_descriptor_t asn_DEF_NRNeighbour_Information = {\r
196         "NRNeighbour-Information",\r
197         "NRNeighbour-Information",\r
198         &asn_OP_SEQUENCE_OF,\r
199         asn_DEF_NRNeighbour_Information_tags_1,\r
200         sizeof(asn_DEF_NRNeighbour_Information_tags_1)\r
201                 /sizeof(asn_DEF_NRNeighbour_Information_tags_1[0]), /* 1 */\r
202         asn_DEF_NRNeighbour_Information_tags_1, /* Same as above */\r
203         sizeof(asn_DEF_NRNeighbour_Information_tags_1)\r
204                 /sizeof(asn_DEF_NRNeighbour_Information_tags_1[0]), /* 1 */\r
205         { 0, &asn_PER_type_NRNeighbour_Information_constr_1, SEQUENCE_OF_constraint },\r
206         asn_MBR_NRNeighbour_Information_1,\r
207         1,      /* Single element */\r
208         &asn_SPC_NRNeighbour_Information_specs_1        /* Additional specs */\r
209 };\r
210 \r