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 "SRB-ToAddMod.h"
10 #include "PDCP-Config.h"
12 * This type is implemented using NativeEnumerated,
13 * so here we adjust the DEF accordingly.
16 * This type is implemented using NativeEnumerated,
17 * so here we adjust the DEF accordingly.
19 static asn_oer_constraints_t asn_OER_type_reestablishPDCP_constr_3 CC_NOTUSED = {
22 static asn_per_constraints_t asn_PER_type_reestablishPDCP_constr_3 CC_NOTUSED = {
23 { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */,
24 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
25 0, 0 /* No PER value map */
27 static asn_oer_constraints_t asn_OER_type_discardOnPDCP_constr_5 CC_NOTUSED = {
30 static asn_per_constraints_t asn_PER_type_discardOnPDCP_constr_5 CC_NOTUSED = {
31 { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */,
32 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
33 0, 0 /* No PER value map */
35 static const asn_INTEGER_enum_map_t asn_MAP_reestablishPDCP_value2enum_3[] = {
38 static const unsigned int asn_MAP_reestablishPDCP_enum2value_3[] = {
41 static const asn_INTEGER_specifics_t asn_SPC_reestablishPDCP_specs_3 = {
42 asn_MAP_reestablishPDCP_value2enum_3, /* "tag" => N; sorted by tag */
43 asn_MAP_reestablishPDCP_enum2value_3, /* N => "tag"; sorted by N */
44 1, /* Number of elements in the maps */
45 0, /* Enumeration is not extensible */
46 1, /* Strict enumeration */
47 0, /* Native long size */
50 static const ber_tlv_tag_t asn_DEF_reestablishPDCP_tags_3[] = {
51 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
52 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
54 static /* Use -fall-defs-global to expose */
55 asn_TYPE_descriptor_t asn_DEF_reestablishPDCP_3 = {
58 &asn_OP_NativeEnumerated,
59 asn_DEF_reestablishPDCP_tags_3,
60 sizeof(asn_DEF_reestablishPDCP_tags_3)
61 /sizeof(asn_DEF_reestablishPDCP_tags_3[0]) - 1, /* 1 */
62 asn_DEF_reestablishPDCP_tags_3, /* Same as above */
63 sizeof(asn_DEF_reestablishPDCP_tags_3)
64 /sizeof(asn_DEF_reestablishPDCP_tags_3[0]), /* 2 */
65 { &asn_OER_type_reestablishPDCP_constr_3, &asn_PER_type_reestablishPDCP_constr_3, NativeEnumerated_constraint },
66 0, 0, /* Defined elsewhere */
67 &asn_SPC_reestablishPDCP_specs_3 /* Additional specs */
70 static const asn_INTEGER_enum_map_t asn_MAP_discardOnPDCP_value2enum_5[] = {
73 static const unsigned int asn_MAP_discardOnPDCP_enum2value_5[] = {
76 static const asn_INTEGER_specifics_t asn_SPC_discardOnPDCP_specs_5 = {
77 asn_MAP_discardOnPDCP_value2enum_5, /* "tag" => N; sorted by tag */
78 asn_MAP_discardOnPDCP_enum2value_5, /* N => "tag"; sorted by N */
79 1, /* Number of elements in the maps */
80 0, /* Enumeration is not extensible */
81 1, /* Strict enumeration */
82 0, /* Native long size */
85 static const ber_tlv_tag_t asn_DEF_discardOnPDCP_tags_5[] = {
86 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
87 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
89 static /* Use -fall-defs-global to expose */
90 asn_TYPE_descriptor_t asn_DEF_discardOnPDCP_5 = {
93 &asn_OP_NativeEnumerated,
94 asn_DEF_discardOnPDCP_tags_5,
95 sizeof(asn_DEF_discardOnPDCP_tags_5)
96 /sizeof(asn_DEF_discardOnPDCP_tags_5[0]) - 1, /* 1 */
97 asn_DEF_discardOnPDCP_tags_5, /* Same as above */
98 sizeof(asn_DEF_discardOnPDCP_tags_5)
99 /sizeof(asn_DEF_discardOnPDCP_tags_5[0]), /* 2 */
100 { &asn_OER_type_discardOnPDCP_constr_5, &asn_PER_type_discardOnPDCP_constr_5, NativeEnumerated_constraint },
101 0, 0, /* Defined elsewhere */
102 &asn_SPC_discardOnPDCP_specs_5 /* Additional specs */
105 asn_TYPE_member_t asn_MBR_SRB_ToAddMod_1[] = {
106 { ATF_NOFLAGS, 0, offsetof(struct SRB_ToAddMod, srb_Identity),
107 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
108 -1, /* IMPLICIT tag at current level */
109 &asn_DEF_SRB_Identity,
112 0, 0, /* No default value */
115 { ATF_POINTER, 3, offsetof(struct SRB_ToAddMod, reestablishPDCP),
116 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
117 -1, /* IMPLICIT tag at current level */
118 &asn_DEF_reestablishPDCP_3,
121 0, 0, /* No default value */
124 { ATF_POINTER, 2, offsetof(struct SRB_ToAddMod, discardOnPDCP),
125 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
126 -1, /* IMPLICIT tag at current level */
127 &asn_DEF_discardOnPDCP_5,
130 0, 0, /* No default value */
133 { ATF_POINTER, 1, offsetof(struct SRB_ToAddMod, pdcp_Config),
134 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
135 -1, /* IMPLICIT tag at current level */
136 &asn_DEF_PDCP_Config,
139 0, 0, /* No default value */
143 static const int asn_MAP_SRB_ToAddMod_oms_1[] = { 1, 2, 3 };
144 static const ber_tlv_tag_t asn_DEF_SRB_ToAddMod_tags_1[] = {
145 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
147 static const asn_TYPE_tag2member_t asn_MAP_SRB_ToAddMod_tag2el_1[] = {
148 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* srb-Identity */
149 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* reestablishPDCP */
150 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* discardOnPDCP */
151 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* pdcp-Config */
153 asn_SEQUENCE_specifics_t asn_SPC_SRB_ToAddMod_specs_1 = {
154 sizeof(struct SRB_ToAddMod),
155 offsetof(struct SRB_ToAddMod, _asn_ctx),
156 asn_MAP_SRB_ToAddMod_tag2el_1,
157 4, /* Count of tags in the map */
158 asn_MAP_SRB_ToAddMod_oms_1, /* Optional members */
159 3, 0, /* Root/Additions */
160 4, /* First extension addition */
162 asn_TYPE_descriptor_t asn_DEF_SRB_ToAddMod = {
166 asn_DEF_SRB_ToAddMod_tags_1,
167 sizeof(asn_DEF_SRB_ToAddMod_tags_1)
168 /sizeof(asn_DEF_SRB_ToAddMod_tags_1[0]), /* 1 */
169 asn_DEF_SRB_ToAddMod_tags_1, /* Same as above */
170 sizeof(asn_DEF_SRB_ToAddMod_tags_1)
171 /sizeof(asn_DEF_SRB_ToAddMod_tags_1[0]), /* 1 */
172 { 0, 0, SEQUENCE_constraint },
173 asn_MBR_SRB_ToAddMod_1,
174 4, /* Elements count */
175 &asn_SPC_SRB_ToAddMod_specs_1 /* Additional specs */