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 "UL-CCCH1-MessageType.h"
10 #include "RRCResumeRequest1.h"
11 static asn_oer_constraints_t asn_OER_type_c1_constr_2 CC_NOTUSED = {
14 static asn_per_constraints_t asn_PER_type_c1_constr_2 CC_NOTUSED = {
15 { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */,
16 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
17 0, 0 /* No PER value map */
19 static asn_oer_constraints_t asn_OER_type_UL_CCCH1_MessageType_constr_1 CC_NOTUSED = {
22 asn_per_constraints_t asn_PER_type_UL_CCCH1_MessageType_constr_1 CC_NOTUSED = {
23 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
24 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
25 0, 0 /* No PER value map */
27 static asn_TYPE_member_t asn_MBR_c1_2[] = {
28 { ATF_POINTER, 0, offsetof(struct UL_CCCH1_MessageType__c1, choice.rrcResumeRequest1),
29 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
30 -1, /* IMPLICIT tag at current level */
31 &asn_DEF_RRCResumeRequest1,
34 0, 0, /* No default value */
37 { ATF_NOFLAGS, 0, offsetof(struct UL_CCCH1_MessageType__c1, choice.spare3),
38 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
39 -1, /* IMPLICIT tag at current level */
43 0, 0, /* No default value */
46 { ATF_NOFLAGS, 0, offsetof(struct UL_CCCH1_MessageType__c1, choice.spare2),
47 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
48 -1, /* IMPLICIT tag at current level */
52 0, 0, /* No default value */
55 { ATF_NOFLAGS, 0, offsetof(struct UL_CCCH1_MessageType__c1, choice.spare1),
56 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
57 -1, /* IMPLICIT tag at current level */
61 0, 0, /* No default value */
65 static const asn_TYPE_tag2member_t asn_MAP_c1_tag2el_2[] = {
66 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrcResumeRequest1 */
67 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare3 */
68 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare2 */
69 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* spare1 */
71 static asn_CHOICE_specifics_t asn_SPC_c1_specs_2 = {
72 sizeof(struct UL_CCCH1_MessageType__c1),
73 offsetof(struct UL_CCCH1_MessageType__c1, _asn_ctx),
74 offsetof(struct UL_CCCH1_MessageType__c1, present),
75 sizeof(((struct UL_CCCH1_MessageType__c1 *)0)->present),
77 4, /* Count of tags in the map */
79 -1 /* Extensions start */
81 static /* Use -fall-defs-global to expose */
82 asn_TYPE_descriptor_t asn_DEF_c1_2 = {
86 0, /* No effective tags (pointer) */
87 0, /* No effective tags (count) */
88 0, /* No tags (pointer) */
89 0, /* No tags (count) */
90 { &asn_OER_type_c1_constr_2, &asn_PER_type_c1_constr_2, CHOICE_constraint },
92 4, /* Elements count */
93 &asn_SPC_c1_specs_2 /* Additional specs */
96 static const ber_tlv_tag_t asn_DEF_messageClassExtension_tags_7[] = {
97 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
98 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
100 static asn_SEQUENCE_specifics_t asn_SPC_messageClassExtension_specs_7 = {
101 sizeof(struct UL_CCCH1_MessageType__messageClassExtension),
102 offsetof(struct UL_CCCH1_MessageType__messageClassExtension, _asn_ctx),
103 0, /* No top level tags */
104 0, /* No tags in the map */
105 0, 0, 0, /* Optional elements (not needed) */
106 -1, /* First extension addition */
108 static /* Use -fall-defs-global to expose */
109 asn_TYPE_descriptor_t asn_DEF_messageClassExtension_7 = {
110 "messageClassExtension",
111 "messageClassExtension",
113 asn_DEF_messageClassExtension_tags_7,
114 sizeof(asn_DEF_messageClassExtension_tags_7)
115 /sizeof(asn_DEF_messageClassExtension_tags_7[0]) - 1, /* 1 */
116 asn_DEF_messageClassExtension_tags_7, /* Same as above */
117 sizeof(asn_DEF_messageClassExtension_tags_7)
118 /sizeof(asn_DEF_messageClassExtension_tags_7[0]), /* 2 */
119 { 0, 0, SEQUENCE_constraint },
120 0, 0, /* No members */
121 &asn_SPC_messageClassExtension_specs_7 /* Additional specs */
124 asn_TYPE_member_t asn_MBR_UL_CCCH1_MessageType_1[] = {
125 { ATF_POINTER, 0, offsetof(struct UL_CCCH1_MessageType, choice.c1),
126 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
127 +1, /* EXPLICIT tag at current level */
131 0, 0, /* No default value */
134 { ATF_POINTER, 0, offsetof(struct UL_CCCH1_MessageType, choice.messageClassExtension),
135 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
137 &asn_DEF_messageClassExtension_7,
140 0, 0, /* No default value */
141 "messageClassExtension"
144 static const asn_TYPE_tag2member_t asn_MAP_UL_CCCH1_MessageType_tag2el_1[] = {
145 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 */
146 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* messageClassExtension */
148 asn_CHOICE_specifics_t asn_SPC_UL_CCCH1_MessageType_specs_1 = {
149 sizeof(struct UL_CCCH1_MessageType),
150 offsetof(struct UL_CCCH1_MessageType, _asn_ctx),
151 offsetof(struct UL_CCCH1_MessageType, present),
152 sizeof(((struct UL_CCCH1_MessageType *)0)->present),
153 asn_MAP_UL_CCCH1_MessageType_tag2el_1,
154 2, /* Count of tags in the map */
156 -1 /* Extensions start */
158 asn_TYPE_descriptor_t asn_DEF_UL_CCCH1_MessageType = {
159 "UL-CCCH1-MessageType",
160 "UL-CCCH1-MessageType",
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_UL_CCCH1_MessageType_constr_1, &asn_PER_type_UL_CCCH1_MessageType_constr_1, CHOICE_constraint },
167 asn_MBR_UL_CCCH1_MessageType_1,
168 2, /* Elements count */
169 &asn_SPC_UL_CCCH1_MessageType_specs_1 /* Additional specs */