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 "FeatureSet.h"
10 static asn_oer_constraints_t asn_OER_type_FeatureSet_constr_1 CC_NOTUSED = {
13 asn_per_constraints_t asn_PER_type_FeatureSet_constr_1 CC_NOTUSED = {
14 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
15 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
16 0, 0 /* No PER value map */
18 static asn_TYPE_member_t asn_MBR_eutra_2[] = {
19 { ATF_NOFLAGS, 0, offsetof(struct FeatureSet__eutra, downlinkSetEUTRA),
20 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
21 -1, /* IMPLICIT tag at current level */
22 &asn_DEF_FeatureSetEUTRA_DownlinkId,
25 0, 0, /* No default value */
28 { ATF_NOFLAGS, 0, offsetof(struct FeatureSet__eutra, uplinkSetEUTRA),
29 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
30 -1, /* IMPLICIT tag at current level */
31 &asn_DEF_FeatureSetEUTRA_UplinkId,
34 0, 0, /* No default value */
38 static const ber_tlv_tag_t asn_DEF_eutra_tags_2[] = {
39 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
40 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
42 static const asn_TYPE_tag2member_t asn_MAP_eutra_tag2el_2[] = {
43 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* downlinkSetEUTRA */
44 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* uplinkSetEUTRA */
46 static asn_SEQUENCE_specifics_t asn_SPC_eutra_specs_2 = {
47 sizeof(struct FeatureSet__eutra),
48 offsetof(struct FeatureSet__eutra, _asn_ctx),
49 asn_MAP_eutra_tag2el_2,
50 2, /* Count of tags in the map */
51 0, 0, 0, /* Optional elements (not needed) */
52 -1, /* First extension addition */
54 static /* Use -fall-defs-global to expose */
55 asn_TYPE_descriptor_t asn_DEF_eutra_2 = {
60 sizeof(asn_DEF_eutra_tags_2)
61 /sizeof(asn_DEF_eutra_tags_2[0]) - 1, /* 1 */
62 asn_DEF_eutra_tags_2, /* Same as above */
63 sizeof(asn_DEF_eutra_tags_2)
64 /sizeof(asn_DEF_eutra_tags_2[0]), /* 2 */
65 { 0, 0, SEQUENCE_constraint },
67 2, /* Elements count */
68 &asn_SPC_eutra_specs_2 /* Additional specs */
71 static asn_TYPE_member_t asn_MBR_nr_5[] = {
72 { ATF_NOFLAGS, 0, offsetof(struct FeatureSet__nr, downlinkSetNR),
73 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
74 -1, /* IMPLICIT tag at current level */
75 &asn_DEF_FeatureSetDownlinkId,
78 0, 0, /* No default value */
81 { ATF_NOFLAGS, 0, offsetof(struct FeatureSet__nr, uplinkSetNR),
82 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
83 -1, /* IMPLICIT tag at current level */
84 &asn_DEF_FeatureSetUplinkId,
87 0, 0, /* No default value */
91 static const ber_tlv_tag_t asn_DEF_nr_tags_5[] = {
92 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
93 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
95 static const asn_TYPE_tag2member_t asn_MAP_nr_tag2el_5[] = {
96 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* downlinkSetNR */
97 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* uplinkSetNR */
99 static asn_SEQUENCE_specifics_t asn_SPC_nr_specs_5 = {
100 sizeof(struct FeatureSet__nr),
101 offsetof(struct FeatureSet__nr, _asn_ctx),
103 2, /* Count of tags in the map */
104 0, 0, 0, /* Optional elements (not needed) */
105 -1, /* First extension addition */
107 static /* Use -fall-defs-global to expose */
108 asn_TYPE_descriptor_t asn_DEF_nr_5 = {
113 sizeof(asn_DEF_nr_tags_5)
114 /sizeof(asn_DEF_nr_tags_5[0]) - 1, /* 1 */
115 asn_DEF_nr_tags_5, /* Same as above */
116 sizeof(asn_DEF_nr_tags_5)
117 /sizeof(asn_DEF_nr_tags_5[0]), /* 2 */
118 { 0, 0, SEQUENCE_constraint },
120 2, /* Elements count */
121 &asn_SPC_nr_specs_5 /* Additional specs */
124 asn_TYPE_member_t asn_MBR_FeatureSet_1[] = {
125 { ATF_POINTER, 0, offsetof(struct FeatureSet, choice.eutra),
126 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
131 0, 0, /* No default value */
134 { ATF_POINTER, 0, offsetof(struct FeatureSet, choice.nr),
135 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
140 0, 0, /* No default value */
144 static const asn_TYPE_tag2member_t asn_MAP_FeatureSet_tag2el_1[] = {
145 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* eutra */
146 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nr */
148 asn_CHOICE_specifics_t asn_SPC_FeatureSet_specs_1 = {
149 sizeof(struct FeatureSet),
150 offsetof(struct FeatureSet, _asn_ctx),
151 offsetof(struct FeatureSet, present),
152 sizeof(((struct FeatureSet *)0)->present),
153 asn_MAP_FeatureSet_tag2el_1,
154 2, /* Count of tags in the map */
156 -1 /* Extensions start */
158 asn_TYPE_descriptor_t asn_DEF_FeatureSet = {
162 0, /* No effective tags (pointer) */
163 0, /* No effective tags (count) */
164 0, /* No tags (pointer) */
165 0, /* No tags (count) */
166 { &asn_OER_type_FeatureSet_constr_1, &asn_PER_type_FeatureSet_constr_1, CHOICE_constraint },
167 asn_MBR_FeatureSet_1,
168 2, /* Elements count */
169 &asn_SPC_FeatureSet_specs_1 /* Additional specs */