2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-UE-Variables"
4 * found in "../../../rrc_15.3_asn.asn1"
5 * `asn1c -D ./25_02_2022_RRC/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
8 #include "VarMeasConfig.h"
10 #include "MeasIdToAddModList.h"
11 #include "MeasObjectToAddModList.h"
12 #include "ReportConfigToAddModList.h"
13 #include "QuantityConfig.h"
14 static asn_oer_constraints_t asn_OER_type_s_MeasureConfig_constr_6 CC_NOTUSED = {
17 static asn_per_constraints_t asn_PER_type_s_MeasureConfig_constr_6 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 asn_TYPE_member_t asn_MBR_s_MeasureConfig_6[] = {
23 { ATF_NOFLAGS, 0, offsetof(struct VarMeasConfig__s_MeasureConfig, choice.ssb_RSRP),
24 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
25 -1, /* IMPLICIT tag at current level */
29 0, 0, /* No default value */
32 { ATF_NOFLAGS, 0, offsetof(struct VarMeasConfig__s_MeasureConfig, choice.csi_RSRP),
33 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
34 -1, /* IMPLICIT tag at current level */
38 0, 0, /* No default value */
42 static const asn_TYPE_tag2member_t asn_MAP_s_MeasureConfig_tag2el_6[] = {
43 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ssb-RSRP */
44 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* csi-RSRP */
46 static asn_CHOICE_specifics_t asn_SPC_s_MeasureConfig_specs_6 = {
47 sizeof(struct VarMeasConfig__s_MeasureConfig),
48 offsetof(struct VarMeasConfig__s_MeasureConfig, _asn_ctx),
49 offsetof(struct VarMeasConfig__s_MeasureConfig, present),
50 sizeof(((struct VarMeasConfig__s_MeasureConfig *)0)->present),
51 asn_MAP_s_MeasureConfig_tag2el_6,
52 2, /* Count of tags in the map */
54 -1 /* Extensions start */
56 static /* Use -fall-defs-global to expose */
57 asn_TYPE_descriptor_t asn_DEF_s_MeasureConfig_6 = {
61 0, /* No effective tags (pointer) */
62 0, /* No effective tags (count) */
63 0, /* No tags (pointer) */
64 0, /* No tags (count) */
65 { &asn_OER_type_s_MeasureConfig_constr_6, &asn_PER_type_s_MeasureConfig_constr_6, CHOICE_constraint },
66 asn_MBR_s_MeasureConfig_6,
67 2, /* Elements count */
68 &asn_SPC_s_MeasureConfig_specs_6 /* Additional specs */
71 static asn_TYPE_member_t asn_MBR_VarMeasConfig_1[] = {
72 { ATF_POINTER, 5, offsetof(struct VarMeasConfig, measIdList),
73 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
74 -1, /* IMPLICIT tag at current level */
75 &asn_DEF_MeasIdToAddModList,
78 0, 0, /* No default value */
81 { ATF_POINTER, 4, offsetof(struct VarMeasConfig, measObjectList),
82 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
83 -1, /* IMPLICIT tag at current level */
84 &asn_DEF_MeasObjectToAddModList,
87 0, 0, /* No default value */
90 { ATF_POINTER, 3, offsetof(struct VarMeasConfig, reportConfigList),
91 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
92 -1, /* IMPLICIT tag at current level */
93 &asn_DEF_ReportConfigToAddModList,
96 0, 0, /* No default value */
99 { ATF_POINTER, 2, offsetof(struct VarMeasConfig, quantityConfig),
100 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
101 -1, /* IMPLICIT tag at current level */
102 &asn_DEF_QuantityConfig,
105 0, 0, /* No default value */
108 { ATF_POINTER, 1, offsetof(struct VarMeasConfig, s_MeasureConfig),
109 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
110 +1, /* EXPLICIT tag at current level */
111 &asn_DEF_s_MeasureConfig_6,
114 0, 0, /* No default value */
118 static const int asn_MAP_VarMeasConfig_oms_1[] = { 0, 1, 2, 3, 4 };
119 static const ber_tlv_tag_t asn_DEF_VarMeasConfig_tags_1[] = {
120 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
122 static const asn_TYPE_tag2member_t asn_MAP_VarMeasConfig_tag2el_1[] = {
123 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measIdList */
124 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* measObjectList */
125 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* reportConfigList */
126 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* quantityConfig */
127 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* s-MeasureConfig */
129 static asn_SEQUENCE_specifics_t asn_SPC_VarMeasConfig_specs_1 = {
130 sizeof(struct VarMeasConfig),
131 offsetof(struct VarMeasConfig, _asn_ctx),
132 asn_MAP_VarMeasConfig_tag2el_1,
133 5, /* Count of tags in the map */
134 asn_MAP_VarMeasConfig_oms_1, /* Optional members */
135 5, 0, /* Root/Additions */
136 -1, /* First extension addition */
138 asn_TYPE_descriptor_t asn_DEF_VarMeasConfig = {
142 asn_DEF_VarMeasConfig_tags_1,
143 sizeof(asn_DEF_VarMeasConfig_tags_1)
144 /sizeof(asn_DEF_VarMeasConfig_tags_1[0]), /* 1 */
145 asn_DEF_VarMeasConfig_tags_1, /* Same as above */
146 sizeof(asn_DEF_VarMeasConfig_tags_1)
147 /sizeof(asn_DEF_VarMeasConfig_tags_1[0]), /* 1 */
148 { 0, 0, SEQUENCE_constraint },
149 asn_MBR_VarMeasConfig_1,
150 5, /* Elements count */
151 &asn_SPC_VarMeasConfig_specs_1 /* Additional specs */