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`
8 #ifndef _RateMatchPattern_H_
9 #define _RateMatchPattern_H_
12 #include <asn_application.h>
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>
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;
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 {
65 BIT_STRING_t twoSlots;
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 {
83 /* Context for parsing across buffer boundaries */
84 asn_struct_ctx_t _asn_ctx;
85 } *periodicityAndPattern;
87 * This type is extensible,
88 * possible extensions are below.
91 /* Context for parsing across buffer boundaries */
92 asn_struct_ctx_t _asn_ctx;
94 ControlResourceSetId_t controlResourceSet;
97 /* Context for parsing across buffer boundaries */
98 asn_struct_ctx_t _asn_ctx;
100 SubcarrierSpacing_t *subcarrierSpacing; /* OPTIONAL */
103 * This type is extensible,
104 * possible extensions are below.
107 /* Context for parsing across buffer boundaries */
108 asn_struct_ctx_t _asn_ctx;
109 } RateMatchPattern_t;
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];
121 #endif /* _RateMatchPattern_H_ */
122 #include <asn_internal.h>