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 "RadioBearerConfig.h"
10 #include "SRB-ToAddModList.h"
11 #include "DRB-ToAddModList.h"
12 #include "DRB-ToReleaseList.h"
13 #include "SecurityConfig.h"
15 * This type is implemented using NativeEnumerated,
16 * so here we adjust the DEF accordingly.
18 static asn_oer_constraints_t asn_OER_type_srb3_ToRelease_constr_3 CC_NOTUSED = {
21 static asn_per_constraints_t asn_PER_type_srb3_ToRelease_constr_3 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 const asn_INTEGER_enum_map_t asn_MAP_srb3_ToRelease_value2enum_3[] = {
29 static const unsigned int asn_MAP_srb3_ToRelease_enum2value_3[] = {
32 static const asn_INTEGER_specifics_t asn_SPC_srb3_ToRelease_specs_3 = {
33 asn_MAP_srb3_ToRelease_value2enum_3, /* "tag" => N; sorted by tag */
34 asn_MAP_srb3_ToRelease_enum2value_3, /* N => "tag"; sorted by N */
35 1, /* Number of elements in the maps */
36 0, /* Enumeration is not extensible */
37 1, /* Strict enumeration */
38 0, /* Native long size */
41 static const ber_tlv_tag_t asn_DEF_srb3_ToRelease_tags_3[] = {
42 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
43 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
45 static /* Use -fall-defs-global to expose */
46 asn_TYPE_descriptor_t asn_DEF_srb3_ToRelease_3 = {
49 &asn_OP_NativeEnumerated,
50 asn_DEF_srb3_ToRelease_tags_3,
51 sizeof(asn_DEF_srb3_ToRelease_tags_3)
52 /sizeof(asn_DEF_srb3_ToRelease_tags_3[0]) - 1, /* 1 */
53 asn_DEF_srb3_ToRelease_tags_3, /* Same as above */
54 sizeof(asn_DEF_srb3_ToRelease_tags_3)
55 /sizeof(asn_DEF_srb3_ToRelease_tags_3[0]), /* 2 */
56 { &asn_OER_type_srb3_ToRelease_constr_3, &asn_PER_type_srb3_ToRelease_constr_3, NativeEnumerated_constraint },
57 0, 0, /* Defined elsewhere */
58 &asn_SPC_srb3_ToRelease_specs_3 /* Additional specs */
61 asn_TYPE_member_t asn_MBR_RadioBearerConfig_1[] = {
62 { ATF_POINTER, 5, offsetof(struct RadioBearerConfig, srb_ToAddModList),
63 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
64 -1, /* IMPLICIT tag at current level */
65 &asn_DEF_SRB_ToAddModList,
68 0, 0, /* No default value */
71 { ATF_POINTER, 4, offsetof(struct RadioBearerConfig, srb3_ToRelease),
72 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
73 -1, /* IMPLICIT tag at current level */
74 &asn_DEF_srb3_ToRelease_3,
77 0, 0, /* No default value */
80 { ATF_POINTER, 3, offsetof(struct RadioBearerConfig, drb_ToAddModList),
81 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
82 -1, /* IMPLICIT tag at current level */
83 &asn_DEF_DRB_ToAddModList,
86 0, 0, /* No default value */
89 { ATF_POINTER, 2, offsetof(struct RadioBearerConfig, drb_ToReleaseList),
90 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
91 -1, /* IMPLICIT tag at current level */
92 &asn_DEF_DRB_ToReleaseList,
95 0, 0, /* No default value */
98 { ATF_POINTER, 1, offsetof(struct RadioBearerConfig, securityConfig),
99 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
100 -1, /* IMPLICIT tag at current level */
101 &asn_DEF_SecurityConfig,
104 0, 0, /* No default value */
108 static const int asn_MAP_RadioBearerConfig_oms_1[] = { 0, 1, 2, 3, 4 };
109 static const ber_tlv_tag_t asn_DEF_RadioBearerConfig_tags_1[] = {
110 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
112 static const asn_TYPE_tag2member_t asn_MAP_RadioBearerConfig_tag2el_1[] = {
113 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* srb-ToAddModList */
114 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* srb3-ToRelease */
115 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* drb-ToAddModList */
116 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* drb-ToReleaseList */
117 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* securityConfig */
119 asn_SEQUENCE_specifics_t asn_SPC_RadioBearerConfig_specs_1 = {
120 sizeof(struct RadioBearerConfig),
121 offsetof(struct RadioBearerConfig, _asn_ctx),
122 asn_MAP_RadioBearerConfig_tag2el_1,
123 5, /* Count of tags in the map */
124 asn_MAP_RadioBearerConfig_oms_1, /* Optional members */
125 5, 0, /* Root/Additions */
126 5, /* First extension addition */
128 asn_TYPE_descriptor_t asn_DEF_RadioBearerConfig = {
132 asn_DEF_RadioBearerConfig_tags_1,
133 sizeof(asn_DEF_RadioBearerConfig_tags_1)
134 /sizeof(asn_DEF_RadioBearerConfig_tags_1[0]), /* 1 */
135 asn_DEF_RadioBearerConfig_tags_1, /* Same as above */
136 sizeof(asn_DEF_RadioBearerConfig_tags_1)
137 /sizeof(asn_DEF_RadioBearerConfig_tags_1[0]), /* 1 */
138 { 0, 0, SEQUENCE_constraint },
139 asn_MBR_RadioBearerConfig_1,
140 5, /* Elements count */
141 &asn_SPC_RadioBearerConfig_specs_1 /* Additional specs */