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`
8 #include "MobilityFromNRCommand-IEs.h"
11 * This type is implemented using NativeEnumerated,
12 * so here we adjust the DEF accordingly.
14 static asn_oer_constraints_t asn_OER_type_targetRAT_Type_constr_2 CC_NOTUSED = {
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 */
22 static const asn_INTEGER_enum_map_t asn_MAP_targetRAT_Type_value2enum_2[] = {
27 /* This list is extensible */
29 static const unsigned int asn_MAP_targetRAT_Type_enum2value_2[] = {
34 /* This list is extensible */
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 */
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))
49 static /* Use -fall-defs-global to expose */
50 asn_TYPE_descriptor_t asn_DEF_targetRAT_Type_2 = {
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 */
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))
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 */
77 static /* Use -fall-defs-global to expose */
78 asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_11 = {
79 "nonCriticalExtension",
80 "nonCriticalExtension",
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 */
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,
100 0, 0, /* No default value */
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,
109 0, 0, /* No default value */
110 "targetRAT-MessageContainer"
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,
118 0, 0, /* No default value */
119 "nas-SecurityParamFromNR"
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,
127 0, 0, /* No default value */
128 "lateNonCriticalExtension"
130 { ATF_POINTER, 1, offsetof(struct MobilityFromNRCommand_IEs, nonCriticalExtension),
131 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
133 &asn_DEF_nonCriticalExtension_11,
136 0, 0, /* No default value */
137 "nonCriticalExtension"
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))
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 */
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 */
160 asn_TYPE_descriptor_t asn_DEF_MobilityFromNRCommand_IEs = {
161 "MobilityFromNRCommand-IEs",
162 "MobilityFromNRCommand-IEs",
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 */