2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
4 * found in "/home/labadmin/hlal/rrc_15.3_asn.asn1"
5 * `asn1c -D ./15_3_rrc/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
8 #include "FailureInfoRLC-Bearer.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_failureType_constr_4 CC_NOTUSED = {
17 static asn_per_constraints_t asn_PER_type_failureType_constr_4 CC_NOTUSED = {
18 { APC_CONSTRAINED, 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_failureType_value2enum_4[] = {
23 { 0, 11, "duplication" },
28 static const unsigned int asn_MAP_failureType_enum2value_4[] = {
29 0, /* duplication(0) */
34 static const asn_INTEGER_specifics_t asn_SPC_failureType_specs_4 = {
35 asn_MAP_failureType_value2enum_4, /* "tag" => N; sorted by tag */
36 asn_MAP_failureType_enum2value_4, /* N => "tag"; sorted by N */
37 4, /* Number of elements in the maps */
38 0, /* Enumeration is not extensible */
39 1, /* Strict enumeration */
40 0, /* Native long size */
43 static const ber_tlv_tag_t asn_DEF_failureType_tags_4[] = {
44 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
45 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
47 static /* Use -fall-defs-global to expose */
48 asn_TYPE_descriptor_t asn_DEF_failureType_4 = {
51 &asn_OP_NativeEnumerated,
52 asn_DEF_failureType_tags_4,
53 sizeof(asn_DEF_failureType_tags_4)
54 /sizeof(asn_DEF_failureType_tags_4[0]) - 1, /* 1 */
55 asn_DEF_failureType_tags_4, /* Same as above */
56 sizeof(asn_DEF_failureType_tags_4)
57 /sizeof(asn_DEF_failureType_tags_4[0]), /* 2 */
58 { &asn_OER_type_failureType_constr_4, &asn_PER_type_failureType_constr_4, NativeEnumerated_constraint },
59 0, 0, /* Defined elsewhere */
60 &asn_SPC_failureType_specs_4 /* Additional specs */
63 asn_TYPE_member_t asn_MBR_FailureInfoRLC_Bearer_1[] = {
64 { ATF_NOFLAGS, 0, offsetof(struct FailureInfoRLC_Bearer, cellGroupId),
65 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
66 -1, /* IMPLICIT tag at current level */
70 0, 0, /* No default value */
73 { ATF_NOFLAGS, 0, offsetof(struct FailureInfoRLC_Bearer, logicalChannelIdentity),
74 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
75 -1, /* IMPLICIT tag at current level */
76 &asn_DEF_LogicalChannelIdentity,
79 0, 0, /* No default value */
80 "logicalChannelIdentity"
82 { ATF_NOFLAGS, 0, offsetof(struct FailureInfoRLC_Bearer, failureType),
83 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
84 -1, /* IMPLICIT tag at current level */
85 &asn_DEF_failureType_4,
88 0, 0, /* No default value */
92 static const ber_tlv_tag_t asn_DEF_FailureInfoRLC_Bearer_tags_1[] = {
93 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
95 static const asn_TYPE_tag2member_t asn_MAP_FailureInfoRLC_Bearer_tag2el_1[] = {
96 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cellGroupId */
97 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* logicalChannelIdentity */
98 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* failureType */
100 asn_SEQUENCE_specifics_t asn_SPC_FailureInfoRLC_Bearer_specs_1 = {
101 sizeof(struct FailureInfoRLC_Bearer),
102 offsetof(struct FailureInfoRLC_Bearer, _asn_ctx),
103 asn_MAP_FailureInfoRLC_Bearer_tag2el_1,
104 3, /* Count of tags in the map */
105 0, 0, 0, /* Optional elements (not needed) */
106 -1, /* First extension addition */
108 asn_TYPE_descriptor_t asn_DEF_FailureInfoRLC_Bearer = {
109 "FailureInfoRLC-Bearer",
110 "FailureInfoRLC-Bearer",
112 asn_DEF_FailureInfoRLC_Bearer_tags_1,
113 sizeof(asn_DEF_FailureInfoRLC_Bearer_tags_1)
114 /sizeof(asn_DEF_FailureInfoRLC_Bearer_tags_1[0]), /* 1 */
115 asn_DEF_FailureInfoRLC_Bearer_tags_1, /* Same as above */
116 sizeof(asn_DEF_FailureInfoRLC_Bearer_tags_1)
117 /sizeof(asn_DEF_FailureInfoRLC_Bearer_tags_1[0]), /* 1 */
118 { 0, 0, SEQUENCE_constraint },
119 asn_MBR_FailureInfoRLC_Bearer_1,
120 3, /* Elements count */
121 &asn_SPC_FailureInfoRLC_Bearer_specs_1 /* Additional specs */