[Epic-ID: ODUHIGH-406][Task-ID: ODUHIGH-441]: Update name of Paging RRC Codec
[o-du/l2.git] / src / codec_utils / RRC / ReportConfigInterRAT.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "NR-RRC-Definitions"
4  *      found in "./22April22_Paging/rrc_15.3_asn.asn1"
5  *      `asn1c -D ./22April22_Paging -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "ReportConfigInterRAT.h"
9
10 #include "PeriodicalReportConfigInterRAT.h"
11 #include "EventTriggerConfigInterRAT.h"
12 #include "ReportCGI-EUTRA.h"
13 static asn_oer_constraints_t asn_OER_type_reportType_constr_2 CC_NOTUSED = {
14         { 0, 0 },
15         -1};
16 static asn_per_constraints_t asn_PER_type_reportType_constr_2 CC_NOTUSED = {
17         { APC_CONSTRAINED | APC_EXTENSIBLE,  2,  2,  0,  2 }    /* (0..2,...) */,
18         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
19         0, 0    /* No PER value map */
20 };
21 static asn_TYPE_member_t asn_MBR_reportType_2[] = {
22         { ATF_POINTER, 0, offsetof(struct ReportConfigInterRAT__reportType, choice.periodical),
23                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
24                 -1,     /* IMPLICIT tag at current level */
25                 &asn_DEF_PeriodicalReportConfigInterRAT,
26                 0,
27                 { 0, 0, 0 },
28                 0, 0, /* No default value */
29                 "periodical"
30                 },
31         { ATF_POINTER, 0, offsetof(struct ReportConfigInterRAT__reportType, choice.eventTriggered),
32                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
33                 -1,     /* IMPLICIT tag at current level */
34                 &asn_DEF_EventTriggerConfigInterRAT,
35                 0,
36                 { 0, 0, 0 },
37                 0, 0, /* No default value */
38                 "eventTriggered"
39                 },
40         { ATF_POINTER, 0, offsetof(struct ReportConfigInterRAT__reportType, choice.reportCGI),
41                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
42                 -1,     /* IMPLICIT tag at current level */
43                 &asn_DEF_ReportCGI_EUTRA,
44                 0,
45                 { 0, 0, 0 },
46                 0, 0, /* No default value */
47                 "reportCGI"
48                 },
49 };
50 static const asn_TYPE_tag2member_t asn_MAP_reportType_tag2el_2[] = {
51     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* periodical */
52     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* eventTriggered */
53     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* reportCGI */
54 };
55 static asn_CHOICE_specifics_t asn_SPC_reportType_specs_2 = {
56         sizeof(struct ReportConfigInterRAT__reportType),
57         offsetof(struct ReportConfigInterRAT__reportType, _asn_ctx),
58         offsetof(struct ReportConfigInterRAT__reportType, present),
59         sizeof(((struct ReportConfigInterRAT__reportType *)0)->present),
60         asn_MAP_reportType_tag2el_2,
61         3,      /* Count of tags in the map */
62         0, 0,
63         3       /* Extensions start */
64 };
65 static /* Use -fall-defs-global to expose */
66 asn_TYPE_descriptor_t asn_DEF_reportType_2 = {
67         "reportType",
68         "reportType",
69         &asn_OP_CHOICE,
70         0,      /* No effective tags (pointer) */
71         0,      /* No effective tags (count) */
72         0,      /* No tags (pointer) */
73         0,      /* No tags (count) */
74         { &asn_OER_type_reportType_constr_2, &asn_PER_type_reportType_constr_2, CHOICE_constraint },
75         asn_MBR_reportType_2,
76         3,      /* Elements count */
77         &asn_SPC_reportType_specs_2     /* Additional specs */
78 };
79
80 asn_TYPE_member_t asn_MBR_ReportConfigInterRAT_1[] = {
81         { ATF_NOFLAGS, 0, offsetof(struct ReportConfigInterRAT, reportType),
82                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
83                 +1,     /* EXPLICIT tag at current level */
84                 &asn_DEF_reportType_2,
85                 0,
86                 { 0, 0, 0 },
87                 0, 0, /* No default value */
88                 "reportType"
89                 },
90 };
91 static const ber_tlv_tag_t asn_DEF_ReportConfigInterRAT_tags_1[] = {
92         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
93 };
94 static const asn_TYPE_tag2member_t asn_MAP_ReportConfigInterRAT_tag2el_1[] = {
95     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* reportType */
96 };
97 asn_SEQUENCE_specifics_t asn_SPC_ReportConfigInterRAT_specs_1 = {
98         sizeof(struct ReportConfigInterRAT),
99         offsetof(struct ReportConfigInterRAT, _asn_ctx),
100         asn_MAP_ReportConfigInterRAT_tag2el_1,
101         1,      /* Count of tags in the map */
102         0, 0, 0,        /* Optional elements (not needed) */
103         -1,     /* First extension addition */
104 };
105 asn_TYPE_descriptor_t asn_DEF_ReportConfigInterRAT = {
106         "ReportConfigInterRAT",
107         "ReportConfigInterRAT",
108         &asn_OP_SEQUENCE,
109         asn_DEF_ReportConfigInterRAT_tags_1,
110         sizeof(asn_DEF_ReportConfigInterRAT_tags_1)
111                 /sizeof(asn_DEF_ReportConfigInterRAT_tags_1[0]), /* 1 */
112         asn_DEF_ReportConfigInterRAT_tags_1,    /* Same as above */
113         sizeof(asn_DEF_ReportConfigInterRAT_tags_1)
114                 /sizeof(asn_DEF_ReportConfigInterRAT_tags_1[0]), /* 1 */
115         { 0, 0, SEQUENCE_constraint },
116         asn_MBR_ReportConfigInterRAT_1,
117         1,      /* Elements count */
118         &asn_SPC_ReportConfigInterRAT_specs_1   /* Additional specs */
119 };
120