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 "FailureInformation.h"
10 #include "FailureInformation-IEs.h"
11 static asn_oer_constraints_t asn_OER_type_criticalExtensions_constr_2 CC_NOTUSED = {
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 */
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))
23 static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_4 = {
24 sizeof(struct FailureInformation__criticalExtensions__criticalExtensionsFuture),
25 offsetof(struct FailureInformation__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 */
31 static /* Use -fall-defs-global to expose */
32 asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_4 = {
33 "criticalExtensionsFuture",
34 "criticalExtensionsFuture",
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 */
47 static asn_TYPE_member_t asn_MBR_criticalExtensions_2[] = {
48 { ATF_POINTER, 0, offsetof(struct FailureInformation__criticalExtensions, choice.failureInformation),
49 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
50 -1, /* IMPLICIT tag at current level */
51 &asn_DEF_FailureInformation_IEs,
54 0, 0, /* No default value */
57 { ATF_POINTER, 0, offsetof(struct FailureInformation__criticalExtensions, choice.criticalExtensionsFuture),
58 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
60 &asn_DEF_criticalExtensionsFuture_4,
63 0, 0, /* No default value */
64 "criticalExtensionsFuture"
67 static const asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_2[] = {
68 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* failureInformation */
69 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture */
71 static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_2 = {
72 sizeof(struct FailureInformation__criticalExtensions),
73 offsetof(struct FailureInformation__criticalExtensions, _asn_ctx),
74 offsetof(struct FailureInformation__criticalExtensions, present),
75 sizeof(((struct FailureInformation__criticalExtensions *)0)->present),
76 asn_MAP_criticalExtensions_tag2el_2,
77 2, /* Count of tags in the map */
79 -1 /* Extensions start */
81 static /* Use -fall-defs-global to expose */
82 asn_TYPE_descriptor_t asn_DEF_criticalExtensions_2 = {
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 */
96 asn_TYPE_member_t asn_MBR_FailureInformation_1[] = {
97 { ATF_NOFLAGS, 0, offsetof(struct FailureInformation, criticalExtensions),
98 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
99 +1, /* EXPLICIT tag at current level */
100 &asn_DEF_criticalExtensions_2,
103 0, 0, /* No default value */
107 static const ber_tlv_tag_t asn_DEF_FailureInformation_tags_1[] = {
108 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
110 static const asn_TYPE_tag2member_t asn_MAP_FailureInformation_tag2el_1[] = {
111 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* criticalExtensions */
113 asn_SEQUENCE_specifics_t asn_SPC_FailureInformation_specs_1 = {
114 sizeof(struct FailureInformation),
115 offsetof(struct FailureInformation, _asn_ctx),
116 asn_MAP_FailureInformation_tag2el_1,
117 1, /* Count of tags in the map */
118 0, 0, 0, /* Optional elements (not needed) */
119 -1, /* First extension addition */
121 asn_TYPE_descriptor_t asn_DEF_FailureInformation = {
122 "FailureInformation",
123 "FailureInformation",
125 asn_DEF_FailureInformation_tags_1,
126 sizeof(asn_DEF_FailureInformation_tags_1)
127 /sizeof(asn_DEF_FailureInformation_tags_1[0]), /* 1 */
128 asn_DEF_FailureInformation_tags_1, /* Same as above */
129 sizeof(asn_DEF_FailureInformation_tags_1)
130 /sizeof(asn_DEF_FailureInformation_tags_1[0]), /* 1 */
131 { 0, 0, SEQUENCE_constraint },
132 asn_MBR_FailureInformation_1,
133 1, /* Elements count */
134 &asn_SPC_FailureInformation_specs_1 /* Additional specs */