[Epic-ID: ODUHIGH-464][Task-ID: ODUHIGH-483] Memeory related fix in FDD and TDD mode
[o-du/l2.git] / src / codec_utils / RRC / UplinkConfig.h
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "NR-RRC-Definitions"
4  *      found in "../ASN1_Input/rrc_15_3_asn.asn1"
5  *      `asn1c -D ../RRC_output_14Nov/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
6  */
7
8 #ifndef _UplinkConfig_H_
9 #define _UplinkConfig_H_
10
11
12 #include <asn_application.h>
13
14 /* Including external dependencies */
15 #include "BWP-Id.h"
16 #include <asn_SEQUENCE_OF.h>
17 #include <constr_SEQUENCE_OF.h>
18 #include <NULL.h>
19 #include <constr_CHOICE.h>
20 #include <BOOLEAN.h>
21 #include <constr_SEQUENCE.h>
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27 /* Dependencies */
28 typedef enum UplinkConfig__pusch_ServingCellConfig_PR {
29         UplinkConfig__pusch_ServingCellConfig_PR_NOTHING,       /* No components present */
30         UplinkConfig__pusch_ServingCellConfig_PR_release,
31         UplinkConfig__pusch_ServingCellConfig_PR_setup
32 } UplinkConfig__pusch_ServingCellConfig_PR;
33 typedef enum UplinkConfig__carrierSwitching_PR {
34         UplinkConfig__carrierSwitching_PR_NOTHING,      /* No components present */
35         UplinkConfig__carrierSwitching_PR_release,
36         UplinkConfig__carrierSwitching_PR_setup
37 } UplinkConfig__carrierSwitching_PR;
38
39 /* Forward declarations */
40 struct BWP_UplinkDedicated;
41 struct BWP_Uplink;
42 struct PUSCH_ServingCellConfig;
43 struct SRS_CarrierSwitching;
44 struct SCS_SpecificCarrier;
45
46 /* UplinkConfig */
47 typedef struct UplinkConfig {
48         struct BWP_UplinkDedicated      *initialUplinkBWP;      /* OPTIONAL */
49         struct UplinkConfig__uplinkBWP_ToReleaseList {
50                 A_SEQUENCE_OF(BWP_Id_t) list;
51                 
52                 /* Context for parsing across buffer boundaries */
53                 asn_struct_ctx_t _asn_ctx;
54         } *uplinkBWP_ToReleaseList;
55         struct UplinkConfig__uplinkBWP_ToAddModList {
56                 A_SEQUENCE_OF(struct BWP_Uplink) list;
57                 
58                 /* Context for parsing across buffer boundaries */
59                 asn_struct_ctx_t _asn_ctx;
60         } *uplinkBWP_ToAddModList;
61         BWP_Id_t        *firstActiveUplinkBWP_Id;       /* OPTIONAL */
62         struct UplinkConfig__pusch_ServingCellConfig {
63                 UplinkConfig__pusch_ServingCellConfig_PR present;
64                 union UplinkConfig__pusch_ServingCellConfig_u {
65                         NULL_t   release;
66                         struct PUSCH_ServingCellConfig  *setup;
67                 } choice;
68                 
69                 /* Context for parsing across buffer boundaries */
70                 asn_struct_ctx_t _asn_ctx;
71         } *pusch_ServingCellConfig;
72         struct UplinkConfig__carrierSwitching {
73                 UplinkConfig__carrierSwitching_PR present;
74                 union UplinkConfig__carrierSwitching_u {
75                         NULL_t   release;
76                         struct SRS_CarrierSwitching     *setup;
77                 } choice;
78                 
79                 /* Context for parsing across buffer boundaries */
80                 asn_struct_ctx_t _asn_ctx;
81         } *carrierSwitching;
82         /*
83          * This type is extensible,
84          * possible extensions are below.
85          */
86         struct UplinkConfig__ext1 {
87                 BOOLEAN_t       *powerBoostPi2BPSK;     /* OPTIONAL */
88                 struct UplinkConfig__ext1__uplinkChannelBW_PerSCS_List {
89                         A_SEQUENCE_OF(struct SCS_SpecificCarrier) list;
90                         
91                         /* Context for parsing across buffer boundaries */
92                         asn_struct_ctx_t _asn_ctx;
93                 } *uplinkChannelBW_PerSCS_List;
94                 
95                 /* Context for parsing across buffer boundaries */
96                 asn_struct_ctx_t _asn_ctx;
97         } *ext1;
98         
99         /* Context for parsing across buffer boundaries */
100         asn_struct_ctx_t _asn_ctx;
101 } UplinkConfig_t;
102
103 /* Implementation */
104 extern asn_TYPE_descriptor_t asn_DEF_UplinkConfig;
105 extern asn_SEQUENCE_specifics_t asn_SPC_UplinkConfig_specs_1;
106 extern asn_TYPE_member_t asn_MBR_UplinkConfig_1[7];
107
108 #ifdef __cplusplus
109 }
110 #endif
111
112 #endif  /* _UplinkConfig_H_ */
113 #include <asn_internal.h>