[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-423] Modified RRC asn structures
[o-du/l2.git] / src / codec_utils / RRC / RateMatchPattern.h
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 #ifndef _RateMatchPattern_H_
9 #define _RateMatchPattern_H_
10
11
12 #include <asn_application.h>
13
14 /* Including external dependencies */
15 #include "RateMatchPatternId.h"
16 #include "SubcarrierSpacing.h"
17 #include <NativeEnumerated.h>
18 #include "ControlResourceSetId.h"
19 #include <BIT_STRING.h>
20 #include <constr_CHOICE.h>
21 #include <constr_SEQUENCE.h>
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27 /* Dependencies */
28 typedef enum RateMatchPattern__patternType_PR {
29         RateMatchPattern__patternType_PR_NOTHING,       /* No components present */
30         RateMatchPattern__patternType_PR_bitmaps,
31         RateMatchPattern__patternType_PR_controlResourceSet
32 } RateMatchPattern__patternType_PR;
33 typedef enum RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock_PR {
34         RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock_PR_NOTHING,      /* No components present */
35         RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock_PR_oneSlot,
36         RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock_PR_twoSlots
37 } RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock_PR;
38 typedef enum RateMatchPattern__patternType__bitmaps__periodicityAndPattern_PR {
39         RateMatchPattern__patternType__bitmaps__periodicityAndPattern_PR_NOTHING,       /* No components present */
40         RateMatchPattern__patternType__bitmaps__periodicityAndPattern_PR_n2,
41         RateMatchPattern__patternType__bitmaps__periodicityAndPattern_PR_n4,
42         RateMatchPattern__patternType__bitmaps__periodicityAndPattern_PR_n5,
43         RateMatchPattern__patternType__bitmaps__periodicityAndPattern_PR_n8,
44         RateMatchPattern__patternType__bitmaps__periodicityAndPattern_PR_n10,
45         RateMatchPattern__patternType__bitmaps__periodicityAndPattern_PR_n20,
46         RateMatchPattern__patternType__bitmaps__periodicityAndPattern_PR_n40
47 } RateMatchPattern__patternType__bitmaps__periodicityAndPattern_PR;
48 typedef enum RateMatchPattern__dummy {
49         RateMatchPattern__dummy_dynamic = 0,
50         RateMatchPattern__dummy_semiStatic      = 1
51 } e_RateMatchPattern__dummy;
52
53 /* RateMatchPattern */
54 typedef struct RateMatchPattern {
55         RateMatchPatternId_t     rateMatchPatternId;
56         struct RateMatchPattern__patternType {
57                 RateMatchPattern__patternType_PR present;
58                 union RateMatchPattern__patternType_u {
59                         struct RateMatchPattern__patternType__bitmaps {
60                                 BIT_STRING_t     resourceBlocks;
61                                 struct RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock {
62                                         RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock_PR present;
63                                         union RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock_u {
64                                                 BIT_STRING_t     oneSlot;
65                                                 BIT_STRING_t     twoSlots;
66                                         } choice;
67                                         
68                                         /* Context for parsing across buffer boundaries */
69                                         asn_struct_ctx_t _asn_ctx;
70                                 } symbolsInResourceBlock;
71                                 struct RateMatchPattern__patternType__bitmaps__periodicityAndPattern {
72                                         RateMatchPattern__patternType__bitmaps__periodicityAndPattern_PR present;
73                                         union RateMatchPattern__patternType__bitmaps__periodicityAndPattern_u {
74                                                 BIT_STRING_t     n2;
75                                                 BIT_STRING_t     n4;
76                                                 BIT_STRING_t     n5;
77                                                 BIT_STRING_t     n8;
78                                                 BIT_STRING_t     n10;
79                                                 BIT_STRING_t     n20;
80                                                 BIT_STRING_t     n40;
81                                         } choice;
82                                         
83                                         /* Context for parsing across buffer boundaries */
84                                         asn_struct_ctx_t _asn_ctx;
85                                 } *periodicityAndPattern;
86                                 /*
87                                  * This type is extensible,
88                                  * possible extensions are below.
89                                  */
90                                 
91                                 /* Context for parsing across buffer boundaries */
92                                 asn_struct_ctx_t _asn_ctx;
93                         } *bitmaps;
94                         ControlResourceSetId_t   controlResourceSet;
95                 } choice;
96                 
97                 /* Context for parsing across buffer boundaries */
98                 asn_struct_ctx_t _asn_ctx;
99         } patternType;
100         SubcarrierSpacing_t     *subcarrierSpacing;     /* OPTIONAL */
101         long     dummy;
102         /*
103          * This type is extensible,
104          * possible extensions are below.
105          */
106         
107         /* Context for parsing across buffer boundaries */
108         asn_struct_ctx_t _asn_ctx;
109 } RateMatchPattern_t;
110
111 /* Implementation */
112 /* extern asn_TYPE_descriptor_t asn_DEF_dummy_20;       // (Use -fall-defs-global to expose) */
113 extern asn_TYPE_descriptor_t asn_DEF_RateMatchPattern;
114 extern asn_SEQUENCE_specifics_t asn_SPC_RateMatchPattern_specs_1;
115 extern asn_TYPE_member_t asn_MBR_RateMatchPattern_1[4];
116
117 #ifdef __cplusplus
118 }
119 #endif
120
121 #endif  /* _RateMatchPattern_H_ */
122 #include <asn_internal.h>