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 "SchedulingRequestToAddMod.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_sr_ProhibitTimer_constr_3 CC_NOTUSED = {
21 static asn_per_constraints_t asn_PER_type_sr_ProhibitTimer_constr_3 CC_NOTUSED = {
22 { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */,
23 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
24 0, 0 /* No PER value map */
26 static asn_oer_constraints_t asn_OER_type_sr_TransMax_constr_12 CC_NOTUSED = {
29 static asn_per_constraints_t asn_PER_type_sr_TransMax_constr_12 CC_NOTUSED = {
30 { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */,
31 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
32 0, 0 /* No PER value map */
34 static const asn_INTEGER_enum_map_t asn_MAP_sr_ProhibitTimer_value2enum_3[] = {
44 static const unsigned int asn_MAP_sr_ProhibitTimer_enum2value_3[] = {
54 static const asn_INTEGER_specifics_t asn_SPC_sr_ProhibitTimer_specs_3 = {
55 asn_MAP_sr_ProhibitTimer_value2enum_3, /* "tag" => N; sorted by tag */
56 asn_MAP_sr_ProhibitTimer_enum2value_3, /* N => "tag"; sorted by N */
57 8, /* Number of elements in the maps */
58 0, /* Enumeration is not extensible */
59 1, /* Strict enumeration */
60 0, /* Native long size */
63 static const ber_tlv_tag_t asn_DEF_sr_ProhibitTimer_tags_3[] = {
64 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
65 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
67 static /* Use -fall-defs-global to expose */
68 asn_TYPE_descriptor_t asn_DEF_sr_ProhibitTimer_3 = {
71 &asn_OP_NativeEnumerated,
72 asn_DEF_sr_ProhibitTimer_tags_3,
73 sizeof(asn_DEF_sr_ProhibitTimer_tags_3)
74 /sizeof(asn_DEF_sr_ProhibitTimer_tags_3[0]) - 1, /* 1 */
75 asn_DEF_sr_ProhibitTimer_tags_3, /* Same as above */
76 sizeof(asn_DEF_sr_ProhibitTimer_tags_3)
77 /sizeof(asn_DEF_sr_ProhibitTimer_tags_3[0]), /* 2 */
78 { &asn_OER_type_sr_ProhibitTimer_constr_3, &asn_PER_type_sr_ProhibitTimer_constr_3, NativeEnumerated_constraint },
79 0, 0, /* Defined elsewhere */
80 &asn_SPC_sr_ProhibitTimer_specs_3 /* Additional specs */
83 static const asn_INTEGER_enum_map_t asn_MAP_sr_TransMax_value2enum_12[] = {
93 static const unsigned int asn_MAP_sr_TransMax_enum2value_12[] = {
103 static const asn_INTEGER_specifics_t asn_SPC_sr_TransMax_specs_12 = {
104 asn_MAP_sr_TransMax_value2enum_12, /* "tag" => N; sorted by tag */
105 asn_MAP_sr_TransMax_enum2value_12, /* N => "tag"; sorted by N */
106 8, /* Number of elements in the maps */
107 0, /* Enumeration is not extensible */
108 1, /* Strict enumeration */
109 0, /* Native long size */
112 static const ber_tlv_tag_t asn_DEF_sr_TransMax_tags_12[] = {
113 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
114 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
116 static /* Use -fall-defs-global to expose */
117 asn_TYPE_descriptor_t asn_DEF_sr_TransMax_12 = {
120 &asn_OP_NativeEnumerated,
121 asn_DEF_sr_TransMax_tags_12,
122 sizeof(asn_DEF_sr_TransMax_tags_12)
123 /sizeof(asn_DEF_sr_TransMax_tags_12[0]) - 1, /* 1 */
124 asn_DEF_sr_TransMax_tags_12, /* Same as above */
125 sizeof(asn_DEF_sr_TransMax_tags_12)
126 /sizeof(asn_DEF_sr_TransMax_tags_12[0]), /* 2 */
127 { &asn_OER_type_sr_TransMax_constr_12, &asn_PER_type_sr_TransMax_constr_12, NativeEnumerated_constraint },
128 0, 0, /* Defined elsewhere */
129 &asn_SPC_sr_TransMax_specs_12 /* Additional specs */
132 asn_TYPE_member_t asn_MBR_SchedulingRequestToAddMod_1[] = {
133 { ATF_NOFLAGS, 0, offsetof(struct SchedulingRequestToAddMod, schedulingRequestId),
134 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
135 -1, /* IMPLICIT tag at current level */
136 &asn_DEF_SchedulingRequestId,
139 0, 0, /* No default value */
140 "schedulingRequestId"
142 { ATF_POINTER, 1, offsetof(struct SchedulingRequestToAddMod, sr_ProhibitTimer),
143 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
144 -1, /* IMPLICIT tag at current level */
145 &asn_DEF_sr_ProhibitTimer_3,
148 0, 0, /* No default value */
151 { ATF_NOFLAGS, 0, offsetof(struct SchedulingRequestToAddMod, sr_TransMax),
152 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
153 -1, /* IMPLICIT tag at current level */
154 &asn_DEF_sr_TransMax_12,
157 0, 0, /* No default value */
161 static const int asn_MAP_SchedulingRequestToAddMod_oms_1[] = { 1 };
162 static const ber_tlv_tag_t asn_DEF_SchedulingRequestToAddMod_tags_1[] = {
163 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
165 static const asn_TYPE_tag2member_t asn_MAP_SchedulingRequestToAddMod_tag2el_1[] = {
166 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* schedulingRequestId */
167 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* sr-ProhibitTimer */
168 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* sr-TransMax */
170 asn_SEQUENCE_specifics_t asn_SPC_SchedulingRequestToAddMod_specs_1 = {
171 sizeof(struct SchedulingRequestToAddMod),
172 offsetof(struct SchedulingRequestToAddMod, _asn_ctx),
173 asn_MAP_SchedulingRequestToAddMod_tag2el_1,
174 3, /* Count of tags in the map */
175 asn_MAP_SchedulingRequestToAddMod_oms_1, /* Optional members */
176 1, 0, /* Root/Additions */
177 -1, /* First extension addition */
179 asn_TYPE_descriptor_t asn_DEF_SchedulingRequestToAddMod = {
180 "SchedulingRequestToAddMod",
181 "SchedulingRequestToAddMod",
183 asn_DEF_SchedulingRequestToAddMod_tags_1,
184 sizeof(asn_DEF_SchedulingRequestToAddMod_tags_1)
185 /sizeof(asn_DEF_SchedulingRequestToAddMod_tags_1[0]), /* 1 */
186 asn_DEF_SchedulingRequestToAddMod_tags_1, /* Same as above */
187 sizeof(asn_DEF_SchedulingRequestToAddMod_tags_1)
188 /sizeof(asn_DEF_SchedulingRequestToAddMod_tags_1[0]), /* 1 */
189 { 0, 0, SEQUENCE_constraint },
190 asn_MBR_SchedulingRequestToAddMod_1,
191 3, /* Elements count */
192 &asn_SPC_SchedulingRequestToAddMod_specs_1 /* Additional specs */