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`
8 #include "PDSCH-CodeBlockGroupTransmission.h"
11 * This type is implemented using NativeEnumerated,
12 * so here we adjust the DEF accordingly.
14 static asn_oer_constraints_t asn_OER_type_maxCodeBlockGroupsPerTransportBlock_constr_2 CC_NOTUSED = {
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 */
22 static const asn_INTEGER_enum_map_t asn_MAP_maxCodeBlockGroupsPerTransportBlock_value2enum_2[] = {
28 static const unsigned int asn_MAP_maxCodeBlockGroupsPerTransportBlock_enum2value_2[] = {
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 */
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))
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 */
63 asn_TYPE_member_t asn_MBR_PDSCH_CodeBlockGroupTransmission_1[] = {
64 { ATF_NOFLAGS, 0, offsetof(struct PDSCH_CodeBlockGroupTransmission, maxCodeBlockGroupsPerTransportBlock),
65 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
66 -1, /* IMPLICIT tag at current level */
67 &asn_DEF_maxCodeBlockGroupsPerTransportBlock_2,
70 0, 0, /* No default value */
71 "maxCodeBlockGroupsPerTransportBlock"
73 { ATF_NOFLAGS, 0, offsetof(struct PDSCH_CodeBlockGroupTransmission, codeBlockGroupFlushIndicator),
74 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
75 -1, /* IMPLICIT tag at current level */
79 0, 0, /* No default value */
80 "codeBlockGroupFlushIndicator"
83 static const ber_tlv_tag_t asn_DEF_PDSCH_CodeBlockGroupTransmission_tags_1[] = {
84 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
86 static const asn_TYPE_tag2member_t asn_MAP_PDSCH_CodeBlockGroupTransmission_tag2el_1[] = {
87 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* maxCodeBlockGroupsPerTransportBlock */
88 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* codeBlockGroupFlushIndicator */
90 asn_SEQUENCE_specifics_t asn_SPC_PDSCH_CodeBlockGroupTransmission_specs_1 = {
91 sizeof(struct PDSCH_CodeBlockGroupTransmission),
92 offsetof(struct PDSCH_CodeBlockGroupTransmission, _asn_ctx),
93 asn_MAP_PDSCH_CodeBlockGroupTransmission_tag2el_1,
94 2, /* Count of tags in the map */
95 0, 0, 0, /* Optional elements (not needed) */
96 2, /* First extension addition */
98 asn_TYPE_descriptor_t asn_DEF_PDSCH_CodeBlockGroupTransmission = {
99 "PDSCH-CodeBlockGroupTransmission",
100 "PDSCH-CodeBlockGroupTransmission",
102 asn_DEF_PDSCH_CodeBlockGroupTransmission_tags_1,
103 sizeof(asn_DEF_PDSCH_CodeBlockGroupTransmission_tags_1)
104 /sizeof(asn_DEF_PDSCH_CodeBlockGroupTransmission_tags_1[0]), /* 1 */
105 asn_DEF_PDSCH_CodeBlockGroupTransmission_tags_1, /* Same as above */
106 sizeof(asn_DEF_PDSCH_CodeBlockGroupTransmission_tags_1)
107 /sizeof(asn_DEF_PDSCH_CodeBlockGroupTransmission_tags_1[0]), /* 1 */
108 { 0, 0, SEQUENCE_constraint },
109 asn_MBR_PDSCH_CodeBlockGroupTransmission_1,
110 2, /* Elements count */
111 &asn_SPC_PDSCH_CodeBlockGroupTransmission_specs_1 /* Additional specs */