[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-437] Establishing communication between Sourc...
[o-du/l2.git] / src / codec_utils / RRC / RadioLinkMonitoringRS.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 _RadioLinkMonitoringRS_H_
9 #define _RadioLinkMonitoringRS_H_
10
11
12 #include <asn_application.h>
13
14 /* Including external dependencies */
15 #include "RadioLinkMonitoringRS-Id.h"
16 #include <NativeEnumerated.h>
17 #include "SSB-Index.h"
18 #include "NZP-CSI-RS-ResourceId.h"
19 #include <constr_CHOICE.h>
20 #include <constr_SEQUENCE.h>
21
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25
26 /* Dependencies */
27 typedef enum RadioLinkMonitoringRS__purpose {
28         RadioLinkMonitoringRS__purpose_beamFailure      = 0,
29         RadioLinkMonitoringRS__purpose_rlf      = 1,
30         RadioLinkMonitoringRS__purpose_both     = 2
31 } e_RadioLinkMonitoringRS__purpose;
32 typedef enum RadioLinkMonitoringRS__detectionResource_PR {
33         RadioLinkMonitoringRS__detectionResource_PR_NOTHING,    /* No components present */
34         RadioLinkMonitoringRS__detectionResource_PR_ssb_Index,
35         RadioLinkMonitoringRS__detectionResource_PR_csi_RS_Index
36 } RadioLinkMonitoringRS__detectionResource_PR;
37
38 /* RadioLinkMonitoringRS */
39 typedef struct RadioLinkMonitoringRS {
40         RadioLinkMonitoringRS_Id_t       radioLinkMonitoringRS_Id;
41         long     purpose;
42         struct RadioLinkMonitoringRS__detectionResource {
43                 RadioLinkMonitoringRS__detectionResource_PR present;
44                 union RadioLinkMonitoringRS__detectionResource_u {
45                         SSB_Index_t      ssb_Index;
46                         NZP_CSI_RS_ResourceId_t  csi_RS_Index;
47                 } choice;
48                 
49                 /* Context for parsing across buffer boundaries */
50                 asn_struct_ctx_t _asn_ctx;
51         } detectionResource;
52         /*
53          * This type is extensible,
54          * possible extensions are below.
55          */
56         
57         /* Context for parsing across buffer boundaries */
58         asn_struct_ctx_t _asn_ctx;
59 } RadioLinkMonitoringRS_t;
60
61 /* Implementation */
62 /* extern asn_TYPE_descriptor_t asn_DEF_purpose_3;      // (Use -fall-defs-global to expose) */
63 extern asn_TYPE_descriptor_t asn_DEF_RadioLinkMonitoringRS;
64 extern asn_SEQUENCE_specifics_t asn_SPC_RadioLinkMonitoringRS_specs_1;
65 extern asn_TYPE_member_t asn_MBR_RadioLinkMonitoringRS_1[3];
66
67 #ifdef __cplusplus
68 }
69 #endif
70
71 #endif  /* _RadioLinkMonitoringRS_H_ */
72 #include <asn_internal.h>