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 "RLC-BearerConfig.h"
10 #include "RLC-Config.h"
11 #include "LogicalChannelConfig.h"
13 * This type is implemented using NativeEnumerated,
14 * so here we adjust the DEF accordingly.
16 static asn_oer_constraints_t asn_OER_type_servedRadioBearer_constr_3 CC_NOTUSED = {
19 static asn_per_constraints_t asn_PER_type_servedRadioBearer_constr_3 CC_NOTUSED = {
20 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
21 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
22 0, 0 /* No PER value map */
24 static asn_oer_constraints_t asn_OER_type_reestablishRLC_constr_6 CC_NOTUSED = {
27 static asn_per_constraints_t asn_PER_type_reestablishRLC_constr_6 CC_NOTUSED = {
28 { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */,
29 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
30 0, 0 /* No PER value map */
32 static asn_TYPE_member_t asn_MBR_servedRadioBearer_3[] = {
33 { ATF_NOFLAGS, 0, offsetof(struct RLC_BearerConfig__servedRadioBearer, choice.srb_Identity),
34 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
35 -1, /* IMPLICIT tag at current level */
36 &asn_DEF_SRB_Identity,
39 0, 0, /* No default value */
42 { ATF_NOFLAGS, 0, offsetof(struct RLC_BearerConfig__servedRadioBearer, choice.drb_Identity),
43 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
44 -1, /* IMPLICIT tag at current level */
45 &asn_DEF_DRB_Identity,
48 0, 0, /* No default value */
52 static const asn_TYPE_tag2member_t asn_MAP_servedRadioBearer_tag2el_3[] = {
53 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* srb-Identity */
54 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* drb-Identity */
56 static asn_CHOICE_specifics_t asn_SPC_servedRadioBearer_specs_3 = {
57 sizeof(struct RLC_BearerConfig__servedRadioBearer),
58 offsetof(struct RLC_BearerConfig__servedRadioBearer, _asn_ctx),
59 offsetof(struct RLC_BearerConfig__servedRadioBearer, present),
60 sizeof(((struct RLC_BearerConfig__servedRadioBearer *)0)->present),
61 asn_MAP_servedRadioBearer_tag2el_3,
62 2, /* Count of tags in the map */
64 -1 /* Extensions start */
66 static /* Use -fall-defs-global to expose */
67 asn_TYPE_descriptor_t asn_DEF_servedRadioBearer_3 = {
71 0, /* No effective tags (pointer) */
72 0, /* No effective tags (count) */
73 0, /* No tags (pointer) */
74 0, /* No tags (count) */
75 { &asn_OER_type_servedRadioBearer_constr_3, &asn_PER_type_servedRadioBearer_constr_3, CHOICE_constraint },
76 asn_MBR_servedRadioBearer_3,
77 2, /* Elements count */
78 &asn_SPC_servedRadioBearer_specs_3 /* Additional specs */
81 static const asn_INTEGER_enum_map_t asn_MAP_reestablishRLC_value2enum_6[] = {
84 static const unsigned int asn_MAP_reestablishRLC_enum2value_6[] = {
87 static const asn_INTEGER_specifics_t asn_SPC_reestablishRLC_specs_6 = {
88 asn_MAP_reestablishRLC_value2enum_6, /* "tag" => N; sorted by tag */
89 asn_MAP_reestablishRLC_enum2value_6, /* N => "tag"; sorted by N */
90 1, /* Number of elements in the maps */
91 0, /* Enumeration is not extensible */
92 1, /* Strict enumeration */
93 0, /* Native long size */
96 static const ber_tlv_tag_t asn_DEF_reestablishRLC_tags_6[] = {
97 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
98 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
100 static /* Use -fall-defs-global to expose */
101 asn_TYPE_descriptor_t asn_DEF_reestablishRLC_6 = {
104 &asn_OP_NativeEnumerated,
105 asn_DEF_reestablishRLC_tags_6,
106 sizeof(asn_DEF_reestablishRLC_tags_6)
107 /sizeof(asn_DEF_reestablishRLC_tags_6[0]) - 1, /* 1 */
108 asn_DEF_reestablishRLC_tags_6, /* Same as above */
109 sizeof(asn_DEF_reestablishRLC_tags_6)
110 /sizeof(asn_DEF_reestablishRLC_tags_6[0]), /* 2 */
111 { &asn_OER_type_reestablishRLC_constr_6, &asn_PER_type_reestablishRLC_constr_6, NativeEnumerated_constraint },
112 0, 0, /* Defined elsewhere */
113 &asn_SPC_reestablishRLC_specs_6 /* Additional specs */
116 asn_TYPE_member_t asn_MBR_RLC_BearerConfig_1[] = {
117 { ATF_NOFLAGS, 0, offsetof(struct RLC_BearerConfig, logicalChannelIdentity),
118 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
119 -1, /* IMPLICIT tag at current level */
120 &asn_DEF_LogicalChannelIdentity,
123 0, 0, /* No default value */
124 "logicalChannelIdentity"
126 { ATF_POINTER, 4, offsetof(struct RLC_BearerConfig, servedRadioBearer),
127 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
128 +1, /* EXPLICIT tag at current level */
129 &asn_DEF_servedRadioBearer_3,
132 0, 0, /* No default value */
135 { ATF_POINTER, 3, offsetof(struct RLC_BearerConfig, reestablishRLC),
136 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
137 -1, /* IMPLICIT tag at current level */
138 &asn_DEF_reestablishRLC_6,
141 0, 0, /* No default value */
144 { ATF_POINTER, 2, offsetof(struct RLC_BearerConfig, rlc_Config),
145 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
146 +1, /* EXPLICIT tag at current level */
150 0, 0, /* No default value */
153 { ATF_POINTER, 1, offsetof(struct RLC_BearerConfig, mac_LogicalChannelConfig),
154 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
155 -1, /* IMPLICIT tag at current level */
156 &asn_DEF_LogicalChannelConfig,
159 0, 0, /* No default value */
160 "mac-LogicalChannelConfig"
163 static const int asn_MAP_RLC_BearerConfig_oms_1[] = { 1, 2, 3, 4 };
164 static const ber_tlv_tag_t asn_DEF_RLC_BearerConfig_tags_1[] = {
165 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
167 static const asn_TYPE_tag2member_t asn_MAP_RLC_BearerConfig_tag2el_1[] = {
168 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* logicalChannelIdentity */
169 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* servedRadioBearer */
170 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* reestablishRLC */
171 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* rlc-Config */
172 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* mac-LogicalChannelConfig */
174 asn_SEQUENCE_specifics_t asn_SPC_RLC_BearerConfig_specs_1 = {
175 sizeof(struct RLC_BearerConfig),
176 offsetof(struct RLC_BearerConfig, _asn_ctx),
177 asn_MAP_RLC_BearerConfig_tag2el_1,
178 5, /* Count of tags in the map */
179 asn_MAP_RLC_BearerConfig_oms_1, /* Optional members */
180 4, 0, /* Root/Additions */
181 5, /* First extension addition */
183 asn_TYPE_descriptor_t asn_DEF_RLC_BearerConfig = {
187 asn_DEF_RLC_BearerConfig_tags_1,
188 sizeof(asn_DEF_RLC_BearerConfig_tags_1)
189 /sizeof(asn_DEF_RLC_BearerConfig_tags_1[0]), /* 1 */
190 asn_DEF_RLC_BearerConfig_tags_1, /* Same as above */
191 sizeof(asn_DEF_RLC_BearerConfig_tags_1)
192 /sizeof(asn_DEF_RLC_BearerConfig_tags_1[0]), /* 1 */
193 { 0, 0, SEQUENCE_constraint },
194 asn_MBR_RLC_BearerConfig_1,
195 5, /* Elements count */
196 &asn_SPC_RLC_BearerConfig_specs_1 /* Additional specs */