Merge "Cell down alarm notification [Issue-Id: ODUHIGH-430]"
[o-du/l2.git] / src / codec_utils / RRC / PDCCH-ServingCellConfig.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 "PDCCH-ServingCellConfig.h"
9
10 #include "SlotFormatIndicator.h"
11 static asn_oer_constraints_t asn_OER_type_slotFormatIndicator_constr_2 CC_NOTUSED = {
12         { 0, 0 },
13         -1};
14 static asn_per_constraints_t asn_PER_type_slotFormatIndicator_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 */
18 };
19 static asn_TYPE_member_t asn_MBR_slotFormatIndicator_2[] = {
20         { ATF_NOFLAGS, 0, offsetof(struct PDCCH_ServingCellConfig__slotFormatIndicator, choice.release),
21                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
22                 -1,     /* IMPLICIT tag at current level */
23                 &asn_DEF_NULL,
24                 0,
25                 { 0, 0, 0 },
26                 0, 0, /* No default value */
27                 "release"
28                 },
29         { ATF_POINTER, 0, offsetof(struct PDCCH_ServingCellConfig__slotFormatIndicator, choice.setup),
30                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
31                 -1,     /* IMPLICIT tag at current level */
32                 &asn_DEF_SlotFormatIndicator,
33                 0,
34                 { 0, 0, 0 },
35                 0, 0, /* No default value */
36                 "setup"
37                 },
38 };
39 static const asn_TYPE_tag2member_t asn_MAP_slotFormatIndicator_tag2el_2[] = {
40     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release */
41     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup */
42 };
43 static asn_CHOICE_specifics_t asn_SPC_slotFormatIndicator_specs_2 = {
44         sizeof(struct PDCCH_ServingCellConfig__slotFormatIndicator),
45         offsetof(struct PDCCH_ServingCellConfig__slotFormatIndicator, _asn_ctx),
46         offsetof(struct PDCCH_ServingCellConfig__slotFormatIndicator, present),
47         sizeof(((struct PDCCH_ServingCellConfig__slotFormatIndicator *)0)->present),
48         asn_MAP_slotFormatIndicator_tag2el_2,
49         2,      /* Count of tags in the map */
50         0, 0,
51         -1      /* Extensions start */
52 };
53 static /* Use -fall-defs-global to expose */
54 asn_TYPE_descriptor_t asn_DEF_slotFormatIndicator_2 = {
55         "slotFormatIndicator",
56         "slotFormatIndicator",
57         &asn_OP_CHOICE,
58         0,      /* No effective tags (pointer) */
59         0,      /* No effective tags (count) */
60         0,      /* No tags (pointer) */
61         0,      /* No tags (count) */
62         { &asn_OER_type_slotFormatIndicator_constr_2, &asn_PER_type_slotFormatIndicator_constr_2, CHOICE_constraint },
63         asn_MBR_slotFormatIndicator_2,
64         2,      /* Elements count */
65         &asn_SPC_slotFormatIndicator_specs_2    /* Additional specs */
66 };
67
68 asn_TYPE_member_t asn_MBR_PDCCH_ServingCellConfig_1[] = {
69         { ATF_POINTER, 1, offsetof(struct PDCCH_ServingCellConfig, slotFormatIndicator),
70                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
71                 +1,     /* EXPLICIT tag at current level */
72                 &asn_DEF_slotFormatIndicator_2,
73                 0,
74                 { 0, 0, 0 },
75                 0, 0, /* No default value */
76                 "slotFormatIndicator"
77                 },
78 };
79 static const int asn_MAP_PDCCH_ServingCellConfig_oms_1[] = { 0 };
80 static const ber_tlv_tag_t asn_DEF_PDCCH_ServingCellConfig_tags_1[] = {
81         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
82 };
83 static const asn_TYPE_tag2member_t asn_MAP_PDCCH_ServingCellConfig_tag2el_1[] = {
84     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* slotFormatIndicator */
85 };
86 asn_SEQUENCE_specifics_t asn_SPC_PDCCH_ServingCellConfig_specs_1 = {
87         sizeof(struct PDCCH_ServingCellConfig),
88         offsetof(struct PDCCH_ServingCellConfig, _asn_ctx),
89         asn_MAP_PDCCH_ServingCellConfig_tag2el_1,
90         1,      /* Count of tags in the map */
91         asn_MAP_PDCCH_ServingCellConfig_oms_1,  /* Optional members */
92         1, 0,   /* Root/Additions */
93         1,      /* First extension addition */
94 };
95 asn_TYPE_descriptor_t asn_DEF_PDCCH_ServingCellConfig = {
96         "PDCCH-ServingCellConfig",
97         "PDCCH-ServingCellConfig",
98         &asn_OP_SEQUENCE,
99         asn_DEF_PDCCH_ServingCellConfig_tags_1,
100         sizeof(asn_DEF_PDCCH_ServingCellConfig_tags_1)
101                 /sizeof(asn_DEF_PDCCH_ServingCellConfig_tags_1[0]), /* 1 */
102         asn_DEF_PDCCH_ServingCellConfig_tags_1, /* Same as above */
103         sizeof(asn_DEF_PDCCH_ServingCellConfig_tags_1)
104                 /sizeof(asn_DEF_PDCCH_ServingCellConfig_tags_1[0]), /* 1 */
105         { 0, 0, SEQUENCE_constraint },
106         asn_MBR_PDCCH_ServingCellConfig_1,
107         1,      /* Elements count */
108         &asn_SPC_PDCCH_ServingCellConfig_specs_1        /* Additional specs */
109 };
110