[Epic-ID: ODUHIGH-406][Task-ID: ODUHIGH-441]: Update name of Paging RRC Codec
[o-du/l2.git] / src / codec_utils / RRC / PDCP-Config.h
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "NR-RRC-Definitions"
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 #ifndef _PDCP_Config_H_
9 #define _PDCP_Config_H_
10
11
12 #include <asn_application.h>
13
14 /* Including external dependencies */
15 #include <NativeEnumerated.h>
16 #include <NULL.h>
17 #include <NativeInteger.h>
18 #include <BOOLEAN.h>
19 #include <constr_SEQUENCE.h>
20 #include <constr_CHOICE.h>
21 #include "UL-DataSplitThreshold.h"
22 #include "CellGroupId.h"
23 #include "LogicalChannelIdentity.h"
24
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28
29 /* Dependencies */
30 typedef enum PDCP_Config__drb__discardTimer {
31         PDCP_Config__drb__discardTimer_ms10     = 0,
32         PDCP_Config__drb__discardTimer_ms20     = 1,
33         PDCP_Config__drb__discardTimer_ms30     = 2,
34         PDCP_Config__drb__discardTimer_ms40     = 3,
35         PDCP_Config__drb__discardTimer_ms50     = 4,
36         PDCP_Config__drb__discardTimer_ms60     = 5,
37         PDCP_Config__drb__discardTimer_ms75     = 6,
38         PDCP_Config__drb__discardTimer_ms100    = 7,
39         PDCP_Config__drb__discardTimer_ms150    = 8,
40         PDCP_Config__drb__discardTimer_ms200    = 9,
41         PDCP_Config__drb__discardTimer_ms250    = 10,
42         PDCP_Config__drb__discardTimer_ms300    = 11,
43         PDCP_Config__drb__discardTimer_ms500    = 12,
44         PDCP_Config__drb__discardTimer_ms750    = 13,
45         PDCP_Config__drb__discardTimer_ms1500   = 14,
46         PDCP_Config__drb__discardTimer_infinity = 15
47 } e_PDCP_Config__drb__discardTimer;
48 typedef enum PDCP_Config__drb__pdcp_SN_SizeUL {
49         PDCP_Config__drb__pdcp_SN_SizeUL_len12bits      = 0,
50         PDCP_Config__drb__pdcp_SN_SizeUL_len18bits      = 1
51 } e_PDCP_Config__drb__pdcp_SN_SizeUL;
52 typedef enum PDCP_Config__drb__pdcp_SN_SizeDL {
53         PDCP_Config__drb__pdcp_SN_SizeDL_len12bits      = 0,
54         PDCP_Config__drb__pdcp_SN_SizeDL_len18bits      = 1
55 } e_PDCP_Config__drb__pdcp_SN_SizeDL;
56 typedef enum PDCP_Config__drb__headerCompression_PR {
57         PDCP_Config__drb__headerCompression_PR_NOTHING, /* No components present */
58         PDCP_Config__drb__headerCompression_PR_notUsed,
59         PDCP_Config__drb__headerCompression_PR_rohc,
60         PDCP_Config__drb__headerCompression_PR_uplinkOnlyROHC
61         /* Extensions may appear below */
62         
63 } PDCP_Config__drb__headerCompression_PR;
64 typedef enum PDCP_Config__drb__headerCompression__rohc__drb_ContinueROHC {
65         PDCP_Config__drb__headerCompression__rohc__drb_ContinueROHC_true        = 0
66 } e_PDCP_Config__drb__headerCompression__rohc__drb_ContinueROHC;
67 typedef enum PDCP_Config__drb__headerCompression__uplinkOnlyROHC__drb_ContinueROHC {
68         PDCP_Config__drb__headerCompression__uplinkOnlyROHC__drb_ContinueROHC_true      = 0
69 } e_PDCP_Config__drb__headerCompression__uplinkOnlyROHC__drb_ContinueROHC;
70 typedef enum PDCP_Config__drb__integrityProtection {
71         PDCP_Config__drb__integrityProtection_enabled   = 0
72 } e_PDCP_Config__drb__integrityProtection;
73 typedef enum PDCP_Config__drb__statusReportRequired {
74         PDCP_Config__drb__statusReportRequired_true     = 0
75 } e_PDCP_Config__drb__statusReportRequired;
76 typedef enum PDCP_Config__drb__outOfOrderDelivery {
77         PDCP_Config__drb__outOfOrderDelivery_true       = 0
78 } e_PDCP_Config__drb__outOfOrderDelivery;
79 typedef enum PDCP_Config__t_Reordering {
80         PDCP_Config__t_Reordering_ms0   = 0,
81         PDCP_Config__t_Reordering_ms1   = 1,
82         PDCP_Config__t_Reordering_ms2   = 2,
83         PDCP_Config__t_Reordering_ms4   = 3,
84         PDCP_Config__t_Reordering_ms5   = 4,
85         PDCP_Config__t_Reordering_ms8   = 5,
86         PDCP_Config__t_Reordering_ms10  = 6,
87         PDCP_Config__t_Reordering_ms15  = 7,
88         PDCP_Config__t_Reordering_ms20  = 8,
89         PDCP_Config__t_Reordering_ms30  = 9,
90         PDCP_Config__t_Reordering_ms40  = 10,
91         PDCP_Config__t_Reordering_ms50  = 11,
92         PDCP_Config__t_Reordering_ms60  = 12,
93         PDCP_Config__t_Reordering_ms80  = 13,
94         PDCP_Config__t_Reordering_ms100 = 14,
95         PDCP_Config__t_Reordering_ms120 = 15,
96         PDCP_Config__t_Reordering_ms140 = 16,
97         PDCP_Config__t_Reordering_ms160 = 17,
98         PDCP_Config__t_Reordering_ms180 = 18,
99         PDCP_Config__t_Reordering_ms200 = 19,
100         PDCP_Config__t_Reordering_ms220 = 20,
101         PDCP_Config__t_Reordering_ms240 = 21,
102         PDCP_Config__t_Reordering_ms260 = 22,
103         PDCP_Config__t_Reordering_ms280 = 23,
104         PDCP_Config__t_Reordering_ms300 = 24,
105         PDCP_Config__t_Reordering_ms500 = 25,
106         PDCP_Config__t_Reordering_ms750 = 26,
107         PDCP_Config__t_Reordering_ms1000        = 27,
108         PDCP_Config__t_Reordering_ms1250        = 28,
109         PDCP_Config__t_Reordering_ms1500        = 29,
110         PDCP_Config__t_Reordering_ms1750        = 30,
111         PDCP_Config__t_Reordering_ms2000        = 31,
112         PDCP_Config__t_Reordering_ms2250        = 32,
113         PDCP_Config__t_Reordering_ms2500        = 33,
114         PDCP_Config__t_Reordering_ms2750        = 34,
115         PDCP_Config__t_Reordering_ms3000        = 35,
116         PDCP_Config__t_Reordering_spare28       = 36,
117         PDCP_Config__t_Reordering_spare27       = 37,
118         PDCP_Config__t_Reordering_spare26       = 38,
119         PDCP_Config__t_Reordering_spare25       = 39,
120         PDCP_Config__t_Reordering_spare24       = 40,
121         PDCP_Config__t_Reordering_spare23       = 41,
122         PDCP_Config__t_Reordering_spare22       = 42,
123         PDCP_Config__t_Reordering_spare21       = 43,
124         PDCP_Config__t_Reordering_spare20       = 44,
125         PDCP_Config__t_Reordering_spare19       = 45,
126         PDCP_Config__t_Reordering_spare18       = 46,
127         PDCP_Config__t_Reordering_spare17       = 47,
128         PDCP_Config__t_Reordering_spare16       = 48,
129         PDCP_Config__t_Reordering_spare15       = 49,
130         PDCP_Config__t_Reordering_spare14       = 50,
131         PDCP_Config__t_Reordering_spare13       = 51,
132         PDCP_Config__t_Reordering_spare12       = 52,
133         PDCP_Config__t_Reordering_spare11       = 53,
134         PDCP_Config__t_Reordering_spare10       = 54,
135         PDCP_Config__t_Reordering_spare09       = 55,
136         PDCP_Config__t_Reordering_spare08       = 56,
137         PDCP_Config__t_Reordering_spare07       = 57,
138         PDCP_Config__t_Reordering_spare06       = 58,
139         PDCP_Config__t_Reordering_spare05       = 59,
140         PDCP_Config__t_Reordering_spare04       = 60,
141         PDCP_Config__t_Reordering_spare03       = 61,
142         PDCP_Config__t_Reordering_spare02       = 62,
143         PDCP_Config__t_Reordering_spare01       = 63
144 } e_PDCP_Config__t_Reordering;
145 typedef enum PDCP_Config__ext1__cipheringDisabled {
146         PDCP_Config__ext1__cipheringDisabled_true       = 0
147 } e_PDCP_Config__ext1__cipheringDisabled;
148
149 /* PDCP-Config */
150 typedef struct PDCP_Config {
151         struct PDCP_Config__drb {
152                 long    *discardTimer;  /* OPTIONAL */
153                 long    *pdcp_SN_SizeUL;        /* OPTIONAL */
154                 long    *pdcp_SN_SizeDL;        /* OPTIONAL */
155                 struct PDCP_Config__drb__headerCompression {
156                         PDCP_Config__drb__headerCompression_PR present;
157                         union PDCP_Config__drb__headerCompression_u {
158                                 NULL_t   notUsed;
159                                 struct PDCP_Config__drb__headerCompression__rohc {
160                                         long    *maxCID;        /* DEFAULT 15 */
161                                         struct PDCP_Config__drb__headerCompression__rohc__profiles {
162                                                 BOOLEAN_t        profile0x0001;
163                                                 BOOLEAN_t        profile0x0002;
164                                                 BOOLEAN_t        profile0x0003;
165                                                 BOOLEAN_t        profile0x0004;
166                                                 BOOLEAN_t        profile0x0006;
167                                                 BOOLEAN_t        profile0x0101;
168                                                 BOOLEAN_t        profile0x0102;
169                                                 BOOLEAN_t        profile0x0103;
170                                                 BOOLEAN_t        profile0x0104;
171                                                 
172                                                 /* Context for parsing across buffer boundaries */
173                                                 asn_struct_ctx_t _asn_ctx;
174                                         } profiles;
175                                         long    *drb_ContinueROHC;      /* OPTIONAL */
176                                         
177                                         /* Context for parsing across buffer boundaries */
178                                         asn_struct_ctx_t _asn_ctx;
179                                 } *rohc;
180                                 struct PDCP_Config__drb__headerCompression__uplinkOnlyROHC {
181                                         long    *maxCID;        /* DEFAULT 15 */
182                                         struct PDCP_Config__drb__headerCompression__uplinkOnlyROHC__profiles {
183                                                 BOOLEAN_t        profile0x0006;
184                                                 
185                                                 /* Context for parsing across buffer boundaries */
186                                                 asn_struct_ctx_t _asn_ctx;
187                                         } profiles;
188                                         long    *drb_ContinueROHC;      /* OPTIONAL */
189                                         
190                                         /* Context for parsing across buffer boundaries */
191                                         asn_struct_ctx_t _asn_ctx;
192                                 } *uplinkOnlyROHC;
193                                 /*
194                                  * This type is extensible,
195                                  * possible extensions are below.
196                                  */
197                         } choice;
198                         
199                         /* Context for parsing across buffer boundaries */
200                         asn_struct_ctx_t _asn_ctx;
201                 } headerCompression;
202                 long    *integrityProtection;   /* OPTIONAL */
203                 long    *statusReportRequired;  /* OPTIONAL */
204                 long    *outOfOrderDelivery;    /* OPTIONAL */
205                 
206                 /* Context for parsing across buffer boundaries */
207                 asn_struct_ctx_t _asn_ctx;
208         } *drb;
209         struct PDCP_Config__moreThanOneRLC {
210                 struct PDCP_Config__moreThanOneRLC__primaryPath {
211                         CellGroupId_t   *cellGroup;     /* OPTIONAL */
212                         LogicalChannelIdentity_t        *logicalChannel;        /* OPTIONAL */
213                         
214                         /* Context for parsing across buffer boundaries */
215                         asn_struct_ctx_t _asn_ctx;
216                 } primaryPath;
217                 UL_DataSplitThreshold_t *ul_DataSplitThreshold; /* OPTIONAL */
218                 BOOLEAN_t       *pdcp_Duplication;      /* OPTIONAL */
219                 
220                 /* Context for parsing across buffer boundaries */
221                 asn_struct_ctx_t _asn_ctx;
222         } *moreThanOneRLC;
223         long    *t_Reordering;  /* OPTIONAL */
224         /*
225          * This type is extensible,
226          * possible extensions are below.
227          */
228         struct PDCP_Config__ext1 {
229                 long    *cipheringDisabled;     /* OPTIONAL */
230                 
231                 /* Context for parsing across buffer boundaries */
232                 asn_struct_ctx_t _asn_ctx;
233         } *ext1;
234         
235         /* Context for parsing across buffer boundaries */
236         asn_struct_ctx_t _asn_ctx;
237 } PDCP_Config_t;
238
239 /* Implementation */
240 /* extern asn_TYPE_descriptor_t asn_DEF_discardTimer_3; // (Use -fall-defs-global to expose) */
241 /* extern asn_TYPE_descriptor_t asn_DEF_pdcp_SN_SizeUL_20;      // (Use -fall-defs-global to expose) */
242 /* extern asn_TYPE_descriptor_t asn_DEF_pdcp_SN_SizeDL_23;      // (Use -fall-defs-global to expose) */
243 /* extern asn_TYPE_descriptor_t asn_DEF_drb_ContinueROHC_40;    // (Use -fall-defs-global to expose) */
244 /* extern asn_TYPE_descriptor_t asn_DEF_drb_ContinueROHC_46;    // (Use -fall-defs-global to expose) */
245 /* extern asn_TYPE_descriptor_t asn_DEF_integrityProtection_49; // (Use -fall-defs-global to expose) */
246 /* extern asn_TYPE_descriptor_t asn_DEF_statusReportRequired_51;        // (Use -fall-defs-global to expose) */
247 /* extern asn_TYPE_descriptor_t asn_DEF_outOfOrderDelivery_53;  // (Use -fall-defs-global to expose) */
248 /* extern asn_TYPE_descriptor_t asn_DEF_t_Reordering_61;        // (Use -fall-defs-global to expose) */
249 /* extern asn_TYPE_descriptor_t asn_DEF_cipheringDisabled_128;  // (Use -fall-defs-global to expose) */
250 extern asn_TYPE_descriptor_t asn_DEF_PDCP_Config;
251 extern asn_SEQUENCE_specifics_t asn_SPC_PDCP_Config_specs_1;
252 extern asn_TYPE_member_t asn_MBR_PDCP_Config_1[4];
253
254 #ifdef __cplusplus
255 }
256 #endif
257
258 #endif  /* _PDCP_Config_H_ */
259 #include <asn_internal.h>