[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-423] Modified RRC asn structures
[o-du/l2.git] / src / codec_utils / RRC / MeasTriggerQuantity.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 "MeasTriggerQuantity.h"
9
10 static asn_oer_constraints_t asn_OER_type_MeasTriggerQuantity_constr_1 CC_NOTUSED = {
11         { 0, 0 },
12         -1};
13 asn_per_constraints_t asn_PER_type_MeasTriggerQuantity_constr_1 CC_NOTUSED = {
14         { APC_CONSTRAINED,       2,  2,  0,  2 }        /* (0..2) */,
15         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
16         0, 0    /* No PER value map */
17 };
18 asn_TYPE_member_t asn_MBR_MeasTriggerQuantity_1[] = {
19         { ATF_NOFLAGS, 0, offsetof(struct MeasTriggerQuantity, choice.rsrp),
20                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
21                 -1,     /* IMPLICIT tag at current level */
22                 &asn_DEF_RSRP_Range,
23                 0,
24                 { 0, 0, 0 },
25                 0, 0, /* No default value */
26                 "rsrp"
27                 },
28         { ATF_NOFLAGS, 0, offsetof(struct MeasTriggerQuantity, choice.rsrq),
29                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
30                 -1,     /* IMPLICIT tag at current level */
31                 &asn_DEF_RSRQ_Range,
32                 0,
33                 { 0, 0, 0 },
34                 0, 0, /* No default value */
35                 "rsrq"
36                 },
37         { ATF_NOFLAGS, 0, offsetof(struct MeasTriggerQuantity, choice.sinr),
38                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
39                 -1,     /* IMPLICIT tag at current level */
40                 &asn_DEF_SINR_Range,
41                 0,
42                 { 0, 0, 0 },
43                 0, 0, /* No default value */
44                 "sinr"
45                 },
46 };
47 static const asn_TYPE_tag2member_t asn_MAP_MeasTriggerQuantity_tag2el_1[] = {
48     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rsrp */
49     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* rsrq */
50     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* sinr */
51 };
52 asn_CHOICE_specifics_t asn_SPC_MeasTriggerQuantity_specs_1 = {
53         sizeof(struct MeasTriggerQuantity),
54         offsetof(struct MeasTriggerQuantity, _asn_ctx),
55         offsetof(struct MeasTriggerQuantity, present),
56         sizeof(((struct MeasTriggerQuantity *)0)->present),
57         asn_MAP_MeasTriggerQuantity_tag2el_1,
58         3,      /* Count of tags in the map */
59         0, 0,
60         -1      /* Extensions start */
61 };
62 asn_TYPE_descriptor_t asn_DEF_MeasTriggerQuantity = {
63         "MeasTriggerQuantity",
64         "MeasTriggerQuantity",
65         &asn_OP_CHOICE,
66         0,      /* No effective tags (pointer) */
67         0,      /* No effective tags (count) */
68         0,      /* No tags (pointer) */
69         0,      /* No tags (count) */
70         { &asn_OER_type_MeasTriggerQuantity_constr_1, &asn_PER_type_MeasTriggerQuantity_constr_1, CHOICE_constraint },
71         asn_MBR_MeasTriggerQuantity_1,
72         3,      /* Elements count */
73         &asn_SPC_MeasTriggerQuantity_specs_1    /* Additional specs */
74 };
75