[Epic-ID: ODUHIGH-406][Task-ID: ODUHIGH-441]: Update name of Paging RRC Codec
[o-du/l2.git] / src / codec_utils / RRC / BCCH-BCH-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 "./22April22_Paging/rrc_15.3_asn.asn1"
5  *      `asn1c -D ./22April22_Paging -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "BCCH-BCH-MessageType.h"
9
10 #include "MIB.h"
11 static asn_oer_constraints_t asn_OER_type_BCCH_BCH_MessageType_constr_1 CC_NOTUSED = {
12         { 0, 0 },
13         -1};
14 asn_per_constraints_t asn_PER_type_BCCH_BCH_MessageType_constr_1 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 */
18 };
19 static const ber_tlv_tag_t asn_DEF_messageClassExtension_tags_3[] = {
20         (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
21         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
22 };
23 static asn_SEQUENCE_specifics_t asn_SPC_messageClassExtension_specs_3 = {
24         sizeof(struct BCCH_BCH_MessageType__messageClassExtension),
25         offsetof(struct BCCH_BCH_MessageType__messageClassExtension, _asn_ctx),
26         0,      /* No top level tags */
27         0,      /* No tags in the map */
28         0, 0, 0,        /* Optional elements (not needed) */
29         -1,     /* First extension addition */
30 };
31 static /* Use -fall-defs-global to expose */
32 asn_TYPE_descriptor_t asn_DEF_messageClassExtension_3 = {
33         "messageClassExtension",
34         "messageClassExtension",
35         &asn_OP_SEQUENCE,
36         asn_DEF_messageClassExtension_tags_3,
37         sizeof(asn_DEF_messageClassExtension_tags_3)
38                 /sizeof(asn_DEF_messageClassExtension_tags_3[0]) - 1, /* 1 */
39         asn_DEF_messageClassExtension_tags_3,   /* Same as above */
40         sizeof(asn_DEF_messageClassExtension_tags_3)
41                 /sizeof(asn_DEF_messageClassExtension_tags_3[0]), /* 2 */
42         { 0, 0, SEQUENCE_constraint },
43         0, 0,   /* No members */
44         &asn_SPC_messageClassExtension_specs_3  /* Additional specs */
45 };
46
47 asn_TYPE_member_t asn_MBR_BCCH_BCH_MessageType_1[] = {
48         { ATF_POINTER, 0, offsetof(struct BCCH_BCH_MessageType, choice.mib),
49                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
50                 -1,     /* IMPLICIT tag at current level */
51                 &asn_DEF_MIB,
52                 0,
53                 { 0, 0, 0 },
54                 0, 0, /* No default value */
55                 "mib"
56                 },
57         { ATF_POINTER, 0, offsetof(struct BCCH_BCH_MessageType, choice.messageClassExtension),
58                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
59                 0,
60                 &asn_DEF_messageClassExtension_3,
61                 0,
62                 { 0, 0, 0 },
63                 0, 0, /* No default value */
64                 "messageClassExtension"
65                 },
66 };
67 static const asn_TYPE_tag2member_t asn_MAP_BCCH_BCH_MessageType_tag2el_1[] = {
68     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* mib */
69     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* messageClassExtension */
70 };
71 asn_CHOICE_specifics_t asn_SPC_BCCH_BCH_MessageType_specs_1 = {
72         sizeof(struct BCCH_BCH_MessageType),
73         offsetof(struct BCCH_BCH_MessageType, _asn_ctx),
74         offsetof(struct BCCH_BCH_MessageType, present),
75         sizeof(((struct BCCH_BCH_MessageType *)0)->present),
76         asn_MAP_BCCH_BCH_MessageType_tag2el_1,
77         2,      /* Count of tags in the map */
78         0, 0,
79         -1      /* Extensions start */
80 };
81 asn_TYPE_descriptor_t asn_DEF_BCCH_BCH_MessageType = {
82         "BCCH-BCH-MessageType",
83         "BCCH-BCH-MessageType",
84         &asn_OP_CHOICE,
85         0,      /* No effective tags (pointer) */
86         0,      /* No effective tags (count) */
87         0,      /* No tags (pointer) */
88         0,      /* No tags (count) */
89         { &asn_OER_type_BCCH_BCH_MessageType_constr_1, &asn_PER_type_BCCH_BCH_MessageType_constr_1, CHOICE_constraint },
90         asn_MBR_BCCH_BCH_MessageType_1,
91         2,      /* Elements count */
92         &asn_SPC_BCCH_BCH_MessageType_specs_1   /* Additional specs */
93 };
94