[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-423] Modified RRC asn structures
[o-du/l2.git] / src / codec_utils / RRC / ReferenceSignalConfig.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 "ReferenceSignalConfig.h"
9
10 #include "SSB-ConfigMobility.h"
11 #include "CSI-RS-ResourceConfigMobility.h"
12 static asn_oer_constraints_t asn_OER_type_csi_rs_ResourceConfigMobility_constr_3 CC_NOTUSED = {
13         { 0, 0 },
14         -1};
15 static asn_per_constraints_t asn_PER_type_csi_rs_ResourceConfigMobility_constr_3 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_TYPE_member_t asn_MBR_csi_rs_ResourceConfigMobility_3[] = {
21         { ATF_NOFLAGS, 0, offsetof(struct ReferenceSignalConfig__csi_rs_ResourceConfigMobility, choice.release),
22                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
23                 -1,     /* IMPLICIT tag at current level */
24                 &asn_DEF_NULL,
25                 0,
26                 { 0, 0, 0 },
27                 0, 0, /* No default value */
28                 "release"
29                 },
30         { ATF_POINTER, 0, offsetof(struct ReferenceSignalConfig__csi_rs_ResourceConfigMobility, choice.setup),
31                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
32                 -1,     /* IMPLICIT tag at current level */
33                 &asn_DEF_CSI_RS_ResourceConfigMobility,
34                 0,
35                 { 0, 0, 0 },
36                 0, 0, /* No default value */
37                 "setup"
38                 },
39 };
40 static const asn_TYPE_tag2member_t asn_MAP_csi_rs_ResourceConfigMobility_tag2el_3[] = {
41     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release */
42     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup */
43 };
44 static asn_CHOICE_specifics_t asn_SPC_csi_rs_ResourceConfigMobility_specs_3 = {
45         sizeof(struct ReferenceSignalConfig__csi_rs_ResourceConfigMobility),
46         offsetof(struct ReferenceSignalConfig__csi_rs_ResourceConfigMobility, _asn_ctx),
47         offsetof(struct ReferenceSignalConfig__csi_rs_ResourceConfigMobility, present),
48         sizeof(((struct ReferenceSignalConfig__csi_rs_ResourceConfigMobility *)0)->present),
49         asn_MAP_csi_rs_ResourceConfigMobility_tag2el_3,
50         2,      /* Count of tags in the map */
51         0, 0,
52         -1      /* Extensions start */
53 };
54 static /* Use -fall-defs-global to expose */
55 asn_TYPE_descriptor_t asn_DEF_csi_rs_ResourceConfigMobility_3 = {
56         "csi-rs-ResourceConfigMobility",
57         "csi-rs-ResourceConfigMobility",
58         &asn_OP_CHOICE,
59         0,      /* No effective tags (pointer) */
60         0,      /* No effective tags (count) */
61         0,      /* No tags (pointer) */
62         0,      /* No tags (count) */
63         { &asn_OER_type_csi_rs_ResourceConfigMobility_constr_3, &asn_PER_type_csi_rs_ResourceConfigMobility_constr_3, CHOICE_constraint },
64         asn_MBR_csi_rs_ResourceConfigMobility_3,
65         2,      /* Elements count */
66         &asn_SPC_csi_rs_ResourceConfigMobility_specs_3  /* Additional specs */
67 };
68
69 asn_TYPE_member_t asn_MBR_ReferenceSignalConfig_1[] = {
70         { ATF_POINTER, 2, offsetof(struct ReferenceSignalConfig, ssb_ConfigMobility),
71                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
72                 -1,     /* IMPLICIT tag at current level */
73                 &asn_DEF_SSB_ConfigMobility,
74                 0,
75                 { 0, 0, 0 },
76                 0, 0, /* No default value */
77                 "ssb-ConfigMobility"
78                 },
79         { ATF_POINTER, 1, offsetof(struct ReferenceSignalConfig, csi_rs_ResourceConfigMobility),
80                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
81                 +1,     /* EXPLICIT tag at current level */
82                 &asn_DEF_csi_rs_ResourceConfigMobility_3,
83                 0,
84                 { 0, 0, 0 },
85                 0, 0, /* No default value */
86                 "csi-rs-ResourceConfigMobility"
87                 },
88 };
89 static const int asn_MAP_ReferenceSignalConfig_oms_1[] = { 0, 1 };
90 static const ber_tlv_tag_t asn_DEF_ReferenceSignalConfig_tags_1[] = {
91         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
92 };
93 static const asn_TYPE_tag2member_t asn_MAP_ReferenceSignalConfig_tag2el_1[] = {
94     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ssb-ConfigMobility */
95     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* csi-rs-ResourceConfigMobility */
96 };
97 asn_SEQUENCE_specifics_t asn_SPC_ReferenceSignalConfig_specs_1 = {
98         sizeof(struct ReferenceSignalConfig),
99         offsetof(struct ReferenceSignalConfig, _asn_ctx),
100         asn_MAP_ReferenceSignalConfig_tag2el_1,
101         2,      /* Count of tags in the map */
102         asn_MAP_ReferenceSignalConfig_oms_1,    /* Optional members */
103         2, 0,   /* Root/Additions */
104         -1,     /* First extension addition */
105 };
106 asn_TYPE_descriptor_t asn_DEF_ReferenceSignalConfig = {
107         "ReferenceSignalConfig",
108         "ReferenceSignalConfig",
109         &asn_OP_SEQUENCE,
110         asn_DEF_ReferenceSignalConfig_tags_1,
111         sizeof(asn_DEF_ReferenceSignalConfig_tags_1)
112                 /sizeof(asn_DEF_ReferenceSignalConfig_tags_1[0]), /* 1 */
113         asn_DEF_ReferenceSignalConfig_tags_1,   /* Same as above */
114         sizeof(asn_DEF_ReferenceSignalConfig_tags_1)
115                 /sizeof(asn_DEF_ReferenceSignalConfig_tags_1[0]), /* 1 */
116         { 0, 0, SEQUENCE_constraint },
117         asn_MBR_ReferenceSignalConfig_1,
118         2,      /* Elements count */
119         &asn_SPC_ReferenceSignalConfig_specs_1  /* Additional specs */
120 };
121