4edc3264239ae1419872c81686dc111bb1cf41dd
[o-du/l2.git] / src / codec_utils / RRC / PUSCH-PathlossReferenceRS.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "NR-RRC-Definitions"
4  *      found in "/home/labadmin/hlal/rrc_15.3_asn.asn1"
5  *      `asn1c -D ./15_3_rrc/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "PUSCH-PathlossReferenceRS.h"
9
10 static asn_oer_constraints_t asn_OER_type_referenceSignal_constr_3 CC_NOTUSED = {
11         { 0, 0 },
12         -1};
13 static asn_per_constraints_t asn_PER_type_referenceSignal_constr_3 CC_NOTUSED = {
14         { APC_CONSTRAINED,       1,  1,  0,  1 }        /* (0..1) */,
15         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
16         0, 0    /* No PER value map */
17 };
18 static asn_TYPE_member_t asn_MBR_referenceSignal_3[] = {
19         { ATF_NOFLAGS, 0, offsetof(struct PUSCH_PathlossReferenceRS__referenceSignal, choice.ssb_Index),
20                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
21                 -1,     /* IMPLICIT tag at current level */
22                 &asn_DEF_SSB_Index,
23                 0,
24                 { 0, 0, 0 },
25                 0, 0, /* No default value */
26                 "ssb-Index"
27                 },
28         { ATF_NOFLAGS, 0, offsetof(struct PUSCH_PathlossReferenceRS__referenceSignal, choice.csi_RS_Index),
29                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
30                 -1,     /* IMPLICIT tag at current level */
31                 &asn_DEF_NZP_CSI_RS_ResourceId,
32                 0,
33                 { 0, 0, 0 },
34                 0, 0, /* No default value */
35                 "csi-RS-Index"
36                 },
37 };
38 static const asn_TYPE_tag2member_t asn_MAP_referenceSignal_tag2el_3[] = {
39     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ssb-Index */
40     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* csi-RS-Index */
41 };
42 static asn_CHOICE_specifics_t asn_SPC_referenceSignal_specs_3 = {
43         sizeof(struct PUSCH_PathlossReferenceRS__referenceSignal),
44         offsetof(struct PUSCH_PathlossReferenceRS__referenceSignal, _asn_ctx),
45         offsetof(struct PUSCH_PathlossReferenceRS__referenceSignal, present),
46         sizeof(((struct PUSCH_PathlossReferenceRS__referenceSignal *)0)->present),
47         asn_MAP_referenceSignal_tag2el_3,
48         2,      /* Count of tags in the map */
49         0, 0,
50         -1      /* Extensions start */
51 };
52 static /* Use -fall-defs-global to expose */
53 asn_TYPE_descriptor_t asn_DEF_referenceSignal_3 = {
54         "referenceSignal",
55         "referenceSignal",
56         &asn_OP_CHOICE,
57         0,      /* No effective tags (pointer) */
58         0,      /* No effective tags (count) */
59         0,      /* No tags (pointer) */
60         0,      /* No tags (count) */
61         { &asn_OER_type_referenceSignal_constr_3, &asn_PER_type_referenceSignal_constr_3, CHOICE_constraint },
62         asn_MBR_referenceSignal_3,
63         2,      /* Elements count */
64         &asn_SPC_referenceSignal_specs_3        /* Additional specs */
65 };
66
67 asn_TYPE_member_t asn_MBR_PUSCH_PathlossReferenceRS_1[] = {
68         { ATF_NOFLAGS, 0, offsetof(struct PUSCH_PathlossReferenceRS, pusch_PathlossReferenceRS_Id),
69                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
70                 -1,     /* IMPLICIT tag at current level */
71                 &asn_DEF_PUSCH_PathlossReferenceRS_Id,
72                 0,
73                 { 0, 0, 0 },
74                 0, 0, /* No default value */
75                 "pusch-PathlossReferenceRS-Id"
76                 },
77         { ATF_NOFLAGS, 0, offsetof(struct PUSCH_PathlossReferenceRS, referenceSignal),
78                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
79                 +1,     /* EXPLICIT tag at current level */
80                 &asn_DEF_referenceSignal_3,
81                 0,
82                 { 0, 0, 0 },
83                 0, 0, /* No default value */
84                 "referenceSignal"
85                 },
86 };
87 static const ber_tlv_tag_t asn_DEF_PUSCH_PathlossReferenceRS_tags_1[] = {
88         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
89 };
90 static const asn_TYPE_tag2member_t asn_MAP_PUSCH_PathlossReferenceRS_tag2el_1[] = {
91     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pusch-PathlossReferenceRS-Id */
92     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* referenceSignal */
93 };
94 asn_SEQUENCE_specifics_t asn_SPC_PUSCH_PathlossReferenceRS_specs_1 = {
95         sizeof(struct PUSCH_PathlossReferenceRS),
96         offsetof(struct PUSCH_PathlossReferenceRS, _asn_ctx),
97         asn_MAP_PUSCH_PathlossReferenceRS_tag2el_1,
98         2,      /* Count of tags in the map */
99         0, 0, 0,        /* Optional elements (not needed) */
100         -1,     /* First extension addition */
101 };
102 asn_TYPE_descriptor_t asn_DEF_PUSCH_PathlossReferenceRS = {
103         "PUSCH-PathlossReferenceRS",
104         "PUSCH-PathlossReferenceRS",
105         &asn_OP_SEQUENCE,
106         asn_DEF_PUSCH_PathlossReferenceRS_tags_1,
107         sizeof(asn_DEF_PUSCH_PathlossReferenceRS_tags_1)
108                 /sizeof(asn_DEF_PUSCH_PathlossReferenceRS_tags_1[0]), /* 1 */
109         asn_DEF_PUSCH_PathlossReferenceRS_tags_1,       /* Same as above */
110         sizeof(asn_DEF_PUSCH_PathlossReferenceRS_tags_1)
111                 /sizeof(asn_DEF_PUSCH_PathlossReferenceRS_tags_1[0]), /* 1 */
112         { 0, 0, SEQUENCE_constraint },
113         asn_MBR_PUSCH_PathlossReferenceRS_1,
114         2,      /* Elements count */
115         &asn_SPC_PUSCH_PathlossReferenceRS_specs_1      /* Additional specs */
116 };
117