[Epic-ID: ODUHIGH-406][Task-ID: ODUHIGH-441]: Update name of Paging RRC Codec
[o-du/l2.git] / src / codec_utils / RRC / MobilityFromNRCommand-IEs.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 "MobilityFromNRCommand-IEs.h"
9
10 /*
11  * This type is implemented using NativeEnumerated,
12  * so here we adjust the DEF accordingly.
13  */
14 static asn_oer_constraints_t asn_OER_type_targetRAT_Type_constr_2 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 static asn_per_constraints_t asn_PER_type_targetRAT_Type_constr_2 CC_NOTUSED = {
18         { APC_CONSTRAINED | APC_EXTENSIBLE,  2,  2,  0,  3 }    /* (0..3,...) */,
19         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
20         0, 0    /* No PER value map */
21 };
22 static const asn_INTEGER_enum_map_t asn_MAP_targetRAT_Type_value2enum_2[] = {
23         { 0,    5,      "eutra" },
24         { 1,    6,      "spare3" },
25         { 2,    6,      "spare2" },
26         { 3,    6,      "spare1" }
27         /* This list is extensible */
28 };
29 static const unsigned int asn_MAP_targetRAT_Type_enum2value_2[] = {
30         0,      /* eutra(0) */
31         3,      /* spare1(3) */
32         2,      /* spare2(2) */
33         1       /* spare3(1) */
34         /* This list is extensible */
35 };
36 static const asn_INTEGER_specifics_t asn_SPC_targetRAT_Type_specs_2 = {
37         asn_MAP_targetRAT_Type_value2enum_2,    /* "tag" => N; sorted by tag */
38         asn_MAP_targetRAT_Type_enum2value_2,    /* N => "tag"; sorted by N */
39         4,      /* Number of elements in the maps */
40         5,      /* Extensions before this member */
41         1,      /* Strict enumeration */
42         0,      /* Native long size */
43         0
44 };
45 static const ber_tlv_tag_t asn_DEF_targetRAT_Type_tags_2[] = {
46         (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
47         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
48 };
49 static /* Use -fall-defs-global to expose */
50 asn_TYPE_descriptor_t asn_DEF_targetRAT_Type_2 = {
51         "targetRAT-Type",
52         "targetRAT-Type",
53         &asn_OP_NativeEnumerated,
54         asn_DEF_targetRAT_Type_tags_2,
55         sizeof(asn_DEF_targetRAT_Type_tags_2)
56                 /sizeof(asn_DEF_targetRAT_Type_tags_2[0]) - 1, /* 1 */
57         asn_DEF_targetRAT_Type_tags_2,  /* Same as above */
58         sizeof(asn_DEF_targetRAT_Type_tags_2)
59                 /sizeof(asn_DEF_targetRAT_Type_tags_2[0]), /* 2 */
60         { &asn_OER_type_targetRAT_Type_constr_2, &asn_PER_type_targetRAT_Type_constr_2, NativeEnumerated_constraint },
61         0, 0,   /* Defined elsewhere */
62         &asn_SPC_targetRAT_Type_specs_2 /* Additional specs */
63 };
64
65 static const ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_11[] = {
66         (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
67         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
68 };
69 static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_11 = {
70         sizeof(struct MobilityFromNRCommand_IEs__nonCriticalExtension),
71         offsetof(struct MobilityFromNRCommand_IEs__nonCriticalExtension, _asn_ctx),
72         0,      /* No top level tags */
73         0,      /* No tags in the map */
74         0, 0, 0,        /* Optional elements (not needed) */
75         -1,     /* First extension addition */
76 };
77 static /* Use -fall-defs-global to expose */
78 asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_11 = {
79         "nonCriticalExtension",
80         "nonCriticalExtension",
81         &asn_OP_SEQUENCE,
82         asn_DEF_nonCriticalExtension_tags_11,
83         sizeof(asn_DEF_nonCriticalExtension_tags_11)
84                 /sizeof(asn_DEF_nonCriticalExtension_tags_11[0]) - 1, /* 1 */
85         asn_DEF_nonCriticalExtension_tags_11,   /* Same as above */
86         sizeof(asn_DEF_nonCriticalExtension_tags_11)
87                 /sizeof(asn_DEF_nonCriticalExtension_tags_11[0]), /* 2 */
88         { 0, 0, SEQUENCE_constraint },
89         0, 0,   /* No members */
90         &asn_SPC_nonCriticalExtension_specs_11  /* Additional specs */
91 };
92
93 asn_TYPE_member_t asn_MBR_MobilityFromNRCommand_IEs_1[] = {
94         { ATF_NOFLAGS, 0, offsetof(struct MobilityFromNRCommand_IEs, targetRAT_Type),
95                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
96                 -1,     /* IMPLICIT tag at current level */
97                 &asn_DEF_targetRAT_Type_2,
98                 0,
99                 { 0, 0, 0 },
100                 0, 0, /* No default value */
101                 "targetRAT-Type"
102                 },
103         { ATF_NOFLAGS, 0, offsetof(struct MobilityFromNRCommand_IEs, targetRAT_MessageContainer),
104                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
105                 -1,     /* IMPLICIT tag at current level */
106                 &asn_DEF_OCTET_STRING,
107                 0,
108                 { 0, 0, 0 },
109                 0, 0, /* No default value */
110                 "targetRAT-MessageContainer"
111                 },
112         { ATF_POINTER, 3, offsetof(struct MobilityFromNRCommand_IEs, nas_SecurityParamFromNR),
113                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
114                 -1,     /* IMPLICIT tag at current level */
115                 &asn_DEF_OCTET_STRING,
116                 0,
117                 { 0, 0, 0 },
118                 0, 0, /* No default value */
119                 "nas-SecurityParamFromNR"
120                 },
121         { ATF_POINTER, 2, offsetof(struct MobilityFromNRCommand_IEs, lateNonCriticalExtension),
122                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
123                 -1,     /* IMPLICIT tag at current level */
124                 &asn_DEF_OCTET_STRING,
125                 0,
126                 { 0, 0, 0 },
127                 0, 0, /* No default value */
128                 "lateNonCriticalExtension"
129                 },
130         { ATF_POINTER, 1, offsetof(struct MobilityFromNRCommand_IEs, nonCriticalExtension),
131                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
132                 0,
133                 &asn_DEF_nonCriticalExtension_11,
134                 0,
135                 { 0, 0, 0 },
136                 0, 0, /* No default value */
137                 "nonCriticalExtension"
138                 },
139 };
140 static const int asn_MAP_MobilityFromNRCommand_IEs_oms_1[] = { 2, 3, 4 };
141 static const ber_tlv_tag_t asn_DEF_MobilityFromNRCommand_IEs_tags_1[] = {
142         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
143 };
144 static const asn_TYPE_tag2member_t asn_MAP_MobilityFromNRCommand_IEs_tag2el_1[] = {
145     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* targetRAT-Type */
146     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* targetRAT-MessageContainer */
147     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* nas-SecurityParamFromNR */
148     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* lateNonCriticalExtension */
149     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* nonCriticalExtension */
150 };
151 asn_SEQUENCE_specifics_t asn_SPC_MobilityFromNRCommand_IEs_specs_1 = {
152         sizeof(struct MobilityFromNRCommand_IEs),
153         offsetof(struct MobilityFromNRCommand_IEs, _asn_ctx),
154         asn_MAP_MobilityFromNRCommand_IEs_tag2el_1,
155         5,      /* Count of tags in the map */
156         asn_MAP_MobilityFromNRCommand_IEs_oms_1,        /* Optional members */
157         3, 0,   /* Root/Additions */
158         -1,     /* First extension addition */
159 };
160 asn_TYPE_descriptor_t asn_DEF_MobilityFromNRCommand_IEs = {
161         "MobilityFromNRCommand-IEs",
162         "MobilityFromNRCommand-IEs",
163         &asn_OP_SEQUENCE,
164         asn_DEF_MobilityFromNRCommand_IEs_tags_1,
165         sizeof(asn_DEF_MobilityFromNRCommand_IEs_tags_1)
166                 /sizeof(asn_DEF_MobilityFromNRCommand_IEs_tags_1[0]), /* 1 */
167         asn_DEF_MobilityFromNRCommand_IEs_tags_1,       /* Same as above */
168         sizeof(asn_DEF_MobilityFromNRCommand_IEs_tags_1)
169                 /sizeof(asn_DEF_MobilityFromNRCommand_IEs_tags_1[0]), /* 1 */
170         { 0, 0, SEQUENCE_constraint },
171         asn_MBR_MobilityFromNRCommand_IEs_1,
172         5,      /* Elements count */
173         &asn_SPC_MobilityFromNRCommand_IEs_specs_1      /* Additional specs */
174 };
175