[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-423] Modified RRC asn structures
[o-du/l2.git] / src / codec_utils / RRC / ReportConfigToAddMod.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 "ReportConfigToAddMod.h"
9
10 #include "ReportConfigNR.h"
11 #include "ReportConfigInterRAT.h"
12 static asn_oer_constraints_t asn_OER_type_reportConfig_constr_3 CC_NOTUSED = {
13         { 0, 0 },
14         -1};
15 static asn_per_constraints_t asn_PER_type_reportConfig_constr_3 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_reportConfig_3[] = {
21         { ATF_POINTER, 0, offsetof(struct ReportConfigToAddMod__reportConfig, choice.reportConfigNR),
22                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
23                 -1,     /* IMPLICIT tag at current level */
24                 &asn_DEF_ReportConfigNR,
25                 0,
26                 { 0, 0, 0 },
27                 0, 0, /* No default value */
28                 "reportConfigNR"
29                 },
30         { ATF_POINTER, 0, offsetof(struct ReportConfigToAddMod__reportConfig, choice.reportConfigInterRAT),
31                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
32                 -1,     /* IMPLICIT tag at current level */
33                 &asn_DEF_ReportConfigInterRAT,
34                 0,
35                 { 0, 0, 0 },
36                 0, 0, /* No default value */
37                 "reportConfigInterRAT"
38                 },
39 };
40 static const asn_TYPE_tag2member_t asn_MAP_reportConfig_tag2el_3[] = {
41     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* reportConfigNR */
42     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* reportConfigInterRAT */
43 };
44 static asn_CHOICE_specifics_t asn_SPC_reportConfig_specs_3 = {
45         sizeof(struct ReportConfigToAddMod__reportConfig),
46         offsetof(struct ReportConfigToAddMod__reportConfig, _asn_ctx),
47         offsetof(struct ReportConfigToAddMod__reportConfig, present),
48         sizeof(((struct ReportConfigToAddMod__reportConfig *)0)->present),
49         asn_MAP_reportConfig_tag2el_3,
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_reportConfig_3 = {
56         "reportConfig",
57         "reportConfig",
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_reportConfig_constr_3, &asn_PER_type_reportConfig_constr_3, CHOICE_constraint },
64         asn_MBR_reportConfig_3,
65         2,      /* Elements count */
66         &asn_SPC_reportConfig_specs_3   /* Additional specs */
67 };
68
69 asn_TYPE_member_t asn_MBR_ReportConfigToAddMod_1[] = {
70         { ATF_NOFLAGS, 0, offsetof(struct ReportConfigToAddMod, reportConfigId),
71                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
72                 -1,     /* IMPLICIT tag at current level */
73                 &asn_DEF_ReportConfigId,
74                 0,
75                 { 0, 0, 0 },
76                 0, 0, /* No default value */
77                 "reportConfigId"
78                 },
79         { ATF_NOFLAGS, 0, offsetof(struct ReportConfigToAddMod, reportConfig),
80                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
81                 +1,     /* EXPLICIT tag at current level */
82                 &asn_DEF_reportConfig_3,
83                 0,
84                 { 0, 0, 0 },
85                 0, 0, /* No default value */
86                 "reportConfig"
87                 },
88 };
89 static const ber_tlv_tag_t asn_DEF_ReportConfigToAddMod_tags_1[] = {
90         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
91 };
92 static const asn_TYPE_tag2member_t asn_MAP_ReportConfigToAddMod_tag2el_1[] = {
93     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* reportConfigId */
94     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* reportConfig */
95 };
96 asn_SEQUENCE_specifics_t asn_SPC_ReportConfigToAddMod_specs_1 = {
97         sizeof(struct ReportConfigToAddMod),
98         offsetof(struct ReportConfigToAddMod, _asn_ctx),
99         asn_MAP_ReportConfigToAddMod_tag2el_1,
100         2,      /* Count of tags in the map */
101         0, 0, 0,        /* Optional elements (not needed) */
102         -1,     /* First extension addition */
103 };
104 asn_TYPE_descriptor_t asn_DEF_ReportConfigToAddMod = {
105         "ReportConfigToAddMod",
106         "ReportConfigToAddMod",
107         &asn_OP_SEQUENCE,
108         asn_DEF_ReportConfigToAddMod_tags_1,
109         sizeof(asn_DEF_ReportConfigToAddMod_tags_1)
110                 /sizeof(asn_DEF_ReportConfigToAddMod_tags_1[0]), /* 1 */
111         asn_DEF_ReportConfigToAddMod_tags_1,    /* Same as above */
112         sizeof(asn_DEF_ReportConfigToAddMod_tags_1)
113                 /sizeof(asn_DEF_ReportConfigToAddMod_tags_1[0]), /* 1 */
114         { 0, 0, SEQUENCE_constraint },
115         asn_MBR_ReportConfigToAddMod_1,
116         2,      /* Elements count */
117         &asn_SPC_ReportConfigToAddMod_specs_1   /* Additional specs */
118 };
119