2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
4 * found in "../../../rrc_15.3_asn.asn1"
5 * `asn1c -D ./25_02_2022_RRC/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
8 #include "SchedulingInfo.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_si_BroadcastStatus_constr_2 CC_NOTUSED = {
21 static asn_per_constraints_t asn_PER_type_si_BroadcastStatus_constr_2 CC_NOTUSED = {
22 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
23 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
24 0, 0 /* No PER value map */
26 static asn_oer_constraints_t asn_OER_type_si_Periodicity_constr_5 CC_NOTUSED = {
29 static asn_per_constraints_t asn_PER_type_si_Periodicity_constr_5 CC_NOTUSED = {
30 { APC_CONSTRAINED, 3, 3, 0, 6 } /* (0..6) */,
31 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
32 0, 0 /* No PER value map */
34 static const asn_INTEGER_enum_map_t asn_MAP_si_BroadcastStatus_value2enum_2[] = {
35 { 0, 12, "broadcasting" },
36 { 1, 15, "notBroadcasting" }
38 static const unsigned int asn_MAP_si_BroadcastStatus_enum2value_2[] = {
39 0, /* broadcasting(0) */
40 1 /* notBroadcasting(1) */
42 static const asn_INTEGER_specifics_t asn_SPC_si_BroadcastStatus_specs_2 = {
43 asn_MAP_si_BroadcastStatus_value2enum_2, /* "tag" => N; sorted by tag */
44 asn_MAP_si_BroadcastStatus_enum2value_2, /* N => "tag"; sorted by N */
45 2, /* Number of elements in the maps */
46 0, /* Enumeration is not extensible */
47 1, /* Strict enumeration */
48 0, /* Native long size */
51 static const ber_tlv_tag_t asn_DEF_si_BroadcastStatus_tags_2[] = {
52 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
53 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
55 static /* Use -fall-defs-global to expose */
56 asn_TYPE_descriptor_t asn_DEF_si_BroadcastStatus_2 = {
59 &asn_OP_NativeEnumerated,
60 asn_DEF_si_BroadcastStatus_tags_2,
61 sizeof(asn_DEF_si_BroadcastStatus_tags_2)
62 /sizeof(asn_DEF_si_BroadcastStatus_tags_2[0]) - 1, /* 1 */
63 asn_DEF_si_BroadcastStatus_tags_2, /* Same as above */
64 sizeof(asn_DEF_si_BroadcastStatus_tags_2)
65 /sizeof(asn_DEF_si_BroadcastStatus_tags_2[0]), /* 2 */
66 { &asn_OER_type_si_BroadcastStatus_constr_2, &asn_PER_type_si_BroadcastStatus_constr_2, NativeEnumerated_constraint },
67 0, 0, /* Defined elsewhere */
68 &asn_SPC_si_BroadcastStatus_specs_2 /* Additional specs */
71 static const asn_INTEGER_enum_map_t asn_MAP_si_Periodicity_value2enum_5[] = {
80 static const unsigned int asn_MAP_si_Periodicity_enum2value_5[] = {
89 static const asn_INTEGER_specifics_t asn_SPC_si_Periodicity_specs_5 = {
90 asn_MAP_si_Periodicity_value2enum_5, /* "tag" => N; sorted by tag */
91 asn_MAP_si_Periodicity_enum2value_5, /* N => "tag"; sorted by N */
92 7, /* Number of elements in the maps */
93 0, /* Enumeration is not extensible */
94 1, /* Strict enumeration */
95 0, /* Native long size */
98 static const ber_tlv_tag_t asn_DEF_si_Periodicity_tags_5[] = {
99 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
100 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
102 static /* Use -fall-defs-global to expose */
103 asn_TYPE_descriptor_t asn_DEF_si_Periodicity_5 = {
106 &asn_OP_NativeEnumerated,
107 asn_DEF_si_Periodicity_tags_5,
108 sizeof(asn_DEF_si_Periodicity_tags_5)
109 /sizeof(asn_DEF_si_Periodicity_tags_5[0]) - 1, /* 1 */
110 asn_DEF_si_Periodicity_tags_5, /* Same as above */
111 sizeof(asn_DEF_si_Periodicity_tags_5)
112 /sizeof(asn_DEF_si_Periodicity_tags_5[0]), /* 2 */
113 { &asn_OER_type_si_Periodicity_constr_5, &asn_PER_type_si_Periodicity_constr_5, NativeEnumerated_constraint },
114 0, 0, /* Defined elsewhere */
115 &asn_SPC_si_Periodicity_specs_5 /* Additional specs */
118 asn_TYPE_member_t asn_MBR_SchedulingInfo_1[] = {
119 { ATF_NOFLAGS, 0, offsetof(struct SchedulingInfo, si_BroadcastStatus),
120 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
121 -1, /* IMPLICIT tag at current level */
122 &asn_DEF_si_BroadcastStatus_2,
125 0, 0, /* No default value */
128 { ATF_NOFLAGS, 0, offsetof(struct SchedulingInfo, si_Periodicity),
129 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
130 -1, /* IMPLICIT tag at current level */
131 &asn_DEF_si_Periodicity_5,
134 0, 0, /* No default value */
137 { ATF_NOFLAGS, 0, offsetof(struct SchedulingInfo, sib_MappingInfo),
138 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
139 -1, /* IMPLICIT tag at current level */
140 &asn_DEF_SIB_Mapping,
143 0, 0, /* No default value */
147 static const ber_tlv_tag_t asn_DEF_SchedulingInfo_tags_1[] = {
148 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
150 static const asn_TYPE_tag2member_t asn_MAP_SchedulingInfo_tag2el_1[] = {
151 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* si-BroadcastStatus */
152 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* si-Periodicity */
153 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* sib-MappingInfo */
155 asn_SEQUENCE_specifics_t asn_SPC_SchedulingInfo_specs_1 = {
156 sizeof(struct SchedulingInfo),
157 offsetof(struct SchedulingInfo, _asn_ctx),
158 asn_MAP_SchedulingInfo_tag2el_1,
159 3, /* Count of tags in the map */
160 0, 0, 0, /* Optional elements (not needed) */
161 -1, /* First extension addition */
163 asn_TYPE_descriptor_t asn_DEF_SchedulingInfo = {
167 asn_DEF_SchedulingInfo_tags_1,
168 sizeof(asn_DEF_SchedulingInfo_tags_1)
169 /sizeof(asn_DEF_SchedulingInfo_tags_1[0]), /* 1 */
170 asn_DEF_SchedulingInfo_tags_1, /* Same as above */
171 sizeof(asn_DEF_SchedulingInfo_tags_1)
172 /sizeof(asn_DEF_SchedulingInfo_tags_1[0]), /* 1 */
173 { 0, 0, SEQUENCE_constraint },
174 asn_MBR_SchedulingInfo_1,
175 3, /* Elements count */
176 &asn_SPC_SchedulingInfo_specs_1 /* Additional specs */