Merge "Cell down alarm notification [Issue-Id: ODUHIGH-430]"
[o-du/l2.git] / src / codec_utils / RRC / MeasTiming.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "NR-InterNodeDefinitions"
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 "MeasTiming.h"
9
10 #include "SS-RSSI-Measurement.h"
11 static asn_TYPE_member_t asn_MBR_frequencyAndTiming_2[] = {
12         { ATF_NOFLAGS, 0, offsetof(struct MeasTiming__frequencyAndTiming, carrierFreq),
13                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
14                 -1,     /* IMPLICIT tag at current level */
15                 &asn_DEF_ARFCN_ValueNR,
16                 0,
17                 { 0, 0, 0 },
18                 0, 0, /* No default value */
19                 "carrierFreq"
20                 },
21         { ATF_NOFLAGS, 0, offsetof(struct MeasTiming__frequencyAndTiming, ssbSubcarrierSpacing),
22                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
23                 -1,     /* IMPLICIT tag at current level */
24                 &asn_DEF_SubcarrierSpacing,
25                 0,
26                 { 0, 0, 0 },
27                 0, 0, /* No default value */
28                 "ssbSubcarrierSpacing"
29                 },
30         { ATF_NOFLAGS, 0, offsetof(struct MeasTiming__frequencyAndTiming, ssb_MeasurementTimingConfiguration),
31                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
32                 -1,     /* IMPLICIT tag at current level */
33                 &asn_DEF_SSB_MTC,
34                 0,
35                 { 0, 0, 0 },
36                 0, 0, /* No default value */
37                 "ssb-MeasurementTimingConfiguration"
38                 },
39         { ATF_POINTER, 1, offsetof(struct MeasTiming__frequencyAndTiming, ss_RSSI_Measurement),
40                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
41                 -1,     /* IMPLICIT tag at current level */
42                 &asn_DEF_SS_RSSI_Measurement,
43                 0,
44                 { 0, 0, 0 },
45                 0, 0, /* No default value */
46                 "ss-RSSI-Measurement"
47                 },
48 };
49 static const int asn_MAP_frequencyAndTiming_oms_2[] = { 3 };
50 static const ber_tlv_tag_t asn_DEF_frequencyAndTiming_tags_2[] = {
51         (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
52         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
53 };
54 static const asn_TYPE_tag2member_t asn_MAP_frequencyAndTiming_tag2el_2[] = {
55     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* carrierFreq */
56     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ssbSubcarrierSpacing */
57     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ssb-MeasurementTimingConfiguration */
58     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* ss-RSSI-Measurement */
59 };
60 static asn_SEQUENCE_specifics_t asn_SPC_frequencyAndTiming_specs_2 = {
61         sizeof(struct MeasTiming__frequencyAndTiming),
62         offsetof(struct MeasTiming__frequencyAndTiming, _asn_ctx),
63         asn_MAP_frequencyAndTiming_tag2el_2,
64         4,      /* Count of tags in the map */
65         asn_MAP_frequencyAndTiming_oms_2,       /* Optional members */
66         1, 0,   /* Root/Additions */
67         -1,     /* First extension addition */
68 };
69 static /* Use -fall-defs-global to expose */
70 asn_TYPE_descriptor_t asn_DEF_frequencyAndTiming_2 = {
71         "frequencyAndTiming",
72         "frequencyAndTiming",
73         &asn_OP_SEQUENCE,
74         asn_DEF_frequencyAndTiming_tags_2,
75         sizeof(asn_DEF_frequencyAndTiming_tags_2)
76                 /sizeof(asn_DEF_frequencyAndTiming_tags_2[0]) - 1, /* 1 */
77         asn_DEF_frequencyAndTiming_tags_2,      /* Same as above */
78         sizeof(asn_DEF_frequencyAndTiming_tags_2)
79                 /sizeof(asn_DEF_frequencyAndTiming_tags_2[0]), /* 2 */
80         { 0, 0, SEQUENCE_constraint },
81         asn_MBR_frequencyAndTiming_2,
82         4,      /* Elements count */
83         &asn_SPC_frequencyAndTiming_specs_2     /* Additional specs */
84 };
85
86 asn_TYPE_member_t asn_MBR_MeasTiming_1[] = {
87         { ATF_POINTER, 1, offsetof(struct MeasTiming, frequencyAndTiming),
88                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
89                 0,
90                 &asn_DEF_frequencyAndTiming_2,
91                 0,
92                 { 0, 0, 0 },
93                 0, 0, /* No default value */
94                 "frequencyAndTiming"
95                 },
96 };
97 static const int asn_MAP_MeasTiming_oms_1[] = { 0 };
98 static const ber_tlv_tag_t asn_DEF_MeasTiming_tags_1[] = {
99         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
100 };
101 static const asn_TYPE_tag2member_t asn_MAP_MeasTiming_tag2el_1[] = {
102     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* frequencyAndTiming */
103 };
104 asn_SEQUENCE_specifics_t asn_SPC_MeasTiming_specs_1 = {
105         sizeof(struct MeasTiming),
106         offsetof(struct MeasTiming, _asn_ctx),
107         asn_MAP_MeasTiming_tag2el_1,
108         1,      /* Count of tags in the map */
109         asn_MAP_MeasTiming_oms_1,       /* Optional members */
110         1, 0,   /* Root/Additions */
111         1,      /* First extension addition */
112 };
113 asn_TYPE_descriptor_t asn_DEF_MeasTiming = {
114         "MeasTiming",
115         "MeasTiming",
116         &asn_OP_SEQUENCE,
117         asn_DEF_MeasTiming_tags_1,
118         sizeof(asn_DEF_MeasTiming_tags_1)
119                 /sizeof(asn_DEF_MeasTiming_tags_1[0]), /* 1 */
120         asn_DEF_MeasTiming_tags_1,      /* Same as above */
121         sizeof(asn_DEF_MeasTiming_tags_1)
122                 /sizeof(asn_DEF_MeasTiming_tags_1[0]), /* 1 */
123         { 0, 0, SEQUENCE_constraint },
124         asn_MBR_MeasTiming_1,
125         1,      /* Elements count */
126         &asn_SPC_MeasTiming_specs_1     /* Additional specs */
127 };
128