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 "PCCH-MessageType.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, 1, 1, 0, 1 } /* (0..1) */,
16 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
17 0, 0 /* No PER value map */
19 static asn_oer_constraints_t asn_OER_type_PCCH_MessageType_constr_1 CC_NOTUSED = {
22 asn_per_constraints_t asn_PER_type_PCCH_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 PCCH_MessageType__c1, choice.paging),
29 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
30 -1, /* IMPLICIT tag at current level */
34 0, 0, /* No default value */
37 { ATF_NOFLAGS, 0, offsetof(struct PCCH_MessageType__c1, choice.spare1),
38 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
39 -1, /* IMPLICIT tag at current level */
43 0, 0, /* No default value */
47 static const asn_TYPE_tag2member_t asn_MAP_c1_tag2el_2[] = {
48 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* paging */
49 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* spare1 */
51 static asn_CHOICE_specifics_t asn_SPC_c1_specs_2 = {
52 sizeof(struct PCCH_MessageType__c1),
53 offsetof(struct PCCH_MessageType__c1, _asn_ctx),
54 offsetof(struct PCCH_MessageType__c1, present),
55 sizeof(((struct PCCH_MessageType__c1 *)0)->present),
57 2, /* Count of tags in the map */
59 -1 /* Extensions start */
61 static /* Use -fall-defs-global to expose */
62 asn_TYPE_descriptor_t asn_DEF_c1_2 = {
66 0, /* No effective tags (pointer) */
67 0, /* No effective tags (count) */
68 0, /* No tags (pointer) */
69 0, /* No tags (count) */
70 { &asn_OER_type_c1_constr_2, &asn_PER_type_c1_constr_2, CHOICE_constraint },
72 2, /* Elements count */
73 &asn_SPC_c1_specs_2 /* Additional specs */
76 static const ber_tlv_tag_t asn_DEF_messageClassExtension_tags_5[] = {
77 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
78 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
80 static asn_SEQUENCE_specifics_t asn_SPC_messageClassExtension_specs_5 = {
81 sizeof(struct PCCH_MessageType__messageClassExtension),
82 offsetof(struct PCCH_MessageType__messageClassExtension, _asn_ctx),
83 0, /* No top level tags */
84 0, /* No tags in the map */
85 0, 0, 0, /* Optional elements (not needed) */
86 -1, /* First extension addition */
88 static /* Use -fall-defs-global to expose */
89 asn_TYPE_descriptor_t asn_DEF_messageClassExtension_5 = {
90 "messageClassExtension",
91 "messageClassExtension",
93 asn_DEF_messageClassExtension_tags_5,
94 sizeof(asn_DEF_messageClassExtension_tags_5)
95 /sizeof(asn_DEF_messageClassExtension_tags_5[0]) - 1, /* 1 */
96 asn_DEF_messageClassExtension_tags_5, /* Same as above */
97 sizeof(asn_DEF_messageClassExtension_tags_5)
98 /sizeof(asn_DEF_messageClassExtension_tags_5[0]), /* 2 */
99 { 0, 0, SEQUENCE_constraint },
100 0, 0, /* No members */
101 &asn_SPC_messageClassExtension_specs_5 /* Additional specs */
104 asn_TYPE_member_t asn_MBR_PCCH_MessageType_1[] = {
105 { ATF_POINTER, 0, offsetof(struct PCCH_MessageType, choice.c1),
106 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
107 +1, /* EXPLICIT tag at current level */
111 0, 0, /* No default value */
114 { ATF_POINTER, 0, offsetof(struct PCCH_MessageType, choice.messageClassExtension),
115 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
117 &asn_DEF_messageClassExtension_5,
120 0, 0, /* No default value */
121 "messageClassExtension"
124 static const asn_TYPE_tag2member_t asn_MAP_PCCH_MessageType_tag2el_1[] = {
125 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 */
126 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* messageClassExtension */
128 asn_CHOICE_specifics_t asn_SPC_PCCH_MessageType_specs_1 = {
129 sizeof(struct PCCH_MessageType),
130 offsetof(struct PCCH_MessageType, _asn_ctx),
131 offsetof(struct PCCH_MessageType, present),
132 sizeof(((struct PCCH_MessageType *)0)->present),
133 asn_MAP_PCCH_MessageType_tag2el_1,
134 2, /* Count of tags in the map */
136 -1 /* Extensions start */
138 asn_TYPE_descriptor_t asn_DEF_PCCH_MessageType = {
142 0, /* No effective tags (pointer) */
143 0, /* No effective tags (count) */
144 0, /* No tags (pointer) */
145 0, /* No tags (count) */
146 { &asn_OER_type_PCCH_MessageType_constr_1, &asn_PER_type_PCCH_MessageType_constr_1, CHOICE_constraint },
147 asn_MBR_PCCH_MessageType_1,
148 2, /* Elements count */
149 &asn_SPC_PCCH_MessageType_specs_1 /* Additional specs */