2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
4 * found in "../../../rrc_15.5.1_asn.asn1"
5 * `asn1c -D ./rrc_out_hlal -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
8 #include "DL-CCCH-MessageType.h"
10 #include "RRCReject.h"
12 static asn_oer_constraints_t asn_OER_type_c1_constr_2 CC_NOTUSED = {
15 static asn_per_constraints_t asn_PER_type_c1_constr_2 CC_NOTUSED = {
16 { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */,
17 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
18 0, 0 /* No PER value map */
20 static asn_oer_constraints_t asn_OER_type_DL_CCCH_MessageType_constr_1 CC_NOTUSED = {
23 asn_per_constraints_t asn_PER_type_DL_CCCH_MessageType_constr_1 CC_NOTUSED = {
24 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
25 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
26 0, 0 /* No PER value map */
28 static asn_TYPE_member_t asn_MBR_c1_2[] = {
29 { ATF_POINTER, 0, offsetof(struct DL_CCCH_MessageType__c1, choice.rrcReject),
30 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
31 -1, /* IMPLICIT tag at current level */
35 0, 0, /* No default value */
38 { ATF_POINTER, 0, offsetof(struct DL_CCCH_MessageType__c1, choice.rrcSetup),
39 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
40 -1, /* IMPLICIT tag at current level */
44 0, 0, /* No default value */
47 { ATF_NOFLAGS, 0, offsetof(struct DL_CCCH_MessageType__c1, choice.spare2),
48 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
49 -1, /* IMPLICIT tag at current level */
53 0, 0, /* No default value */
56 { ATF_NOFLAGS, 0, offsetof(struct DL_CCCH_MessageType__c1, choice.spare1),
57 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
58 -1, /* IMPLICIT tag at current level */
62 0, 0, /* No default value */
66 static const asn_TYPE_tag2member_t asn_MAP_c1_tag2el_2[] = {
67 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrcReject */
68 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* rrcSetup */
69 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare2 */
70 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* spare1 */
72 static asn_CHOICE_specifics_t asn_SPC_c1_specs_2 = {
73 sizeof(struct DL_CCCH_MessageType__c1),
74 offsetof(struct DL_CCCH_MessageType__c1, _asn_ctx),
75 offsetof(struct DL_CCCH_MessageType__c1, present),
76 sizeof(((struct DL_CCCH_MessageType__c1 *)0)->present),
78 4, /* Count of tags in the map */
80 -1 /* Extensions start */
82 static /* Use -fall-defs-global to expose */
83 asn_TYPE_descriptor_t asn_DEF_c1_2 = {
87 0, /* No effective tags (pointer) */
88 0, /* No effective tags (count) */
89 0, /* No tags (pointer) */
90 0, /* No tags (count) */
91 { &asn_OER_type_c1_constr_2, &asn_PER_type_c1_constr_2, CHOICE_constraint },
93 4, /* Elements count */
94 &asn_SPC_c1_specs_2 /* Additional specs */
97 static const ber_tlv_tag_t asn_DEF_messageClassExtension_tags_7[] = {
98 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
99 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
101 static asn_SEQUENCE_specifics_t asn_SPC_messageClassExtension_specs_7 = {
102 sizeof(struct DL_CCCH_MessageType__messageClassExtension),
103 offsetof(struct DL_CCCH_MessageType__messageClassExtension, _asn_ctx),
104 0, /* No top level tags */
105 0, /* No tags in the map */
106 0, 0, 0, /* Optional elements (not needed) */
107 -1, /* First extension addition */
109 static /* Use -fall-defs-global to expose */
110 asn_TYPE_descriptor_t asn_DEF_messageClassExtension_7 = {
111 "messageClassExtension",
112 "messageClassExtension",
114 asn_DEF_messageClassExtension_tags_7,
115 sizeof(asn_DEF_messageClassExtension_tags_7)
116 /sizeof(asn_DEF_messageClassExtension_tags_7[0]) - 1, /* 1 */
117 asn_DEF_messageClassExtension_tags_7, /* Same as above */
118 sizeof(asn_DEF_messageClassExtension_tags_7)
119 /sizeof(asn_DEF_messageClassExtension_tags_7[0]), /* 2 */
120 { 0, 0, SEQUENCE_constraint },
121 0, 0, /* No members */
122 &asn_SPC_messageClassExtension_specs_7 /* Additional specs */
125 asn_TYPE_member_t asn_MBR_DL_CCCH_MessageType_1[] = {
126 { ATF_POINTER, 0, offsetof(struct DL_CCCH_MessageType, choice.c1),
127 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
128 +1, /* EXPLICIT tag at current level */
132 0, 0, /* No default value */
135 { ATF_POINTER, 0, offsetof(struct DL_CCCH_MessageType, choice.messageClassExtension),
136 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
138 &asn_DEF_messageClassExtension_7,
141 0, 0, /* No default value */
142 "messageClassExtension"
145 static const asn_TYPE_tag2member_t asn_MAP_DL_CCCH_MessageType_tag2el_1[] = {
146 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 */
147 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* messageClassExtension */
149 asn_CHOICE_specifics_t asn_SPC_DL_CCCH_MessageType_specs_1 = {
150 sizeof(struct DL_CCCH_MessageType),
151 offsetof(struct DL_CCCH_MessageType, _asn_ctx),
152 offsetof(struct DL_CCCH_MessageType, present),
153 sizeof(((struct DL_CCCH_MessageType *)0)->present),
154 asn_MAP_DL_CCCH_MessageType_tag2el_1,
155 2, /* Count of tags in the map */
157 -1 /* Extensions start */
159 asn_TYPE_descriptor_t asn_DEF_DL_CCCH_MessageType = {
160 "DL-CCCH-MessageType",
161 "DL-CCCH-MessageType",
163 0, /* No effective tags (pointer) */
164 0, /* No effective tags (count) */
165 0, /* No tags (pointer) */
166 0, /* No tags (count) */
167 { &asn_OER_type_DL_CCCH_MessageType_constr_1, &asn_PER_type_DL_CCCH_MessageType_constr_1, CHOICE_constraint },
168 asn_MBR_DL_CCCH_MessageType_1,
169 2, /* Elements count */
170 &asn_SPC_DL_CCCH_MessageType_specs_1 /* Additional specs */