[Epic-ID: ODUHIGH-406][Task-ID: ODUHIGH-441]: Update name of Paging RRC Codec
[o-du/l2.git] / src / codec_utils / RRC / RLC-Parameters.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 "RLC-Parameters.h"
9
10 /*
11  * This type is implemented using NativeEnumerated,
12  * so here we adjust the DEF accordingly.
13  */
14 /*
15  * This type is implemented using NativeEnumerated,
16  * so here we adjust the DEF accordingly.
17  */
18 /*
19  * This type is implemented using NativeEnumerated,
20  * so here we adjust the DEF accordingly.
21  */
22 static asn_oer_constraints_t asn_OER_type_am_WithShortSN_constr_2 CC_NOTUSED = {
23         { 0, 0 },
24         -1};
25 static asn_per_constraints_t asn_PER_type_am_WithShortSN_constr_2 CC_NOTUSED = {
26         { APC_CONSTRAINED,       0,  0,  0,  0 }        /* (0..0) */,
27         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
28         0, 0    /* No PER value map */
29 };
30 static asn_oer_constraints_t asn_OER_type_um_WithShortSN_constr_4 CC_NOTUSED = {
31         { 0, 0 },
32         -1};
33 static asn_per_constraints_t asn_PER_type_um_WithShortSN_constr_4 CC_NOTUSED = {
34         { APC_CONSTRAINED,       0,  0,  0,  0 }        /* (0..0) */,
35         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
36         0, 0    /* No PER value map */
37 };
38 static asn_oer_constraints_t asn_OER_type_um_WithLongSN_constr_6 CC_NOTUSED = {
39         { 0, 0 },
40         -1};
41 static asn_per_constraints_t asn_PER_type_um_WithLongSN_constr_6 CC_NOTUSED = {
42         { APC_CONSTRAINED,       0,  0,  0,  0 }        /* (0..0) */,
43         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
44         0, 0    /* No PER value map */
45 };
46 static const asn_INTEGER_enum_map_t asn_MAP_am_WithShortSN_value2enum_2[] = {
47         { 0,    9,      "supported" }
48 };
49 static const unsigned int asn_MAP_am_WithShortSN_enum2value_2[] = {
50         0       /* supported(0) */
51 };
52 static const asn_INTEGER_specifics_t asn_SPC_am_WithShortSN_specs_2 = {
53         asn_MAP_am_WithShortSN_value2enum_2,    /* "tag" => N; sorted by tag */
54         asn_MAP_am_WithShortSN_enum2value_2,    /* N => "tag"; sorted by N */
55         1,      /* Number of elements in the maps */
56         0,      /* Enumeration is not extensible */
57         1,      /* Strict enumeration */
58         0,      /* Native long size */
59         0
60 };
61 static const ber_tlv_tag_t asn_DEF_am_WithShortSN_tags_2[] = {
62         (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
63         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
64 };
65 static /* Use -fall-defs-global to expose */
66 asn_TYPE_descriptor_t asn_DEF_am_WithShortSN_2 = {
67         "am-WithShortSN",
68         "am-WithShortSN",
69         &asn_OP_NativeEnumerated,
70         asn_DEF_am_WithShortSN_tags_2,
71         sizeof(asn_DEF_am_WithShortSN_tags_2)
72                 /sizeof(asn_DEF_am_WithShortSN_tags_2[0]) - 1, /* 1 */
73         asn_DEF_am_WithShortSN_tags_2,  /* Same as above */
74         sizeof(asn_DEF_am_WithShortSN_tags_2)
75                 /sizeof(asn_DEF_am_WithShortSN_tags_2[0]), /* 2 */
76         { &asn_OER_type_am_WithShortSN_constr_2, &asn_PER_type_am_WithShortSN_constr_2, NativeEnumerated_constraint },
77         0, 0,   /* Defined elsewhere */
78         &asn_SPC_am_WithShortSN_specs_2 /* Additional specs */
79 };
80
81 static const asn_INTEGER_enum_map_t asn_MAP_um_WithShortSN_value2enum_4[] = {
82         { 0,    9,      "supported" }
83 };
84 static const unsigned int asn_MAP_um_WithShortSN_enum2value_4[] = {
85         0       /* supported(0) */
86 };
87 static const asn_INTEGER_specifics_t asn_SPC_um_WithShortSN_specs_4 = {
88         asn_MAP_um_WithShortSN_value2enum_4,    /* "tag" => N; sorted by tag */
89         asn_MAP_um_WithShortSN_enum2value_4,    /* N => "tag"; sorted by N */
90         1,      /* Number of elements in the maps */
91         0,      /* Enumeration is not extensible */
92         1,      /* Strict enumeration */
93         0,      /* Native long size */
94         0
95 };
96 static const ber_tlv_tag_t asn_DEF_um_WithShortSN_tags_4[] = {
97         (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
98         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
99 };
100 static /* Use -fall-defs-global to expose */
101 asn_TYPE_descriptor_t asn_DEF_um_WithShortSN_4 = {
102         "um-WithShortSN",
103         "um-WithShortSN",
104         &asn_OP_NativeEnumerated,
105         asn_DEF_um_WithShortSN_tags_4,
106         sizeof(asn_DEF_um_WithShortSN_tags_4)
107                 /sizeof(asn_DEF_um_WithShortSN_tags_4[0]) - 1, /* 1 */
108         asn_DEF_um_WithShortSN_tags_4,  /* Same as above */
109         sizeof(asn_DEF_um_WithShortSN_tags_4)
110                 /sizeof(asn_DEF_um_WithShortSN_tags_4[0]), /* 2 */
111         { &asn_OER_type_um_WithShortSN_constr_4, &asn_PER_type_um_WithShortSN_constr_4, NativeEnumerated_constraint },
112         0, 0,   /* Defined elsewhere */
113         &asn_SPC_um_WithShortSN_specs_4 /* Additional specs */
114 };
115
116 static const asn_INTEGER_enum_map_t asn_MAP_um_WithLongSN_value2enum_6[] = {
117         { 0,    9,      "supported" }
118 };
119 static const unsigned int asn_MAP_um_WithLongSN_enum2value_6[] = {
120         0       /* supported(0) */
121 };
122 static const asn_INTEGER_specifics_t asn_SPC_um_WithLongSN_specs_6 = {
123         asn_MAP_um_WithLongSN_value2enum_6,     /* "tag" => N; sorted by tag */
124         asn_MAP_um_WithLongSN_enum2value_6,     /* N => "tag"; sorted by N */
125         1,      /* Number of elements in the maps */
126         0,      /* Enumeration is not extensible */
127         1,      /* Strict enumeration */
128         0,      /* Native long size */
129         0
130 };
131 static const ber_tlv_tag_t asn_DEF_um_WithLongSN_tags_6[] = {
132         (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
133         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
134 };
135 static /* Use -fall-defs-global to expose */
136 asn_TYPE_descriptor_t asn_DEF_um_WithLongSN_6 = {
137         "um-WithLongSN",
138         "um-WithLongSN",
139         &asn_OP_NativeEnumerated,
140         asn_DEF_um_WithLongSN_tags_6,
141         sizeof(asn_DEF_um_WithLongSN_tags_6)
142                 /sizeof(asn_DEF_um_WithLongSN_tags_6[0]) - 1, /* 1 */
143         asn_DEF_um_WithLongSN_tags_6,   /* Same as above */
144         sizeof(asn_DEF_um_WithLongSN_tags_6)
145                 /sizeof(asn_DEF_um_WithLongSN_tags_6[0]), /* 2 */
146         { &asn_OER_type_um_WithLongSN_constr_6, &asn_PER_type_um_WithLongSN_constr_6, NativeEnumerated_constraint },
147         0, 0,   /* Defined elsewhere */
148         &asn_SPC_um_WithLongSN_specs_6  /* Additional specs */
149 };
150
151 asn_TYPE_member_t asn_MBR_RLC_Parameters_1[] = {
152         { ATF_POINTER, 3, offsetof(struct RLC_Parameters, am_WithShortSN),
153                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
154                 -1,     /* IMPLICIT tag at current level */
155                 &asn_DEF_am_WithShortSN_2,
156                 0,
157                 { 0, 0, 0 },
158                 0, 0, /* No default value */
159                 "am-WithShortSN"
160                 },
161         { ATF_POINTER, 2, offsetof(struct RLC_Parameters, um_WithShortSN),
162                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
163                 -1,     /* IMPLICIT tag at current level */
164                 &asn_DEF_um_WithShortSN_4,
165                 0,
166                 { 0, 0, 0 },
167                 0, 0, /* No default value */
168                 "um-WithShortSN"
169                 },
170         { ATF_POINTER, 1, offsetof(struct RLC_Parameters, um_WithLongSN),
171                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
172                 -1,     /* IMPLICIT tag at current level */
173                 &asn_DEF_um_WithLongSN_6,
174                 0,
175                 { 0, 0, 0 },
176                 0, 0, /* No default value */
177                 "um-WithLongSN"
178                 },
179 };
180 static const int asn_MAP_RLC_Parameters_oms_1[] = { 0, 1, 2 };
181 static const ber_tlv_tag_t asn_DEF_RLC_Parameters_tags_1[] = {
182         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
183 };
184 static const asn_TYPE_tag2member_t asn_MAP_RLC_Parameters_tag2el_1[] = {
185     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* am-WithShortSN */
186     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* um-WithShortSN */
187     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* um-WithLongSN */
188 };
189 asn_SEQUENCE_specifics_t asn_SPC_RLC_Parameters_specs_1 = {
190         sizeof(struct RLC_Parameters),
191         offsetof(struct RLC_Parameters, _asn_ctx),
192         asn_MAP_RLC_Parameters_tag2el_1,
193         3,      /* Count of tags in the map */
194         asn_MAP_RLC_Parameters_oms_1,   /* Optional members */
195         3, 0,   /* Root/Additions */
196         3,      /* First extension addition */
197 };
198 asn_TYPE_descriptor_t asn_DEF_RLC_Parameters = {
199         "RLC-Parameters",
200         "RLC-Parameters",
201         &asn_OP_SEQUENCE,
202         asn_DEF_RLC_Parameters_tags_1,
203         sizeof(asn_DEF_RLC_Parameters_tags_1)
204                 /sizeof(asn_DEF_RLC_Parameters_tags_1[0]), /* 1 */
205         asn_DEF_RLC_Parameters_tags_1,  /* Same as above */
206         sizeof(asn_DEF_RLC_Parameters_tags_1)
207                 /sizeof(asn_DEF_RLC_Parameters_tags_1[0]), /* 1 */
208         { 0, 0, SEQUENCE_constraint },
209         asn_MBR_RLC_Parameters_1,
210         3,      /* Elements count */
211         &asn_SPC_RLC_Parameters_specs_1 /* Additional specs */
212 };
213