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 "PDCP-ParametersMRDC.h"
11 * This type is implemented using NativeEnumerated,
12 * so here we adjust the DEF accordingly.
15 * This type is implemented using NativeEnumerated,
16 * so here we adjust the DEF accordingly.
18 static asn_oer_constraints_t asn_OER_type_pdcp_DuplicationSplitSRB_constr_2 CC_NOTUSED = {
21 static asn_per_constraints_t asn_PER_type_pdcp_DuplicationSplitSRB_constr_2 CC_NOTUSED = {
22 { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */,
23 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
24 0, 0 /* No PER value map */
26 static asn_oer_constraints_t asn_OER_type_pdcp_DuplicationSplitDRB_constr_4 CC_NOTUSED = {
29 static asn_per_constraints_t asn_PER_type_pdcp_DuplicationSplitDRB_constr_4 CC_NOTUSED = {
30 { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */,
31 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
32 0, 0 /* No PER value map */
34 static const asn_INTEGER_enum_map_t asn_MAP_pdcp_DuplicationSplitSRB_value2enum_2[] = {
37 static const unsigned int asn_MAP_pdcp_DuplicationSplitSRB_enum2value_2[] = {
40 static const asn_INTEGER_specifics_t asn_SPC_pdcp_DuplicationSplitSRB_specs_2 = {
41 asn_MAP_pdcp_DuplicationSplitSRB_value2enum_2, /* "tag" => N; sorted by tag */
42 asn_MAP_pdcp_DuplicationSplitSRB_enum2value_2, /* N => "tag"; sorted by N */
43 1, /* Number of elements in the maps */
44 0, /* Enumeration is not extensible */
45 1, /* Strict enumeration */
46 0, /* Native long size */
49 static const ber_tlv_tag_t asn_DEF_pdcp_DuplicationSplitSRB_tags_2[] = {
50 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
51 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
53 static /* Use -fall-defs-global to expose */
54 asn_TYPE_descriptor_t asn_DEF_pdcp_DuplicationSplitSRB_2 = {
55 "pdcp-DuplicationSplitSRB",
56 "pdcp-DuplicationSplitSRB",
57 &asn_OP_NativeEnumerated,
58 asn_DEF_pdcp_DuplicationSplitSRB_tags_2,
59 sizeof(asn_DEF_pdcp_DuplicationSplitSRB_tags_2)
60 /sizeof(asn_DEF_pdcp_DuplicationSplitSRB_tags_2[0]) - 1, /* 1 */
61 asn_DEF_pdcp_DuplicationSplitSRB_tags_2, /* Same as above */
62 sizeof(asn_DEF_pdcp_DuplicationSplitSRB_tags_2)
63 /sizeof(asn_DEF_pdcp_DuplicationSplitSRB_tags_2[0]), /* 2 */
64 { &asn_OER_type_pdcp_DuplicationSplitSRB_constr_2, &asn_PER_type_pdcp_DuplicationSplitSRB_constr_2, NativeEnumerated_constraint },
65 0, 0, /* Defined elsewhere */
66 &asn_SPC_pdcp_DuplicationSplitSRB_specs_2 /* Additional specs */
69 static const asn_INTEGER_enum_map_t asn_MAP_pdcp_DuplicationSplitDRB_value2enum_4[] = {
72 static const unsigned int asn_MAP_pdcp_DuplicationSplitDRB_enum2value_4[] = {
75 static const asn_INTEGER_specifics_t asn_SPC_pdcp_DuplicationSplitDRB_specs_4 = {
76 asn_MAP_pdcp_DuplicationSplitDRB_value2enum_4, /* "tag" => N; sorted by tag */
77 asn_MAP_pdcp_DuplicationSplitDRB_enum2value_4, /* N => "tag"; sorted by N */
78 1, /* Number of elements in the maps */
79 0, /* Enumeration is not extensible */
80 1, /* Strict enumeration */
81 0, /* Native long size */
84 static const ber_tlv_tag_t asn_DEF_pdcp_DuplicationSplitDRB_tags_4[] = {
85 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
86 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
88 static /* Use -fall-defs-global to expose */
89 asn_TYPE_descriptor_t asn_DEF_pdcp_DuplicationSplitDRB_4 = {
90 "pdcp-DuplicationSplitDRB",
91 "pdcp-DuplicationSplitDRB",
92 &asn_OP_NativeEnumerated,
93 asn_DEF_pdcp_DuplicationSplitDRB_tags_4,
94 sizeof(asn_DEF_pdcp_DuplicationSplitDRB_tags_4)
95 /sizeof(asn_DEF_pdcp_DuplicationSplitDRB_tags_4[0]) - 1, /* 1 */
96 asn_DEF_pdcp_DuplicationSplitDRB_tags_4, /* Same as above */
97 sizeof(asn_DEF_pdcp_DuplicationSplitDRB_tags_4)
98 /sizeof(asn_DEF_pdcp_DuplicationSplitDRB_tags_4[0]), /* 2 */
99 { &asn_OER_type_pdcp_DuplicationSplitDRB_constr_4, &asn_PER_type_pdcp_DuplicationSplitDRB_constr_4, NativeEnumerated_constraint },
100 0, 0, /* Defined elsewhere */
101 &asn_SPC_pdcp_DuplicationSplitDRB_specs_4 /* Additional specs */
104 asn_TYPE_member_t asn_MBR_PDCP_ParametersMRDC_1[] = {
105 { ATF_POINTER, 2, offsetof(struct PDCP_ParametersMRDC, pdcp_DuplicationSplitSRB),
106 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
107 -1, /* IMPLICIT tag at current level */
108 &asn_DEF_pdcp_DuplicationSplitSRB_2,
111 0, 0, /* No default value */
112 "pdcp-DuplicationSplitSRB"
114 { ATF_POINTER, 1, offsetof(struct PDCP_ParametersMRDC, pdcp_DuplicationSplitDRB),
115 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
116 -1, /* IMPLICIT tag at current level */
117 &asn_DEF_pdcp_DuplicationSplitDRB_4,
120 0, 0, /* No default value */
121 "pdcp-DuplicationSplitDRB"
124 static const int asn_MAP_PDCP_ParametersMRDC_oms_1[] = { 0, 1 };
125 static const ber_tlv_tag_t asn_DEF_PDCP_ParametersMRDC_tags_1[] = {
126 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
128 static const asn_TYPE_tag2member_t asn_MAP_PDCP_ParametersMRDC_tag2el_1[] = {
129 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pdcp-DuplicationSplitSRB */
130 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* pdcp-DuplicationSplitDRB */
132 asn_SEQUENCE_specifics_t asn_SPC_PDCP_ParametersMRDC_specs_1 = {
133 sizeof(struct PDCP_ParametersMRDC),
134 offsetof(struct PDCP_ParametersMRDC, _asn_ctx),
135 asn_MAP_PDCP_ParametersMRDC_tag2el_1,
136 2, /* Count of tags in the map */
137 asn_MAP_PDCP_ParametersMRDC_oms_1, /* Optional members */
138 2, 0, /* Root/Additions */
139 -1, /* First extension addition */
141 asn_TYPE_descriptor_t asn_DEF_PDCP_ParametersMRDC = {
142 "PDCP-ParametersMRDC",
143 "PDCP-ParametersMRDC",
145 asn_DEF_PDCP_ParametersMRDC_tags_1,
146 sizeof(asn_DEF_PDCP_ParametersMRDC_tags_1)
147 /sizeof(asn_DEF_PDCP_ParametersMRDC_tags_1[0]), /* 1 */
148 asn_DEF_PDCP_ParametersMRDC_tags_1, /* Same as above */
149 sizeof(asn_DEF_PDCP_ParametersMRDC_tags_1)
150 /sizeof(asn_DEF_PDCP_ParametersMRDC_tags_1[0]), /* 1 */
151 { 0, 0, SEQUENCE_constraint },
152 asn_MBR_PDCP_ParametersMRDC_1,
153 2, /* Elements count */
154 &asn_SPC_PDCP_ParametersMRDC_specs_1 /* Additional specs */