[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-423] Modified RRC asn structures
[o-du/l2.git] / src / codec_utils / RRC / MeasResults.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "NR-RRC-Definitions"
4  *      found in "../../../rrc_15.3_asn.asn1"
5  *      `asn1c -D ./25_02_2022_RRC/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "MeasResults.h"
9
10 #include "MeasResultListNR.h"
11 #include "MeasResultListEUTRA.h"
12 static asn_oer_constraints_t asn_OER_type_measResultNeighCells_constr_4 CC_NOTUSED = {
13         { 0, 0 },
14         -1};
15 static asn_per_constraints_t asn_PER_type_measResultNeighCells_constr_4 CC_NOTUSED = {
16         { APC_CONSTRAINED | APC_EXTENSIBLE,  0,  0,  0,  0 }    /* (0..0,...) */,
17         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
18         0, 0    /* No PER value map */
19 };
20 static asn_TYPE_member_t asn_MBR_measResultNeighCells_4[] = {
21         { ATF_POINTER, 0, offsetof(struct MeasResults__measResultNeighCells, choice.measResultListNR),
22                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
23                 -1,     /* IMPLICIT tag at current level */
24                 &asn_DEF_MeasResultListNR,
25                 0,
26                 { 0, 0, 0 },
27                 0, 0, /* No default value */
28                 "measResultListNR"
29                 },
30         { ATF_POINTER, 0, offsetof(struct MeasResults__measResultNeighCells, choice.measResultListEUTRA),
31                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
32                 -1,     /* IMPLICIT tag at current level */
33                 &asn_DEF_MeasResultListEUTRA,
34                 0,
35                 { 0, 0, 0 },
36                 0, 0, /* No default value */
37                 "measResultListEUTRA"
38                 },
39 };
40 static const asn_TYPE_tag2member_t asn_MAP_measResultNeighCells_tag2el_4[] = {
41     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measResultListNR */
42     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* measResultListEUTRA */
43 };
44 static asn_CHOICE_specifics_t asn_SPC_measResultNeighCells_specs_4 = {
45         sizeof(struct MeasResults__measResultNeighCells),
46         offsetof(struct MeasResults__measResultNeighCells, _asn_ctx),
47         offsetof(struct MeasResults__measResultNeighCells, present),
48         sizeof(((struct MeasResults__measResultNeighCells *)0)->present),
49         asn_MAP_measResultNeighCells_tag2el_4,
50         2,      /* Count of tags in the map */
51         0, 0,
52         1       /* Extensions start */
53 };
54 static /* Use -fall-defs-global to expose */
55 asn_TYPE_descriptor_t asn_DEF_measResultNeighCells_4 = {
56         "measResultNeighCells",
57         "measResultNeighCells",
58         &asn_OP_CHOICE,
59         0,      /* No effective tags (pointer) */
60         0,      /* No effective tags (count) */
61         0,      /* No tags (pointer) */
62         0,      /* No tags (count) */
63         { &asn_OER_type_measResultNeighCells_constr_4, &asn_PER_type_measResultNeighCells_constr_4, CHOICE_constraint },
64         asn_MBR_measResultNeighCells_4,
65         2,      /* Elements count */
66         &asn_SPC_measResultNeighCells_specs_4   /* Additional specs */
67 };
68
69 asn_TYPE_member_t asn_MBR_MeasResults_1[] = {
70         { ATF_NOFLAGS, 0, offsetof(struct MeasResults, measId),
71                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
72                 -1,     /* IMPLICIT tag at current level */
73                 &asn_DEF_MeasId,
74                 0,
75                 { 0, 0, 0 },
76                 0, 0, /* No default value */
77                 "measId"
78                 },
79         { ATF_NOFLAGS, 0, offsetof(struct MeasResults, measResultServingMOList),
80                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
81                 -1,     /* IMPLICIT tag at current level */
82                 &asn_DEF_MeasResultServMOList,
83                 0,
84                 { 0, 0, 0 },
85                 0, 0, /* No default value */
86                 "measResultServingMOList"
87                 },
88         { ATF_POINTER, 1, offsetof(struct MeasResults, measResultNeighCells),
89                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
90                 +1,     /* EXPLICIT tag at current level */
91                 &asn_DEF_measResultNeighCells_4,
92                 0,
93                 { 0, 0, 0 },
94                 0, 0, /* No default value */
95                 "measResultNeighCells"
96                 },
97 };
98 static const int asn_MAP_MeasResults_oms_1[] = { 2 };
99 static const ber_tlv_tag_t asn_DEF_MeasResults_tags_1[] = {
100         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
101 };
102 static const asn_TYPE_tag2member_t asn_MAP_MeasResults_tag2el_1[] = {
103     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measId */
104     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* measResultServingMOList */
105     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* measResultNeighCells */
106 };
107 asn_SEQUENCE_specifics_t asn_SPC_MeasResults_specs_1 = {
108         sizeof(struct MeasResults),
109         offsetof(struct MeasResults, _asn_ctx),
110         asn_MAP_MeasResults_tag2el_1,
111         3,      /* Count of tags in the map */
112         asn_MAP_MeasResults_oms_1,      /* Optional members */
113         1, 0,   /* Root/Additions */
114         3,      /* First extension addition */
115 };
116 asn_TYPE_descriptor_t asn_DEF_MeasResults = {
117         "MeasResults",
118         "MeasResults",
119         &asn_OP_SEQUENCE,
120         asn_DEF_MeasResults_tags_1,
121         sizeof(asn_DEF_MeasResults_tags_1)
122                 /sizeof(asn_DEF_MeasResults_tags_1[0]), /* 1 */
123         asn_DEF_MeasResults_tags_1,     /* Same as above */
124         sizeof(asn_DEF_MeasResults_tags_1)
125                 /sizeof(asn_DEF_MeasResults_tags_1[0]), /* 1 */
126         { 0, 0, SEQUENCE_constraint },
127         asn_MBR_MeasResults_1,
128         3,      /* Elements count */
129         &asn_SPC_MeasResults_specs_1    /* Additional specs */
130 };
131