[Epic-ID: ODUHIGH-406][Task-ID: ODUHIGH-423]Fix for incorrect access of schCb instance
[o-du/l2.git] / src / codec_utils / RRC / HandoverPreparationInformationRrc-IEs.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "NR-InterNodeDefinitions"
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 "HandoverPreparationInformationRrc-IEs.h"
9
10 #include "AS-Config.h"
11 #include "RRM-Config.h"
12 #include "AS-Context.h"
13 static const ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_6[] = {
14         (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
15         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
16 };
17 static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_6 = {
18         sizeof(struct HandoverPreparationInformationRrc_IEs__nonCriticalExtension),
19         offsetof(struct HandoverPreparationInformationRrc_IEs__nonCriticalExtension, _asn_ctx),
20         0,      /* No top level tags */
21         0,      /* No tags in the map */
22         0, 0, 0,        /* Optional elements (not needed) */
23         -1,     /* First extension addition */
24 };
25 static /* Use -fall-defs-global to expose */
26 asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_6 = {
27         "nonCriticalExtension",
28         "nonCriticalExtension",
29         &asn_OP_SEQUENCE,
30         asn_DEF_nonCriticalExtension_tags_6,
31         sizeof(asn_DEF_nonCriticalExtension_tags_6)
32                 /sizeof(asn_DEF_nonCriticalExtension_tags_6[0]) - 1, /* 1 */
33         asn_DEF_nonCriticalExtension_tags_6,    /* Same as above */
34         sizeof(asn_DEF_nonCriticalExtension_tags_6)
35                 /sizeof(asn_DEF_nonCriticalExtension_tags_6[0]), /* 2 */
36         { 0, 0, SEQUENCE_constraint },
37         0, 0,   /* No members */
38         &asn_SPC_nonCriticalExtension_specs_6   /* Additional specs */
39 };
40
41 asn_TYPE_member_t asn_MBR_HandoverPreparationInformationRrc_IEs_1[] = {
42         { ATF_NOFLAGS, 0, offsetof(struct HandoverPreparationInformationRrc_IEs, ue_CapabilityRAT_List),
43                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
44                 -1,     /* IMPLICIT tag at current level */
45                 &asn_DEF_UE_CapabilityRAT_ContainerListRRC,
46                 0,
47                 { 0, 0, 0 },
48                 0, 0, /* No default value */
49                 "ue-CapabilityRAT-List"
50                 },
51         { ATF_POINTER, 4, offsetof(struct HandoverPreparationInformationRrc_IEs, sourceConfig),
52                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
53                 -1,     /* IMPLICIT tag at current level */
54                 &asn_DEF_AS_Config,
55                 0,
56                 { 0, 0, 0 },
57                 0, 0, /* No default value */
58                 "sourceConfig"
59                 },
60         { ATF_POINTER, 3, offsetof(struct HandoverPreparationInformationRrc_IEs, rrm_Config),
61                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
62                 -1,     /* IMPLICIT tag at current level */
63                 &asn_DEF_RRM_Config,
64                 0,
65                 { 0, 0, 0 },
66                 0, 0, /* No default value */
67                 "rrm-Config"
68                 },
69         { ATF_POINTER, 2, offsetof(struct HandoverPreparationInformationRrc_IEs, as_Context),
70                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
71                 -1,     /* IMPLICIT tag at current level */
72                 &asn_DEF_AS_Context,
73                 0,
74                 { 0, 0, 0 },
75                 0, 0, /* No default value */
76                 "as-Context"
77                 },
78         { ATF_POINTER, 1, offsetof(struct HandoverPreparationInformationRrc_IEs, nonCriticalExtension),
79                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
80                 0,
81                 &asn_DEF_nonCriticalExtension_6,
82                 0,
83                 { 0, 0, 0 },
84                 0, 0, /* No default value */
85                 "nonCriticalExtension"
86                 },
87 };
88 static const int asn_MAP_HandoverPreparationInformationRrc_IEs_oms_1[] = { 1, 2, 3, 4 };
89 static const ber_tlv_tag_t asn_DEF_HandoverPreparationInformationRrc_IEs_tags_1[] = {
90         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
91 };
92 static const asn_TYPE_tag2member_t asn_MAP_HandoverPreparationInformationRrc_IEs_tag2el_1[] = {
93     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ue-CapabilityRAT-List */
94     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* sourceConfig */
95     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* rrm-Config */
96     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* as-Context */
97     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* nonCriticalExtension */
98 };
99 asn_SEQUENCE_specifics_t asn_SPC_HandoverPreparationInformationRrc_IEs_specs_1 = {
100         sizeof(struct HandoverPreparationInformationRrc_IEs),
101         offsetof(struct HandoverPreparationInformationRrc_IEs, _asn_ctx),
102         asn_MAP_HandoverPreparationInformationRrc_IEs_tag2el_1,
103         5,      /* Count of tags in the map */
104         asn_MAP_HandoverPreparationInformationRrc_IEs_oms_1,    /* Optional members */
105         4, 0,   /* Root/Additions */
106         -1,     /* First extension addition */
107 };
108 asn_TYPE_descriptor_t asn_DEF_HandoverPreparationInformationRrc_IEs = {
109         "HandoverPreparationInformationRrc-IEs",
110         "HandoverPreparationInformationRrc-IEs",
111         &asn_OP_SEQUENCE,
112         asn_DEF_HandoverPreparationInformationRrc_IEs_tags_1,
113         sizeof(asn_DEF_HandoverPreparationInformationRrc_IEs_tags_1)
114                 /sizeof(asn_DEF_HandoverPreparationInformationRrc_IEs_tags_1[0]), /* 1 */
115         asn_DEF_HandoverPreparationInformationRrc_IEs_tags_1,   /* Same as above */
116         sizeof(asn_DEF_HandoverPreparationInformationRrc_IEs_tags_1)
117                 /sizeof(asn_DEF_HandoverPreparationInformationRrc_IEs_tags_1[0]), /* 1 */
118         { 0, 0, SEQUENCE_constraint },
119         asn_MBR_HandoverPreparationInformationRrc_IEs_1,
120         5,      /* Elements count */
121         &asn_SPC_HandoverPreparationInformationRrc_IEs_specs_1  /* Additional specs */
122 };
123