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 "MeasResults.h"
10 #include "MeasResultListNR.h"
11 #include "MeasResultListEUTRA.h"
12 static asn_oer_constraints_t asn_OER_type_measResultNeighCells_constr_4 CC_NOTUSED = {
15 static asn_per_constraints_t asn_PER_type_measResultNeighCells_constr_4 CC_NOTUSED = {
16 { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } /* (0..0,...) */,
17 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
18 0, 0 /* No PER value map */
20 static asn_TYPE_member_t asn_MBR_measResultNeighCells_4[] = {
21 { ATF_POINTER, 0, offsetof(struct MeasResults__measResultNeighCells, choice.measResultListNR),
22 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
23 -1, /* IMPLICIT tag at current level */
24 &asn_DEF_MeasResultListNR,
27 0, 0, /* No default value */
30 { ATF_POINTER, 0, offsetof(struct MeasResults__measResultNeighCells, choice.measResultListEUTRA),
31 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
32 -1, /* IMPLICIT tag at current level */
33 &asn_DEF_MeasResultListEUTRA,
36 0, 0, /* No default value */
40 static const asn_TYPE_tag2member_t asn_MAP_measResultNeighCells_tag2el_4[] = {
41 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measResultListNR */
42 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* measResultListEUTRA */
44 static asn_CHOICE_specifics_t asn_SPC_measResultNeighCells_specs_4 = {
45 sizeof(struct MeasResults__measResultNeighCells),
46 offsetof(struct MeasResults__measResultNeighCells, _asn_ctx),
47 offsetof(struct MeasResults__measResultNeighCells, present),
48 sizeof(((struct MeasResults__measResultNeighCells *)0)->present),
49 asn_MAP_measResultNeighCells_tag2el_4,
50 2, /* Count of tags in the map */
52 1 /* Extensions start */
54 static /* Use -fall-defs-global to expose */
55 asn_TYPE_descriptor_t asn_DEF_measResultNeighCells_4 = {
56 "measResultNeighCells",
57 "measResultNeighCells",
59 0, /* No effective tags (pointer) */
60 0, /* No effective tags (count) */
61 0, /* No tags (pointer) */
62 0, /* No tags (count) */
63 { &asn_OER_type_measResultNeighCells_constr_4, &asn_PER_type_measResultNeighCells_constr_4, CHOICE_constraint },
64 asn_MBR_measResultNeighCells_4,
65 2, /* Elements count */
66 &asn_SPC_measResultNeighCells_specs_4 /* Additional specs */
69 asn_TYPE_member_t asn_MBR_MeasResults_1[] = {
70 { ATF_NOFLAGS, 0, offsetof(struct MeasResults, measId),
71 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
72 -1, /* IMPLICIT tag at current level */
76 0, 0, /* No default value */
79 { ATF_NOFLAGS, 0, offsetof(struct MeasResults, measResultServingMOList),
80 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
81 -1, /* IMPLICIT tag at current level */
82 &asn_DEF_MeasResultServMOList,
85 0, 0, /* No default value */
86 "measResultServingMOList"
88 { ATF_POINTER, 1, offsetof(struct MeasResults, measResultNeighCells),
89 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
90 +1, /* EXPLICIT tag at current level */
91 &asn_DEF_measResultNeighCells_4,
94 0, 0, /* No default value */
95 "measResultNeighCells"
98 static const int asn_MAP_MeasResults_oms_1[] = { 2 };
99 static const ber_tlv_tag_t asn_DEF_MeasResults_tags_1[] = {
100 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
102 static const asn_TYPE_tag2member_t asn_MAP_MeasResults_tag2el_1[] = {
103 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measId */
104 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* measResultServingMOList */
105 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* measResultNeighCells */
107 asn_SEQUENCE_specifics_t asn_SPC_MeasResults_specs_1 = {
108 sizeof(struct MeasResults),
109 offsetof(struct MeasResults, _asn_ctx),
110 asn_MAP_MeasResults_tag2el_1,
111 3, /* Count of tags in the map */
112 asn_MAP_MeasResults_oms_1, /* Optional members */
113 1, 0, /* Root/Additions */
114 3, /* First extension addition */
116 asn_TYPE_descriptor_t asn_DEF_MeasResults = {
120 asn_DEF_MeasResults_tags_1,
121 sizeof(asn_DEF_MeasResults_tags_1)
122 /sizeof(asn_DEF_MeasResults_tags_1[0]), /* 1 */
123 asn_DEF_MeasResults_tags_1, /* Same as above */
124 sizeof(asn_DEF_MeasResults_tags_1)
125 /sizeof(asn_DEF_MeasResults_tags_1[0]), /* 1 */
126 { 0, 0, SEQUENCE_constraint },
127 asn_MBR_MeasResults_1,
128 3, /* Elements count */
129 &asn_SPC_MeasResults_specs_1 /* Additional specs */