2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
4 * found in "../ASN1_Input/rrc_15_3_asn.asn1"
5 * `asn1c -D ../RRC_output_14Nov/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
8 #include "FilterConfig.h"
10 static int asn_DFL_2_cmp_4(const void *sptr) {
11 const FilterCoefficient_t *st = sptr;
14 return -1; /* No value is not a default value */
17 /* Test default value 4 */
20 static int asn_DFL_2_set_4(void **sptr) {
21 FilterCoefficient_t *st = *sptr;
24 st = (*sptr = CALLOC(1, sizeof(*st)));
28 /* Install default value 4 */
32 static int asn_DFL_3_cmp_4(const void *sptr) {
33 const FilterCoefficient_t *st = sptr;
36 return -1; /* No value is not a default value */
39 /* Test default value 4 */
42 static int asn_DFL_3_set_4(void **sptr) {
43 FilterCoefficient_t *st = *sptr;
46 st = (*sptr = CALLOC(1, sizeof(*st)));
50 /* Install default value 4 */
54 static int asn_DFL_4_cmp_4(const void *sptr) {
55 const FilterCoefficient_t *st = sptr;
58 return -1; /* No value is not a default value */
61 /* Test default value 4 */
64 static int asn_DFL_4_set_4(void **sptr) {
65 FilterCoefficient_t *st = *sptr;
68 st = (*sptr = CALLOC(1, sizeof(*st)));
72 /* Install default value 4 */
76 asn_TYPE_member_t asn_MBR_FilterConfig_1[] = {
77 { ATF_POINTER, 3, offsetof(struct FilterConfig, filterCoefficientRSRP),
78 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
79 -1, /* IMPLICIT tag at current level */
80 &asn_DEF_FilterCoefficient,
83 &asn_DFL_2_cmp_4, /* Compare DEFAULT 4 */
84 &asn_DFL_2_set_4, /* Set DEFAULT 4 */
85 "filterCoefficientRSRP"
87 { ATF_POINTER, 2, offsetof(struct FilterConfig, filterCoefficientRSRQ),
88 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
89 -1, /* IMPLICIT tag at current level */
90 &asn_DEF_FilterCoefficient,
93 &asn_DFL_3_cmp_4, /* Compare DEFAULT 4 */
94 &asn_DFL_3_set_4, /* Set DEFAULT 4 */
95 "filterCoefficientRSRQ"
97 { ATF_POINTER, 1, offsetof(struct FilterConfig, filterCoefficientRS_SINR),
98 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
99 -1, /* IMPLICIT tag at current level */
100 &asn_DEF_FilterCoefficient,
103 &asn_DFL_4_cmp_4, /* Compare DEFAULT 4 */
104 &asn_DFL_4_set_4, /* Set DEFAULT 4 */
105 "filterCoefficientRS-SINR"
108 static const int asn_MAP_FilterConfig_oms_1[] = { 0, 1, 2 };
109 static const ber_tlv_tag_t asn_DEF_FilterConfig_tags_1[] = {
110 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
112 static const asn_TYPE_tag2member_t asn_MAP_FilterConfig_tag2el_1[] = {
113 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* filterCoefficientRSRP */
114 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* filterCoefficientRSRQ */
115 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* filterCoefficientRS-SINR */
117 asn_SEQUENCE_specifics_t asn_SPC_FilterConfig_specs_1 = {
118 sizeof(struct FilterConfig),
119 offsetof(struct FilterConfig, _asn_ctx),
120 asn_MAP_FilterConfig_tag2el_1,
121 3, /* Count of tags in the map */
122 asn_MAP_FilterConfig_oms_1, /* Optional members */
123 3, 0, /* Root/Additions */
124 -1, /* First extension addition */
126 asn_TYPE_descriptor_t asn_DEF_FilterConfig = {
130 asn_DEF_FilterConfig_tags_1,
131 sizeof(asn_DEF_FilterConfig_tags_1)
132 /sizeof(asn_DEF_FilterConfig_tags_1[0]), /* 1 */
133 asn_DEF_FilterConfig_tags_1, /* Same as above */
134 sizeof(asn_DEF_FilterConfig_tags_1)
135 /sizeof(asn_DEF_FilterConfig_tags_1[0]), /* 1 */
136 { 0, 0, SEQUENCE_constraint },
137 asn_MBR_FilterConfig_1,
138 3, /* Elements count */
139 &asn_SPC_FilterConfig_specs_1 /* Additional specs */