[Epic-ID: ODUHIGH-464][Task-ID: ODUHIGH-483] Memeory related fix in FDD and TDD mode
[o-du/l2.git] / src / codec_utils / RRC / SCellConfig.c
1 /*
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`
6  */
7
8 #include "SCellConfig.h"
9
10 #include "ServingCellConfigCommon.h"
11 #include "ServingCellConfig.h"
12 #include "SSB-MTC.h"
13 static asn_TYPE_member_t asn_MBR_ext1_6[] = {
14         { ATF_POINTER, 1, offsetof(struct SCellConfig__ext1, smtc),
15                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
16                 -1,     /* IMPLICIT tag at current level */
17                 &asn_DEF_SSB_MTC,
18                 0,
19                 { 0, 0, 0 },
20                 0, 0, /* No default value */
21                 "smtc"
22                 },
23 };
24 static const int asn_MAP_ext1_oms_6[] = { 0 };
25 static const ber_tlv_tag_t asn_DEF_ext1_tags_6[] = {
26         (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
27         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
28 };
29 static const asn_TYPE_tag2member_t asn_MAP_ext1_tag2el_6[] = {
30     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* smtc */
31 };
32 static asn_SEQUENCE_specifics_t asn_SPC_ext1_specs_6 = {
33         sizeof(struct SCellConfig__ext1),
34         offsetof(struct SCellConfig__ext1, _asn_ctx),
35         asn_MAP_ext1_tag2el_6,
36         1,      /* Count of tags in the map */
37         asn_MAP_ext1_oms_6,     /* Optional members */
38         1, 0,   /* Root/Additions */
39         -1,     /* First extension addition */
40 };
41 static /* Use -fall-defs-global to expose */
42 asn_TYPE_descriptor_t asn_DEF_ext1_6 = {
43         "ext1",
44         "ext1",
45         &asn_OP_SEQUENCE,
46         asn_DEF_ext1_tags_6,
47         sizeof(asn_DEF_ext1_tags_6)
48                 /sizeof(asn_DEF_ext1_tags_6[0]) - 1, /* 1 */
49         asn_DEF_ext1_tags_6,    /* Same as above */
50         sizeof(asn_DEF_ext1_tags_6)
51                 /sizeof(asn_DEF_ext1_tags_6[0]), /* 2 */
52         { 0, 0, SEQUENCE_constraint },
53         asn_MBR_ext1_6,
54         1,      /* Elements count */
55         &asn_SPC_ext1_specs_6   /* Additional specs */
56 };
57
58 asn_TYPE_member_t asn_MBR_SCellConfig_1[] = {
59         { ATF_NOFLAGS, 0, offsetof(struct SCellConfig, sCellIndex),
60                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
61                 -1,     /* IMPLICIT tag at current level */
62                 &asn_DEF_SCellIndexRrc,
63                 0,
64                 { 0, 0, 0 },
65                 0, 0, /* No default value */
66                 "sCellIndex"
67                 },
68         { ATF_POINTER, 3, offsetof(struct SCellConfig, sCellConfigCommon),
69                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
70                 -1,     /* IMPLICIT tag at current level */
71                 &asn_DEF_ServingCellConfigCommon,
72                 0,
73                 { 0, 0, 0 },
74                 0, 0, /* No default value */
75                 "sCellConfigCommon"
76                 },
77         { ATF_POINTER, 2, offsetof(struct SCellConfig, sCellConfigDedicated),
78                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
79                 -1,     /* IMPLICIT tag at current level */
80                 &asn_DEF_ServingCellConfig,
81                 0,
82                 { 0, 0, 0 },
83                 0, 0, /* No default value */
84                 "sCellConfigDedicated"
85                 },
86         { ATF_POINTER, 1, offsetof(struct SCellConfig, ext1),
87                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
88                 0,
89                 &asn_DEF_ext1_6,
90                 0,
91                 { 0, 0, 0 },
92                 0, 0, /* No default value */
93                 "ext1"
94                 },
95 };
96 static const int asn_MAP_SCellConfig_oms_1[] = { 1, 2, 3 };
97 static const ber_tlv_tag_t asn_DEF_SCellConfig_tags_1[] = {
98         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
99 };
100 static const asn_TYPE_tag2member_t asn_MAP_SCellConfig_tag2el_1[] = {
101     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sCellIndex */
102     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* sCellConfigCommon */
103     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* sCellConfigDedicated */
104     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* ext1 */
105 };
106 asn_SEQUENCE_specifics_t asn_SPC_SCellConfig_specs_1 = {
107         sizeof(struct SCellConfig),
108         offsetof(struct SCellConfig, _asn_ctx),
109         asn_MAP_SCellConfig_tag2el_1,
110         4,      /* Count of tags in the map */
111         asn_MAP_SCellConfig_oms_1,      /* Optional members */
112         2, 1,   /* Root/Additions */
113         3,      /* First extension addition */
114 };
115 asn_TYPE_descriptor_t asn_DEF_SCellConfig = {
116         "SCellConfig",
117         "SCellConfig",
118         &asn_OP_SEQUENCE,
119         asn_DEF_SCellConfig_tags_1,
120         sizeof(asn_DEF_SCellConfig_tags_1)
121                 /sizeof(asn_DEF_SCellConfig_tags_1[0]), /* 1 */
122         asn_DEF_SCellConfig_tags_1,     /* Same as above */
123         sizeof(asn_DEF_SCellConfig_tags_1)
124                 /sizeof(asn_DEF_SCellConfig_tags_1[0]), /* 1 */
125         { 0, 0, SEQUENCE_constraint },
126         asn_MBR_SCellConfig_1,
127         4,      /* Elements count */
128         &asn_SPC_SCellConfig_specs_1    /* Additional specs */
129 };
130