2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
4 * found in "./22April22_Paging/rrc_15.3_asn.asn1"
5 * `asn1c -D ./22April22_Paging -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
8 #include "SpeedStateScaleFactors.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_sf_Medium_constr_2 CC_NOTUSED = {
21 static asn_per_constraints_t asn_PER_type_sf_Medium_constr_2 CC_NOTUSED = {
22 { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */,
23 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
24 0, 0 /* No PER value map */
26 static asn_oer_constraints_t asn_OER_type_sf_High_constr_7 CC_NOTUSED = {
29 static asn_per_constraints_t asn_PER_type_sf_High_constr_7 CC_NOTUSED = {
30 { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */,
31 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
32 0, 0 /* No PER value map */
34 static const asn_INTEGER_enum_map_t asn_MAP_sf_Medium_value2enum_2[] = {
40 static const unsigned int asn_MAP_sf_Medium_enum2value_2[] = {
46 static const asn_INTEGER_specifics_t asn_SPC_sf_Medium_specs_2 = {
47 asn_MAP_sf_Medium_value2enum_2, /* "tag" => N; sorted by tag */
48 asn_MAP_sf_Medium_enum2value_2, /* N => "tag"; sorted by N */
49 4, /* Number of elements in the maps */
50 0, /* Enumeration is not extensible */
51 1, /* Strict enumeration */
52 0, /* Native long size */
55 static const ber_tlv_tag_t asn_DEF_sf_Medium_tags_2[] = {
56 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
57 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
59 static /* Use -fall-defs-global to expose */
60 asn_TYPE_descriptor_t asn_DEF_sf_Medium_2 = {
63 &asn_OP_NativeEnumerated,
64 asn_DEF_sf_Medium_tags_2,
65 sizeof(asn_DEF_sf_Medium_tags_2)
66 /sizeof(asn_DEF_sf_Medium_tags_2[0]) - 1, /* 1 */
67 asn_DEF_sf_Medium_tags_2, /* Same as above */
68 sizeof(asn_DEF_sf_Medium_tags_2)
69 /sizeof(asn_DEF_sf_Medium_tags_2[0]), /* 2 */
70 { &asn_OER_type_sf_Medium_constr_2, &asn_PER_type_sf_Medium_constr_2, NativeEnumerated_constraint },
71 0, 0, /* Defined elsewhere */
72 &asn_SPC_sf_Medium_specs_2 /* Additional specs */
75 static const asn_INTEGER_enum_map_t asn_MAP_sf_High_value2enum_7[] = {
81 static const unsigned int asn_MAP_sf_High_enum2value_7[] = {
87 static const asn_INTEGER_specifics_t asn_SPC_sf_High_specs_7 = {
88 asn_MAP_sf_High_value2enum_7, /* "tag" => N; sorted by tag */
89 asn_MAP_sf_High_enum2value_7, /* N => "tag"; sorted by N */
90 4, /* 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_sf_High_tags_7[] = {
97 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
98 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
100 static /* Use -fall-defs-global to expose */
101 asn_TYPE_descriptor_t asn_DEF_sf_High_7 = {
104 &asn_OP_NativeEnumerated,
105 asn_DEF_sf_High_tags_7,
106 sizeof(asn_DEF_sf_High_tags_7)
107 /sizeof(asn_DEF_sf_High_tags_7[0]) - 1, /* 1 */
108 asn_DEF_sf_High_tags_7, /* Same as above */
109 sizeof(asn_DEF_sf_High_tags_7)
110 /sizeof(asn_DEF_sf_High_tags_7[0]), /* 2 */
111 { &asn_OER_type_sf_High_constr_7, &asn_PER_type_sf_High_constr_7, NativeEnumerated_constraint },
112 0, 0, /* Defined elsewhere */
113 &asn_SPC_sf_High_specs_7 /* Additional specs */
116 asn_TYPE_member_t asn_MBR_SpeedStateScaleFactors_1[] = {
117 { ATF_NOFLAGS, 0, offsetof(struct SpeedStateScaleFactors, sf_Medium),
118 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
119 -1, /* IMPLICIT tag at current level */
120 &asn_DEF_sf_Medium_2,
123 0, 0, /* No default value */
126 { ATF_NOFLAGS, 0, offsetof(struct SpeedStateScaleFactors, sf_High),
127 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
128 -1, /* IMPLICIT tag at current level */
132 0, 0, /* No default value */
136 static const ber_tlv_tag_t asn_DEF_SpeedStateScaleFactors_tags_1[] = {
137 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
139 static const asn_TYPE_tag2member_t asn_MAP_SpeedStateScaleFactors_tag2el_1[] = {
140 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sf-Medium */
141 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* sf-High */
143 asn_SEQUENCE_specifics_t asn_SPC_SpeedStateScaleFactors_specs_1 = {
144 sizeof(struct SpeedStateScaleFactors),
145 offsetof(struct SpeedStateScaleFactors, _asn_ctx),
146 asn_MAP_SpeedStateScaleFactors_tag2el_1,
147 2, /* Count of tags in the map */
148 0, 0, 0, /* Optional elements (not needed) */
149 -1, /* First extension addition */
151 asn_TYPE_descriptor_t asn_DEF_SpeedStateScaleFactors = {
152 "SpeedStateScaleFactors",
153 "SpeedStateScaleFactors",
155 asn_DEF_SpeedStateScaleFactors_tags_1,
156 sizeof(asn_DEF_SpeedStateScaleFactors_tags_1)
157 /sizeof(asn_DEF_SpeedStateScaleFactors_tags_1[0]), /* 1 */
158 asn_DEF_SpeedStateScaleFactors_tags_1, /* Same as above */
159 sizeof(asn_DEF_SpeedStateScaleFactors_tags_1)
160 /sizeof(asn_DEF_SpeedStateScaleFactors_tags_1[0]), /* 1 */
161 { 0, 0, SEQUENCE_constraint },
162 asn_MBR_SpeedStateScaleFactors_1,
163 2, /* Elements count */
164 &asn_SPC_SpeedStateScaleFactors_specs_1 /* Additional specs */