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`
8 #include "X2N_LastVisitedCell-Item.h"
10 #include "X2N_LastVisitedEUTRANCellInformation.h"
11 #include "X2N_LastVisitedGERANCellInformation.h"
12 asn_per_constraints_t asn_PER_type_X2N_LastVisitedCell_Item_constr_1 CC_NOTUSED = {
13 { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 2 } /* (0..2,...) */,
14 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
15 0, 0 /* No PER value map */
17 asn_TYPE_member_t asn_MBR_X2N_LastVisitedCell_Item_1[] = {
18 { ATF_POINTER, 0, offsetof(struct X2N_LastVisitedCell_Item, choice.e_UTRAN_Cell),
19 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
20 -1, /* IMPLICIT tag at current level */
21 &asn_DEF_X2N_LastVisitedEUTRANCellInformation,
24 0, 0, /* No default value */
27 { ATF_NOFLAGS, 0, offsetof(struct X2N_LastVisitedCell_Item, choice.uTRAN_Cell),
28 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
29 -1, /* IMPLICIT tag at current level */
30 &asn_DEF_X2N_LastVisitedUTRANCellInformation,
33 0, 0, /* No default value */
36 { ATF_POINTER, 0, offsetof(struct X2N_LastVisitedCell_Item, choice.gERAN_Cell),
37 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
38 +1, /* EXPLICIT tag at current level */
39 &asn_DEF_X2N_LastVisitedGERANCellInformation,
42 0, 0, /* No default value */
45 { ATF_NOFLAGS, 0, offsetof(struct X2N_LastVisitedCell_Item, choice.nG_RAN_Cell),
46 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
47 -1, /* IMPLICIT tag at current level */
48 &asn_DEF_X2N_LastVisitedNGRANCellInformation,
51 0, 0, /* No default value */
55 static const asn_TYPE_tag2member_t asn_MAP_X2N_LastVisitedCell_Item_tag2el_1[] = {
56 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* e-UTRAN-Cell */
57 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* uTRAN-Cell */
58 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gERAN-Cell */
59 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* nG-RAN-Cell */
61 asn_CHOICE_specifics_t asn_SPC_X2N_LastVisitedCell_Item_specs_1 = {
62 sizeof(struct X2N_LastVisitedCell_Item),
63 offsetof(struct X2N_LastVisitedCell_Item, _asn_ctx),
64 offsetof(struct X2N_LastVisitedCell_Item, present),
65 sizeof(((struct X2N_LastVisitedCell_Item *)0)->present),
66 asn_MAP_X2N_LastVisitedCell_Item_tag2el_1,
67 4, /* Count of tags in the map */
69 3 /* Extensions start */
71 asn_TYPE_descriptor_t asn_DEF_X2N_LastVisitedCell_Item = {
72 "LastVisitedCell-Item",
73 "LastVisitedCell-Item",
75 0, /* No effective tags (pointer) */
76 0, /* No effective tags (count) */
77 0, /* No tags (pointer) */
78 0, /* No tags (count) */
79 { 0, &asn_PER_type_X2N_LastVisitedCell_Item_constr_1, CHOICE_constraint },
80 asn_MBR_X2N_LastVisitedCell_Item_1,
81 4, /* Elements count */
82 &asn_SPC_X2N_LastVisitedCell_Item_specs_1 /* Additional specs */