2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
4 * found in "../../../rrc_15.5.1_asn.asn1"
5 * `asn1c -D ./rrc_out_hlal -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
8 #include "SRI-PUSCH-PowerControl.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_sri_PUSCH_ClosedLoopIndex_constr_5 CC_NOTUSED = {
17 static asn_per_constraints_t asn_PER_type_sri_PUSCH_ClosedLoopIndex_constr_5 CC_NOTUSED = {
18 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
19 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
20 0, 0 /* No PER value map */
22 static const asn_INTEGER_enum_map_t asn_MAP_sri_PUSCH_ClosedLoopIndex_value2enum_5[] = {
26 static const unsigned int asn_MAP_sri_PUSCH_ClosedLoopIndex_enum2value_5[] = {
30 static const asn_INTEGER_specifics_t asn_SPC_sri_PUSCH_ClosedLoopIndex_specs_5 = {
31 asn_MAP_sri_PUSCH_ClosedLoopIndex_value2enum_5, /* "tag" => N; sorted by tag */
32 asn_MAP_sri_PUSCH_ClosedLoopIndex_enum2value_5, /* N => "tag"; sorted by N */
33 2, /* Number of elements in the maps */
34 0, /* Enumeration is not extensible */
35 1, /* Strict enumeration */
36 0, /* Native long size */
39 static const ber_tlv_tag_t asn_DEF_sri_PUSCH_ClosedLoopIndex_tags_5[] = {
40 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
41 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
43 static /* Use -fall-defs-global to expose */
44 asn_TYPE_descriptor_t asn_DEF_sri_PUSCH_ClosedLoopIndex_5 = {
45 "sri-PUSCH-ClosedLoopIndex",
46 "sri-PUSCH-ClosedLoopIndex",
47 &asn_OP_NativeEnumerated,
48 asn_DEF_sri_PUSCH_ClosedLoopIndex_tags_5,
49 sizeof(asn_DEF_sri_PUSCH_ClosedLoopIndex_tags_5)
50 /sizeof(asn_DEF_sri_PUSCH_ClosedLoopIndex_tags_5[0]) - 1, /* 1 */
51 asn_DEF_sri_PUSCH_ClosedLoopIndex_tags_5, /* Same as above */
52 sizeof(asn_DEF_sri_PUSCH_ClosedLoopIndex_tags_5)
53 /sizeof(asn_DEF_sri_PUSCH_ClosedLoopIndex_tags_5[0]), /* 2 */
54 { &asn_OER_type_sri_PUSCH_ClosedLoopIndex_constr_5, &asn_PER_type_sri_PUSCH_ClosedLoopIndex_constr_5, NativeEnumerated_constraint },
55 0, 0, /* Defined elsewhere */
56 &asn_SPC_sri_PUSCH_ClosedLoopIndex_specs_5 /* Additional specs */
59 asn_TYPE_member_t asn_MBR_SRI_PUSCH_PowerControl_1[] = {
60 { ATF_NOFLAGS, 0, offsetof(struct SRI_PUSCH_PowerControl, sri_PUSCH_PowerControlId),
61 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
62 -1, /* IMPLICIT tag at current level */
63 &asn_DEF_SRI_PUSCH_PowerControlId,
66 0, 0, /* No default value */
67 "sri-PUSCH-PowerControlId"
69 { ATF_NOFLAGS, 0, offsetof(struct SRI_PUSCH_PowerControl, sri_PUSCH_PathlossReferenceRS_Id),
70 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
71 -1, /* IMPLICIT tag at current level */
72 &asn_DEF_PUSCH_PathlossReferenceRS_Id,
75 0, 0, /* No default value */
76 "sri-PUSCH-PathlossReferenceRS-Id"
78 { ATF_NOFLAGS, 0, offsetof(struct SRI_PUSCH_PowerControl, sri_P0_PUSCH_AlphaSetId),
79 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
80 -1, /* IMPLICIT tag at current level */
81 &asn_DEF_P0_PUSCH_AlphaSetId,
84 0, 0, /* No default value */
85 "sri-P0-PUSCH-AlphaSetId"
87 { ATF_NOFLAGS, 0, offsetof(struct SRI_PUSCH_PowerControl, sri_PUSCH_ClosedLoopIndex),
88 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
89 -1, /* IMPLICIT tag at current level */
90 &asn_DEF_sri_PUSCH_ClosedLoopIndex_5,
93 0, 0, /* No default value */
94 "sri-PUSCH-ClosedLoopIndex"
97 static const ber_tlv_tag_t asn_DEF_SRI_PUSCH_PowerControl_tags_1[] = {
98 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
100 static const asn_TYPE_tag2member_t asn_MAP_SRI_PUSCH_PowerControl_tag2el_1[] = {
101 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sri-PUSCH-PowerControlId */
102 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* sri-PUSCH-PathlossReferenceRS-Id */
103 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* sri-P0-PUSCH-AlphaSetId */
104 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* sri-PUSCH-ClosedLoopIndex */
106 asn_SEQUENCE_specifics_t asn_SPC_SRI_PUSCH_PowerControl_specs_1 = {
107 sizeof(struct SRI_PUSCH_PowerControl),
108 offsetof(struct SRI_PUSCH_PowerControl, _asn_ctx),
109 asn_MAP_SRI_PUSCH_PowerControl_tag2el_1,
110 4, /* Count of tags in the map */
111 0, 0, 0, /* Optional elements (not needed) */
112 -1, /* First extension addition */
114 asn_TYPE_descriptor_t asn_DEF_SRI_PUSCH_PowerControl = {
115 "SRI-PUSCH-PowerControl",
116 "SRI-PUSCH-PowerControl",
118 asn_DEF_SRI_PUSCH_PowerControl_tags_1,
119 sizeof(asn_DEF_SRI_PUSCH_PowerControl_tags_1)
120 /sizeof(asn_DEF_SRI_PUSCH_PowerControl_tags_1[0]), /* 1 */
121 asn_DEF_SRI_PUSCH_PowerControl_tags_1, /* Same as above */
122 sizeof(asn_DEF_SRI_PUSCH_PowerControl_tags_1)
123 /sizeof(asn_DEF_SRI_PUSCH_PowerControl_tags_1[0]), /* 1 */
124 { 0, 0, SEQUENCE_constraint },
125 asn_MBR_SRI_PUSCH_PowerControl_1,
126 4, /* Elements count */
127 &asn_SPC_SRI_PUSCH_PowerControl_specs_1 /* Additional specs */