Merge "Cell down alarm notification [Issue-Id: ODUHIGH-430]"
[o-du/l2.git] / src / codec_utils / RRC / PUSCH-CodeBlockGroupTransmission.c
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 #include "PUSCH-CodeBlockGroupTransmission.h"
9
10 /*
11  * This type is implemented using NativeEnumerated,
12  * so here we adjust the DEF accordingly.
13  */
14 static asn_oer_constraints_t asn_OER_type_maxCodeBlockGroupsPerTransportBlock_constr_2 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 static asn_per_constraints_t asn_PER_type_maxCodeBlockGroupsPerTransportBlock_constr_2 CC_NOTUSED = {
18         { APC_CONSTRAINED,       2,  2,  0,  3 }        /* (0..3) */,
19         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
20         0, 0    /* No PER value map */
21 };
22 static const asn_INTEGER_enum_map_t asn_MAP_maxCodeBlockGroupsPerTransportBlock_value2enum_2[] = {
23         { 0,    2,      "n2" },
24         { 1,    2,      "n4" },
25         { 2,    2,      "n6" },
26         { 3,    2,      "n8" }
27 };
28 static const unsigned int asn_MAP_maxCodeBlockGroupsPerTransportBlock_enum2value_2[] = {
29         0,      /* n2(0) */
30         1,      /* n4(1) */
31         2,      /* n6(2) */
32         3       /* n8(3) */
33 };
34 static const asn_INTEGER_specifics_t asn_SPC_maxCodeBlockGroupsPerTransportBlock_specs_2 = {
35         asn_MAP_maxCodeBlockGroupsPerTransportBlock_value2enum_2,       /* "tag" => N; sorted by tag */
36         asn_MAP_maxCodeBlockGroupsPerTransportBlock_enum2value_2,       /* N => "tag"; sorted by N */
37         4,      /* Number of elements in the maps */
38         0,      /* Enumeration is not extensible */
39         1,      /* Strict enumeration */
40         0,      /* Native long size */
41         0
42 };
43 static const ber_tlv_tag_t asn_DEF_maxCodeBlockGroupsPerTransportBlock_tags_2[] = {
44         (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
45         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
46 };
47 static /* Use -fall-defs-global to expose */
48 asn_TYPE_descriptor_t asn_DEF_maxCodeBlockGroupsPerTransportBlock_2 = {
49         "maxCodeBlockGroupsPerTransportBlock",
50         "maxCodeBlockGroupsPerTransportBlock",
51         &asn_OP_NativeEnumerated,
52         asn_DEF_maxCodeBlockGroupsPerTransportBlock_tags_2,
53         sizeof(asn_DEF_maxCodeBlockGroupsPerTransportBlock_tags_2)
54                 /sizeof(asn_DEF_maxCodeBlockGroupsPerTransportBlock_tags_2[0]) - 1, /* 1 */
55         asn_DEF_maxCodeBlockGroupsPerTransportBlock_tags_2,     /* Same as above */
56         sizeof(asn_DEF_maxCodeBlockGroupsPerTransportBlock_tags_2)
57                 /sizeof(asn_DEF_maxCodeBlockGroupsPerTransportBlock_tags_2[0]), /* 2 */
58         { &asn_OER_type_maxCodeBlockGroupsPerTransportBlock_constr_2, &asn_PER_type_maxCodeBlockGroupsPerTransportBlock_constr_2, NativeEnumerated_constraint },
59         0, 0,   /* Defined elsewhere */
60         &asn_SPC_maxCodeBlockGroupsPerTransportBlock_specs_2    /* Additional specs */
61 };
62
63 asn_TYPE_member_t asn_MBR_PUSCH_CodeBlockGroupTransmission_1[] = {
64         { ATF_NOFLAGS, 0, offsetof(struct PUSCH_CodeBlockGroupTransmission, maxCodeBlockGroupsPerTransportBlock),
65                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
66                 -1,     /* IMPLICIT tag at current level */
67                 &asn_DEF_maxCodeBlockGroupsPerTransportBlock_2,
68                 0,
69                 { 0, 0, 0 },
70                 0, 0, /* No default value */
71                 "maxCodeBlockGroupsPerTransportBlock"
72                 },
73 };
74 static const ber_tlv_tag_t asn_DEF_PUSCH_CodeBlockGroupTransmission_tags_1[] = {
75         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
76 };
77 static const asn_TYPE_tag2member_t asn_MAP_PUSCH_CodeBlockGroupTransmission_tag2el_1[] = {
78     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* maxCodeBlockGroupsPerTransportBlock */
79 };
80 asn_SEQUENCE_specifics_t asn_SPC_PUSCH_CodeBlockGroupTransmission_specs_1 = {
81         sizeof(struct PUSCH_CodeBlockGroupTransmission),
82         offsetof(struct PUSCH_CodeBlockGroupTransmission, _asn_ctx),
83         asn_MAP_PUSCH_CodeBlockGroupTransmission_tag2el_1,
84         1,      /* Count of tags in the map */
85         0, 0, 0,        /* Optional elements (not needed) */
86         1,      /* First extension addition */
87 };
88 asn_TYPE_descriptor_t asn_DEF_PUSCH_CodeBlockGroupTransmission = {
89         "PUSCH-CodeBlockGroupTransmission",
90         "PUSCH-CodeBlockGroupTransmission",
91         &asn_OP_SEQUENCE,
92         asn_DEF_PUSCH_CodeBlockGroupTransmission_tags_1,
93         sizeof(asn_DEF_PUSCH_CodeBlockGroupTransmission_tags_1)
94                 /sizeof(asn_DEF_PUSCH_CodeBlockGroupTransmission_tags_1[0]), /* 1 */
95         asn_DEF_PUSCH_CodeBlockGroupTransmission_tags_1,        /* Same as above */
96         sizeof(asn_DEF_PUSCH_CodeBlockGroupTransmission_tags_1)
97                 /sizeof(asn_DEF_PUSCH_CodeBlockGroupTransmission_tags_1[0]), /* 1 */
98         { 0, 0, SEQUENCE_constraint },
99         asn_MBR_PUSCH_CodeBlockGroupTransmission_1,
100         1,      /* Elements count */
101         &asn_SPC_PUSCH_CodeBlockGroupTransmission_specs_1       /* Additional specs */
102 };
103