Updated documentation for mock a1 tool
[ric-app/admin.git] / asn1c_defs / X2N_MeasurementThresholdA2.c
1 /*
2  * Generated by asn1c-0.9.29 n1 (http://lionet.info/asn1c)
3  * From ASN.1 module "X2AP-IEs"
4  *      found in "../../asn_defs/asn1/x2ap-15-04.asn"
5  *      `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-OER`
6  */
7
8 #include "X2N_MeasurementThresholdA2.h"
9
10 asn_per_constraints_t asn_PER_type_X2N_MeasurementThresholdA2_constr_1 CC_NOTUSED = {
11         { APC_CONSTRAINED | APC_EXTENSIBLE,  1,  1,  0,  1 }    /* (0..1,...) */,
12         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
13         0, 0    /* No PER value map */
14 };
15 asn_TYPE_member_t asn_MBR_X2N_MeasurementThresholdA2_1[] = {
16         { ATF_NOFLAGS, 0, offsetof(struct X2N_MeasurementThresholdA2, choice.threshold_RSRP),
17                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
18                 -1,     /* IMPLICIT tag at current level */
19                 &asn_DEF_X2N_Threshold_RSRP,
20                 0,
21                 { 0, 0, 0 },
22                 0, 0, /* No default value */
23                 "threshold-RSRP"
24                 },
25         { ATF_NOFLAGS, 0, offsetof(struct X2N_MeasurementThresholdA2, choice.threshold_RSRQ),
26                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
27                 -1,     /* IMPLICIT tag at current level */
28                 &asn_DEF_X2N_Threshold_RSRQ,
29                 0,
30                 { 0, 0, 0 },
31                 0, 0, /* No default value */
32                 "threshold-RSRQ"
33                 },
34 };
35 static const asn_TYPE_tag2member_t asn_MAP_X2N_MeasurementThresholdA2_tag2el_1[] = {
36     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* threshold-RSRP */
37     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* threshold-RSRQ */
38 };
39 asn_CHOICE_specifics_t asn_SPC_X2N_MeasurementThresholdA2_specs_1 = {
40         sizeof(struct X2N_MeasurementThresholdA2),
41         offsetof(struct X2N_MeasurementThresholdA2, _asn_ctx),
42         offsetof(struct X2N_MeasurementThresholdA2, present),
43         sizeof(((struct X2N_MeasurementThresholdA2 *)0)->present),
44         asn_MAP_X2N_MeasurementThresholdA2_tag2el_1,
45         2,      /* Count of tags in the map */
46         0, 0,
47         2       /* Extensions start */
48 };
49 asn_TYPE_descriptor_t asn_DEF_X2N_MeasurementThresholdA2 = {
50         "MeasurementThresholdA2",
51         "MeasurementThresholdA2",
52         &asn_OP_CHOICE,
53         0,      /* No effective tags (pointer) */
54         0,      /* No effective tags (count) */
55         0,      /* No tags (pointer) */
56         0,      /* No tags (count) */
57         { 0, &asn_PER_type_X2N_MeasurementThresholdA2_constr_1, CHOICE_constraint },
58         asn_MBR_X2N_MeasurementThresholdA2_1,
59         2,      /* Elements count */
60         &asn_SPC_X2N_MeasurementThresholdA2_specs_1     /* Additional specs */
61 };
62