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 "BCCH-DL-SCH-MessageType.h"
10 #include "SystemInformation.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, 1, 1, 0, 1 } /* (0..1) */,
17 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
18 0, 0 /* No PER value map */
20 static asn_oer_constraints_t asn_OER_type_BCCH_DL_SCH_MessageType_constr_1 CC_NOTUSED = {
23 asn_per_constraints_t asn_PER_type_BCCH_DL_SCH_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 BCCH_DL_SCH_MessageType__c1, choice.systemInformation),
30 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
31 -1, /* IMPLICIT tag at current level */
32 &asn_DEF_SystemInformation,
35 0, 0, /* No default value */
38 { ATF_POINTER, 0, offsetof(struct BCCH_DL_SCH_MessageType__c1, choice.systemInformationBlockType1),
39 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
40 -1, /* IMPLICIT tag at current level */
44 0, 0, /* No default value */
45 "systemInformationBlockType1"
48 static const asn_TYPE_tag2member_t asn_MAP_c1_tag2el_2[] = {
49 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* systemInformation */
50 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* systemInformationBlockType1 */
52 static asn_CHOICE_specifics_t asn_SPC_c1_specs_2 = {
53 sizeof(struct BCCH_DL_SCH_MessageType__c1),
54 offsetof(struct BCCH_DL_SCH_MessageType__c1, _asn_ctx),
55 offsetof(struct BCCH_DL_SCH_MessageType__c1, present),
56 sizeof(((struct BCCH_DL_SCH_MessageType__c1 *)0)->present),
58 2, /* Count of tags in the map */
60 -1 /* Extensions start */
62 static /* Use -fall-defs-global to expose */
63 asn_TYPE_descriptor_t asn_DEF_c1_2 = {
67 0, /* No effective tags (pointer) */
68 0, /* No effective tags (count) */
69 0, /* No tags (pointer) */
70 0, /* No tags (count) */
71 { &asn_OER_type_c1_constr_2, &asn_PER_type_c1_constr_2, CHOICE_constraint },
73 2, /* Elements count */
74 &asn_SPC_c1_specs_2 /* Additional specs */
77 static const ber_tlv_tag_t asn_DEF_messageClassExtension_tags_5[] = {
78 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
79 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
81 static asn_SEQUENCE_specifics_t asn_SPC_messageClassExtension_specs_5 = {
82 sizeof(struct BCCH_DL_SCH_MessageType__messageClassExtension),
83 offsetof(struct BCCH_DL_SCH_MessageType__messageClassExtension, _asn_ctx),
84 0, /* No top level tags */
85 0, /* No tags in the map */
86 0, 0, 0, /* Optional elements (not needed) */
87 -1, /* First extension addition */
89 static /* Use -fall-defs-global to expose */
90 asn_TYPE_descriptor_t asn_DEF_messageClassExtension_5 = {
91 "messageClassExtension",
92 "messageClassExtension",
94 asn_DEF_messageClassExtension_tags_5,
95 sizeof(asn_DEF_messageClassExtension_tags_5)
96 /sizeof(asn_DEF_messageClassExtension_tags_5[0]) - 1, /* 1 */
97 asn_DEF_messageClassExtension_tags_5, /* Same as above */
98 sizeof(asn_DEF_messageClassExtension_tags_5)
99 /sizeof(asn_DEF_messageClassExtension_tags_5[0]), /* 2 */
100 { 0, 0, SEQUENCE_constraint },
101 0, 0, /* No members */
102 &asn_SPC_messageClassExtension_specs_5 /* Additional specs */
105 asn_TYPE_member_t asn_MBR_BCCH_DL_SCH_MessageType_1[] = {
106 { ATF_POINTER, 0, offsetof(struct BCCH_DL_SCH_MessageType, choice.c1),
107 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
108 +1, /* EXPLICIT tag at current level */
112 0, 0, /* No default value */
115 { ATF_POINTER, 0, offsetof(struct BCCH_DL_SCH_MessageType, choice.messageClassExtension),
116 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
118 &asn_DEF_messageClassExtension_5,
121 0, 0, /* No default value */
122 "messageClassExtension"
125 static const asn_TYPE_tag2member_t asn_MAP_BCCH_DL_SCH_MessageType_tag2el_1[] = {
126 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 */
127 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* messageClassExtension */
129 asn_CHOICE_specifics_t asn_SPC_BCCH_DL_SCH_MessageType_specs_1 = {
130 sizeof(struct BCCH_DL_SCH_MessageType),
131 offsetof(struct BCCH_DL_SCH_MessageType, _asn_ctx),
132 offsetof(struct BCCH_DL_SCH_MessageType, present),
133 sizeof(((struct BCCH_DL_SCH_MessageType *)0)->present),
134 asn_MAP_BCCH_DL_SCH_MessageType_tag2el_1,
135 2, /* Count of tags in the map */
137 -1 /* Extensions start */
139 asn_TYPE_descriptor_t asn_DEF_BCCH_DL_SCH_MessageType = {
140 "BCCH-DL-SCH-MessageType",
141 "BCCH-DL-SCH-MessageType",
143 0, /* No effective tags (pointer) */
144 0, /* No effective tags (count) */
145 0, /* No tags (pointer) */
146 0, /* No tags (count) */
147 { &asn_OER_type_BCCH_DL_SCH_MessageType_constr_1, &asn_PER_type_BCCH_DL_SCH_MessageType_constr_1, CHOICE_constraint },
148 asn_MBR_BCCH_DL_SCH_MessageType_1,
149 2, /* Elements count */
150 &asn_SPC_BCCH_DL_SCH_MessageType_specs_1 /* Additional specs */