[Epic-ID: ODUHIGH-464][Task-ID: ODUHIGH-483] Memeory related fix in FDD and TDD mode
[o-du/l2.git] / src / codec_utils / RRC / RateMatchPatternGroup.c
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 #include "RateMatchPatternGroup.h"
9
10 static asn_oer_constraints_t asn_OER_type_Member_constr_2 CC_NOTUSED = {
11         { 0, 0 },
12         -1};
13 static asn_per_constraints_t asn_PER_type_Member_constr_2 CC_NOTUSED = {
14         { APC_CONSTRAINED,       1,  1,  0,  1 }        /* (0..1) */,
15         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
16         0, 0    /* No PER value map */
17 };
18 static asn_oer_constraints_t asn_OER_type_RateMatchPatternGroup_constr_1 CC_NOTUSED = {
19         { 0, 0 },
20         -1      /* (SIZE(1..8)) */};
21 asn_per_constraints_t asn_PER_type_RateMatchPatternGroup_constr_1 CC_NOTUSED = {
22         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
23         { APC_CONSTRAINED,       3,  3,  1,  8 }        /* (SIZE(1..8)) */,
24         0, 0    /* No PER value map */
25 };
26 static asn_TYPE_member_t asn_MBR_Member_2[] = {
27         { ATF_NOFLAGS, 0, offsetof(struct RateMatchPatternGroup__Member, choice.cellLevel),
28                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
29                 -1,     /* IMPLICIT tag at current level */
30                 &asn_DEF_RateMatchPatternId,
31                 0,
32                 { 0, 0, 0 },
33                 0, 0, /* No default value */
34                 "cellLevel"
35                 },
36         { ATF_NOFLAGS, 0, offsetof(struct RateMatchPatternGroup__Member, choice.bwpLevel),
37                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
38                 -1,     /* IMPLICIT tag at current level */
39                 &asn_DEF_RateMatchPatternId,
40                 0,
41                 { 0, 0, 0 },
42                 0, 0, /* No default value */
43                 "bwpLevel"
44                 },
45 };
46 static const asn_TYPE_tag2member_t asn_MAP_Member_tag2el_2[] = {
47     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cellLevel */
48     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* bwpLevel */
49 };
50 static asn_CHOICE_specifics_t asn_SPC_Member_specs_2 = {
51         sizeof(struct RateMatchPatternGroup__Member),
52         offsetof(struct RateMatchPatternGroup__Member, _asn_ctx),
53         offsetof(struct RateMatchPatternGroup__Member, present),
54         sizeof(((struct RateMatchPatternGroup__Member *)0)->present),
55         asn_MAP_Member_tag2el_2,
56         2,      /* Count of tags in the map */
57         0, 0,
58         -1      /* Extensions start */
59 };
60 static /* Use -fall-defs-global to expose */
61 asn_TYPE_descriptor_t asn_DEF_Member_2 = {
62         "CHOICE",
63         "CHOICE",
64         &asn_OP_CHOICE,
65         0,      /* No effective tags (pointer) */
66         0,      /* No effective tags (count) */
67         0,      /* No tags (pointer) */
68         0,      /* No tags (count) */
69         { &asn_OER_type_Member_constr_2, &asn_PER_type_Member_constr_2, CHOICE_constraint },
70         asn_MBR_Member_2,
71         2,      /* Elements count */
72         &asn_SPC_Member_specs_2 /* Additional specs */
73 };
74
75 asn_TYPE_member_t asn_MBR_RateMatchPatternGroup_1[] = {
76         { ATF_POINTER, 0, 0,
77                 -1 /* Ambiguous tag (CHOICE?) */,
78                 0,
79                 &asn_DEF_Member_2,
80                 0,
81                 { 0, 0, 0 },
82                 0, 0, /* No default value */
83                 ""
84                 },
85 };
86 static const ber_tlv_tag_t asn_DEF_RateMatchPatternGroup_tags_1[] = {
87         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
88 };
89 asn_SET_OF_specifics_t asn_SPC_RateMatchPatternGroup_specs_1 = {
90         sizeof(struct RateMatchPatternGroup),
91         offsetof(struct RateMatchPatternGroup, _asn_ctx),
92         2,      /* XER encoding is XMLValueList */
93 };
94 asn_TYPE_descriptor_t asn_DEF_RateMatchPatternGroup = {
95         "RateMatchPatternGroup",
96         "RateMatchPatternGroup",
97         &asn_OP_SEQUENCE_OF,
98         asn_DEF_RateMatchPatternGroup_tags_1,
99         sizeof(asn_DEF_RateMatchPatternGroup_tags_1)
100                 /sizeof(asn_DEF_RateMatchPatternGroup_tags_1[0]), /* 1 */
101         asn_DEF_RateMatchPatternGroup_tags_1,   /* Same as above */
102         sizeof(asn_DEF_RateMatchPatternGroup_tags_1)
103                 /sizeof(asn_DEF_RateMatchPatternGroup_tags_1[0]), /* 1 */
104         { &asn_OER_type_RateMatchPatternGroup_constr_1, &asn_PER_type_RateMatchPatternGroup_constr_1, SEQUENCE_OF_constraint },
105         asn_MBR_RateMatchPatternGroup_1,
106         1,      /* Single element */
107         &asn_SPC_RateMatchPatternGroup_specs_1  /* Additional specs */
108 };
109