[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-423] Modified RRC asn structures
[o-du/l2.git] / src / codec_utils / RRC / BCCH-DL-SCH-MessageType.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "NR-RRC-Definitions"
4  *      found in "../../../rrc_15.3_asn.asn1"
5  *      `asn1c -D ./25_02_2022_RRC/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "BCCH-DL-SCH-MessageType.h"
9
10 #include "SystemInformation.h"
11 #include "SIB1.h"
12 static asn_oer_constraints_t asn_OER_type_c1_constr_2 CC_NOTUSED = {
13         { 0, 0 },
14         -1};
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 */
19 };
20 static asn_oer_constraints_t asn_OER_type_BCCH_DL_SCH_MessageType_constr_1 CC_NOTUSED = {
21         { 0, 0 },
22         -1};
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 */
27 };
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,
33                 0,
34                 { 0, 0, 0 },
35                 0, 0, /* No default value */
36                 "systemInformation"
37                 },
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 */
41                 &asn_DEF_SIB1,
42                 0,
43                 { 0, 0, 0 },
44                 0, 0, /* No default value */
45                 "systemInformationBlockType1"
46                 },
47 };
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 */
51 };
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),
57         asn_MAP_c1_tag2el_2,
58         2,      /* Count of tags in the map */
59         0, 0,
60         -1      /* Extensions start */
61 };
62 static /* Use -fall-defs-global to expose */
63 asn_TYPE_descriptor_t asn_DEF_c1_2 = {
64         "c1",
65         "c1",
66         &asn_OP_CHOICE,
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 },
72         asn_MBR_c1_2,
73         2,      /* Elements count */
74         &asn_SPC_c1_specs_2     /* Additional specs */
75 };
76
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))
80 };
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 */
88 };
89 static /* Use -fall-defs-global to expose */
90 asn_TYPE_descriptor_t asn_DEF_messageClassExtension_5 = {
91         "messageClassExtension",
92         "messageClassExtension",
93         &asn_OP_SEQUENCE,
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 */
103 };
104
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 */
109                 &asn_DEF_c1_2,
110                 0,
111                 { 0, 0, 0 },
112                 0, 0, /* No default value */
113                 "c1"
114                 },
115         { ATF_POINTER, 0, offsetof(struct BCCH_DL_SCH_MessageType, choice.messageClassExtension),
116                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
117                 0,
118                 &asn_DEF_messageClassExtension_5,
119                 0,
120                 { 0, 0, 0 },
121                 0, 0, /* No default value */
122                 "messageClassExtension"
123                 },
124 };
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 */
128 };
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 */
136         0, 0,
137         -1      /* Extensions start */
138 };
139 asn_TYPE_descriptor_t asn_DEF_BCCH_DL_SCH_MessageType = {
140         "BCCH-DL-SCH-MessageType",
141         "BCCH-DL-SCH-MessageType",
142         &asn_OP_CHOICE,
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 */
151 };
152