[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-437] Establishing communication between Sourc...
[o-du/l2.git] / src / codec_utils / RRC / VarMeasConfig.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "NR-UE-Variables"
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 "VarMeasConfig.h"
9
10 #include "MeasIdToAddModList.h"
11 #include "MeasObjectToAddModList.h"
12 #include "ReportConfigToAddModList.h"
13 #include "QuantityConfig.h"
14 static asn_oer_constraints_t asn_OER_type_s_MeasureConfig_constr_6 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 static asn_per_constraints_t asn_PER_type_s_MeasureConfig_constr_6 CC_NOTUSED = {
18         { APC_CONSTRAINED,       1,  1,  0,  1 }        /* (0..1) */,
19         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
20         0, 0    /* No PER value map */
21 };
22 static asn_TYPE_member_t asn_MBR_s_MeasureConfig_6[] = {
23         { ATF_NOFLAGS, 0, offsetof(struct VarMeasConfig__s_MeasureConfig, choice.ssb_RSRP),
24                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
25                 -1,     /* IMPLICIT tag at current level */
26                 &asn_DEF_RSRP_Range,
27                 0,
28                 { 0, 0, 0 },
29                 0, 0, /* No default value */
30                 "ssb-RSRP"
31                 },
32         { ATF_NOFLAGS, 0, offsetof(struct VarMeasConfig__s_MeasureConfig, choice.csi_RSRP),
33                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
34                 -1,     /* IMPLICIT tag at current level */
35                 &asn_DEF_RSRP_Range,
36                 0,
37                 { 0, 0, 0 },
38                 0, 0, /* No default value */
39                 "csi-RSRP"
40                 },
41 };
42 static const asn_TYPE_tag2member_t asn_MAP_s_MeasureConfig_tag2el_6[] = {
43     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ssb-RSRP */
44     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* csi-RSRP */
45 };
46 static asn_CHOICE_specifics_t asn_SPC_s_MeasureConfig_specs_6 = {
47         sizeof(struct VarMeasConfig__s_MeasureConfig),
48         offsetof(struct VarMeasConfig__s_MeasureConfig, _asn_ctx),
49         offsetof(struct VarMeasConfig__s_MeasureConfig, present),
50         sizeof(((struct VarMeasConfig__s_MeasureConfig *)0)->present),
51         asn_MAP_s_MeasureConfig_tag2el_6,
52         2,      /* Count of tags in the map */
53         0, 0,
54         -1      /* Extensions start */
55 };
56 static /* Use -fall-defs-global to expose */
57 asn_TYPE_descriptor_t asn_DEF_s_MeasureConfig_6 = {
58         "s-MeasureConfig",
59         "s-MeasureConfig",
60         &asn_OP_CHOICE,
61         0,      /* No effective tags (pointer) */
62         0,      /* No effective tags (count) */
63         0,      /* No tags (pointer) */
64         0,      /* No tags (count) */
65         { &asn_OER_type_s_MeasureConfig_constr_6, &asn_PER_type_s_MeasureConfig_constr_6, CHOICE_constraint },
66         asn_MBR_s_MeasureConfig_6,
67         2,      /* Elements count */
68         &asn_SPC_s_MeasureConfig_specs_6        /* Additional specs */
69 };
70
71 static asn_TYPE_member_t asn_MBR_VarMeasConfig_1[] = {
72         { ATF_POINTER, 5, offsetof(struct VarMeasConfig, measIdList),
73                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
74                 -1,     /* IMPLICIT tag at current level */
75                 &asn_DEF_MeasIdToAddModList,
76                 0,
77                 { 0, 0, 0 },
78                 0, 0, /* No default value */
79                 "measIdList"
80                 },
81         { ATF_POINTER, 4, offsetof(struct VarMeasConfig, measObjectList),
82                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
83                 -1,     /* IMPLICIT tag at current level */
84                 &asn_DEF_MeasObjectToAddModList,
85                 0,
86                 { 0, 0, 0 },
87                 0, 0, /* No default value */
88                 "measObjectList"
89                 },
90         { ATF_POINTER, 3, offsetof(struct VarMeasConfig, reportConfigList),
91                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
92                 -1,     /* IMPLICIT tag at current level */
93                 &asn_DEF_ReportConfigToAddModList,
94                 0,
95                 { 0, 0, 0 },
96                 0, 0, /* No default value */
97                 "reportConfigList"
98                 },
99         { ATF_POINTER, 2, offsetof(struct VarMeasConfig, quantityConfig),
100                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
101                 -1,     /* IMPLICIT tag at current level */
102                 &asn_DEF_QuantityConfig,
103                 0,
104                 { 0, 0, 0 },
105                 0, 0, /* No default value */
106                 "quantityConfig"
107                 },
108         { ATF_POINTER, 1, offsetof(struct VarMeasConfig, s_MeasureConfig),
109                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
110                 +1,     /* EXPLICIT tag at current level */
111                 &asn_DEF_s_MeasureConfig_6,
112                 0,
113                 { 0, 0, 0 },
114                 0, 0, /* No default value */
115                 "s-MeasureConfig"
116                 },
117 };
118 static const int asn_MAP_VarMeasConfig_oms_1[] = { 0, 1, 2, 3, 4 };
119 static const ber_tlv_tag_t asn_DEF_VarMeasConfig_tags_1[] = {
120         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
121 };
122 static const asn_TYPE_tag2member_t asn_MAP_VarMeasConfig_tag2el_1[] = {
123     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measIdList */
124     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* measObjectList */
125     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* reportConfigList */
126     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* quantityConfig */
127     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* s-MeasureConfig */
128 };
129 static asn_SEQUENCE_specifics_t asn_SPC_VarMeasConfig_specs_1 = {
130         sizeof(struct VarMeasConfig),
131         offsetof(struct VarMeasConfig, _asn_ctx),
132         asn_MAP_VarMeasConfig_tag2el_1,
133         5,      /* Count of tags in the map */
134         asn_MAP_VarMeasConfig_oms_1,    /* Optional members */
135         5, 0,   /* Root/Additions */
136         -1,     /* First extension addition */
137 };
138 asn_TYPE_descriptor_t asn_DEF_VarMeasConfig = {
139         "VarMeasConfig",
140         "VarMeasConfig",
141         &asn_OP_SEQUENCE,
142         asn_DEF_VarMeasConfig_tags_1,
143         sizeof(asn_DEF_VarMeasConfig_tags_1)
144                 /sizeof(asn_DEF_VarMeasConfig_tags_1[0]), /* 1 */
145         asn_DEF_VarMeasConfig_tags_1,   /* Same as above */
146         sizeof(asn_DEF_VarMeasConfig_tags_1)
147                 /sizeof(asn_DEF_VarMeasConfig_tags_1[0]), /* 1 */
148         { 0, 0, SEQUENCE_constraint },
149         asn_MBR_VarMeasConfig_1,
150         5,      /* Elements count */
151         &asn_SPC_VarMeasConfig_specs_1  /* Additional specs */
152 };
153