2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
4 * found in "02_Aug/rrc_15_3_asn.asn1"
5 * `asn1c -D ./Aug02 -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
11 * This type is implemented using NativeEnumerated,
12 * so here we adjust the DEF accordingly.
14 static asn_oer_constraints_t asn_OER_type_maxRetxThreshold_constr_6 CC_NOTUSED = {
17 static asn_per_constraints_t asn_PER_type_maxRetxThreshold_constr_6 CC_NOTUSED = {
18 { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */,
19 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
20 0, 0 /* No PER value map */
22 static const asn_INTEGER_enum_map_t asn_MAP_maxRetxThreshold_value2enum_6[] = {
32 static const unsigned int asn_MAP_maxRetxThreshold_enum2value_6[] = {
42 static const asn_INTEGER_specifics_t asn_SPC_maxRetxThreshold_specs_6 = {
43 asn_MAP_maxRetxThreshold_value2enum_6, /* "tag" => N; sorted by tag */
44 asn_MAP_maxRetxThreshold_enum2value_6, /* N => "tag"; sorted by N */
45 8, /* Number of elements in the maps */
46 0, /* Enumeration is not extensible */
47 1, /* Strict enumeration */
48 0, /* Native long size */
51 static const ber_tlv_tag_t asn_DEF_maxRetxThreshold_tags_6[] = {
52 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
53 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
55 static /* Use -fall-defs-global to expose */
56 asn_TYPE_descriptor_t asn_DEF_maxRetxThreshold_6 = {
59 &asn_OP_NativeEnumerated,
60 asn_DEF_maxRetxThreshold_tags_6,
61 sizeof(asn_DEF_maxRetxThreshold_tags_6)
62 /sizeof(asn_DEF_maxRetxThreshold_tags_6[0]) - 1, /* 1 */
63 asn_DEF_maxRetxThreshold_tags_6, /* Same as above */
64 sizeof(asn_DEF_maxRetxThreshold_tags_6)
65 /sizeof(asn_DEF_maxRetxThreshold_tags_6[0]), /* 2 */
66 { &asn_OER_type_maxRetxThreshold_constr_6, &asn_PER_type_maxRetxThreshold_constr_6, NativeEnumerated_constraint },
67 0, 0, /* Defined elsewhere */
68 &asn_SPC_maxRetxThreshold_specs_6 /* Additional specs */
71 asn_TYPE_member_t asn_MBR_UL_AM_RLC_1[] = {
72 { ATF_POINTER, 1, offsetof(struct UL_AM_RLC, sn_FieldLength),
73 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
74 -1, /* IMPLICIT tag at current level */
75 &asn_DEF_SN_FieldLengthAM,
78 0, 0, /* No default value */
81 { ATF_NOFLAGS, 0, offsetof(struct UL_AM_RLC, t_PollRetransmit),
82 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
83 -1, /* IMPLICIT tag at current level */
84 &asn_DEF_T_PollRetransmit,
87 0, 0, /* No default value */
90 { ATF_NOFLAGS, 0, offsetof(struct UL_AM_RLC, pollPDU),
91 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
92 -1, /* IMPLICIT tag at current level */
96 0, 0, /* No default value */
99 { ATF_NOFLAGS, 0, offsetof(struct UL_AM_RLC, pollByte),
100 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
101 -1, /* IMPLICIT tag at current level */
105 0, 0, /* No default value */
108 { ATF_NOFLAGS, 0, offsetof(struct UL_AM_RLC, maxRetxThreshold),
109 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
110 -1, /* IMPLICIT tag at current level */
111 &asn_DEF_maxRetxThreshold_6,
114 0, 0, /* No default value */
118 static const int asn_MAP_UL_AM_RLC_oms_1[] = { 0 };
119 static const ber_tlv_tag_t asn_DEF_UL_AM_RLC_tags_1[] = {
120 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
122 static const asn_TYPE_tag2member_t asn_MAP_UL_AM_RLC_tag2el_1[] = {
123 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sn-FieldLength */
124 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* t-PollRetransmit */
125 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* pollPDU */
126 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* pollByte */
127 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* maxRetxThreshold */
129 asn_SEQUENCE_specifics_t asn_SPC_UL_AM_RLC_specs_1 = {
130 sizeof(struct UL_AM_RLC),
131 offsetof(struct UL_AM_RLC, _asn_ctx),
132 asn_MAP_UL_AM_RLC_tag2el_1,
133 5, /* Count of tags in the map */
134 asn_MAP_UL_AM_RLC_oms_1, /* Optional members */
135 1, 0, /* Root/Additions */
136 -1, /* First extension addition */
138 asn_TYPE_descriptor_t asn_DEF_UL_AM_RLC = {
142 asn_DEF_UL_AM_RLC_tags_1,
143 sizeof(asn_DEF_UL_AM_RLC_tags_1)
144 /sizeof(asn_DEF_UL_AM_RLC_tags_1[0]), /* 1 */
145 asn_DEF_UL_AM_RLC_tags_1, /* Same as above */
146 sizeof(asn_DEF_UL_AM_RLC_tags_1)
147 /sizeof(asn_DEF_UL_AM_RLC_tags_1[0]), /* 1 */
148 { 0, 0, SEQUENCE_constraint },
150 5, /* Elements count */
151 &asn_SPC_UL_AM_RLC_specs_1 /* Additional specs */