2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "F1AP-IEs"
5 * `asn1c -D ./out -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
10 #include "ProtocolIE-SingleContainer.h"
11 static asn_oer_constraints_t asn_OER_type_Cause_constr_1 CC_NOTUSED = {
14 asn_per_constraints_t asn_PER_type_Cause_constr_1 CC_NOTUSED = {
15 { APC_CONSTRAINED, 3, 3, 0, 4 } /* (0..4) */,
16 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
17 0, 0 /* No PER value map */
19 asn_TYPE_member_t asn_MBR_Cause_1[] = {
20 { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.radioNetwork),
21 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
22 -1, /* IMPLICIT tag at current level */
23 &asn_DEF_CauseRadioNetwork,
26 0, 0, /* No default value */
29 { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.transport),
30 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
31 -1, /* IMPLICIT tag at current level */
32 &asn_DEF_CauseTransport,
35 0, 0, /* No default value */
38 { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.protocol),
39 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
40 -1, /* IMPLICIT tag at current level */
41 &asn_DEF_CauseProtocol,
44 0, 0, /* No default value */
47 { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.misc),
48 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
49 -1, /* IMPLICIT tag at current level */
53 0, 0, /* No default value */
56 { ATF_POINTER, 0, offsetof(struct Cause, choice.choice_extension),
57 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
58 -1, /* IMPLICIT tag at current level */
59 &asn_DEF_ProtocolIE_SingleContainer_4590P59,
62 0, 0, /* No default value */
66 static const asn_TYPE_tag2member_t asn_MAP_Cause_tag2el_1[] = {
67 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* radioNetwork */
68 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* transport */
69 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* protocol */
70 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* misc */
71 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* choice-extension */
73 asn_CHOICE_specifics_t asn_SPC_Cause_specs_1 = {
75 offsetof(struct Cause, _asn_ctx),
76 offsetof(struct Cause, present),
77 sizeof(((struct Cause *)0)->present),
78 asn_MAP_Cause_tag2el_1,
79 5, /* Count of tags in the map */
81 -1 /* Extensions start */
83 asn_TYPE_descriptor_t asn_DEF_Cause = {
87 0, /* No effective tags (pointer) */
88 0, /* No effective tags (count) */
89 0, /* No tags (pointer) */
90 0, /* No tags (count) */
91 { &asn_OER_type_Cause_constr_1, &asn_PER_type_Cause_constr_1, CHOICE_constraint },
93 5, /* Elements count */
94 &asn_SPC_Cause_specs_1 /* Additional specs */