[Epic-ID: ODUHIGH-464][Task-ID: ODUHIGH-483] Memeory related fix in FDD and TDD mode
[o-du/l2.git] / src / codec_utils / RRC / RRCReject.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "NR-RRC-Definitions"
4  *      found in "../ASN1_Input/rrc_15_3_asn.asn1"
5  *      `asn1c -D ../RRC_output_14Nov/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
6  */
7
8 #include "RRCReject.h"
9
10 #include "RRCReject-IEs.h"
11 static asn_oer_constraints_t asn_OER_type_criticalExtensions_constr_2 CC_NOTUSED = {
12         { 0, 0 },
13         -1};
14 static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_2 CC_NOTUSED = {
15         { APC_CONSTRAINED,       1,  1,  0,  1 }        /* (0..1) */,
16         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
17         0, 0    /* No PER value map */
18 };
19 static const ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_4[] = {
20         (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
21         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
22 };
23 static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_4 = {
24         sizeof(struct RRCReject__criticalExtensions__criticalExtensionsFuture),
25         offsetof(struct RRCReject__criticalExtensions__criticalExtensionsFuture, _asn_ctx),
26         0,      /* No top level tags */
27         0,      /* No tags in the map */
28         0, 0, 0,        /* Optional elements (not needed) */
29         -1,     /* First extension addition */
30 };
31 static /* Use -fall-defs-global to expose */
32 asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_4 = {
33         "criticalExtensionsFuture",
34         "criticalExtensionsFuture",
35         &asn_OP_SEQUENCE,
36         asn_DEF_criticalExtensionsFuture_tags_4,
37         sizeof(asn_DEF_criticalExtensionsFuture_tags_4)
38                 /sizeof(asn_DEF_criticalExtensionsFuture_tags_4[0]) - 1, /* 1 */
39         asn_DEF_criticalExtensionsFuture_tags_4,        /* Same as above */
40         sizeof(asn_DEF_criticalExtensionsFuture_tags_4)
41                 /sizeof(asn_DEF_criticalExtensionsFuture_tags_4[0]), /* 2 */
42         { 0, 0, SEQUENCE_constraint },
43         0, 0,   /* No members */
44         &asn_SPC_criticalExtensionsFuture_specs_4       /* Additional specs */
45 };
46
47 static asn_TYPE_member_t asn_MBR_criticalExtensions_2[] = {
48         { ATF_POINTER, 0, offsetof(struct RRCReject__criticalExtensions, choice.rrcReject),
49                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
50                 -1,     /* IMPLICIT tag at current level */
51                 &asn_DEF_RRCReject_IEs,
52                 0,
53                 { 0, 0, 0 },
54                 0, 0, /* No default value */
55                 "rrcReject"
56                 },
57         { ATF_POINTER, 0, offsetof(struct RRCReject__criticalExtensions, choice.criticalExtensionsFuture),
58                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
59                 0,
60                 &asn_DEF_criticalExtensionsFuture_4,
61                 0,
62                 { 0, 0, 0 },
63                 0, 0, /* No default value */
64                 "criticalExtensionsFuture"
65                 },
66 };
67 static const asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_2[] = {
68     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrcReject */
69     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture */
70 };
71 static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_2 = {
72         sizeof(struct RRCReject__criticalExtensions),
73         offsetof(struct RRCReject__criticalExtensions, _asn_ctx),
74         offsetof(struct RRCReject__criticalExtensions, present),
75         sizeof(((struct RRCReject__criticalExtensions *)0)->present),
76         asn_MAP_criticalExtensions_tag2el_2,
77         2,      /* Count of tags in the map */
78         0, 0,
79         -1      /* Extensions start */
80 };
81 static /* Use -fall-defs-global to expose */
82 asn_TYPE_descriptor_t asn_DEF_criticalExtensions_2 = {
83         "criticalExtensions",
84         "criticalExtensions",
85         &asn_OP_CHOICE,
86         0,      /* No effective tags (pointer) */
87         0,      /* No effective tags (count) */
88         0,      /* No tags (pointer) */
89         0,      /* No tags (count) */
90         { &asn_OER_type_criticalExtensions_constr_2, &asn_PER_type_criticalExtensions_constr_2, CHOICE_constraint },
91         asn_MBR_criticalExtensions_2,
92         2,      /* Elements count */
93         &asn_SPC_criticalExtensions_specs_2     /* Additional specs */
94 };
95
96 asn_TYPE_member_t asn_MBR_RRCReject_1[] = {
97         { ATF_NOFLAGS, 0, offsetof(struct RRCReject, criticalExtensions),
98                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
99                 +1,     /* EXPLICIT tag at current level */
100                 &asn_DEF_criticalExtensions_2,
101                 0,
102                 { 0, 0, 0 },
103                 0, 0, /* No default value */
104                 "criticalExtensions"
105                 },
106 };
107 static const ber_tlv_tag_t asn_DEF_RRCReject_tags_1[] = {
108         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
109 };
110 static const asn_TYPE_tag2member_t asn_MAP_RRCReject_tag2el_1[] = {
111     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* criticalExtensions */
112 };
113 asn_SEQUENCE_specifics_t asn_SPC_RRCReject_specs_1 = {
114         sizeof(struct RRCReject),
115         offsetof(struct RRCReject, _asn_ctx),
116         asn_MAP_RRCReject_tag2el_1,
117         1,      /* Count of tags in the map */
118         0, 0, 0,        /* Optional elements (not needed) */
119         -1,     /* First extension addition */
120 };
121 asn_TYPE_descriptor_t asn_DEF_RRCReject = {
122         "RRCReject",
123         "RRCReject",
124         &asn_OP_SEQUENCE,
125         asn_DEF_RRCReject_tags_1,
126         sizeof(asn_DEF_RRCReject_tags_1)
127                 /sizeof(asn_DEF_RRCReject_tags_1[0]), /* 1 */
128         asn_DEF_RRCReject_tags_1,       /* Same as above */
129         sizeof(asn_DEF_RRCReject_tags_1)
130                 /sizeof(asn_DEF_RRCReject_tags_1[0]), /* 1 */
131         { 0, 0, SEQUENCE_constraint },
132         asn_MBR_RRCReject_1,
133         1,      /* Elements count */
134         &asn_SPC_RRCReject_specs_1      /* Additional specs */
135 };
136