0a4705667a6ca79a367177427ef12da738823917
[o-du/l2.git] / src / codec_utils / F1AP / Cause.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "F1AP-IEs"
4  *      found in "F1.asn1"
5  *      `asn1c -D ./out -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "Cause.h"
9
10 #include "ProtocolIE-SingleContainer.h"
11 static asn_oer_constraints_t asn_OER_type_Cause_constr_1 CC_NOTUSED = {
12         { 0, 0 },
13         -1};
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 */
18 };
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,
24                 0,
25                 { 0, 0, 0 },
26                 0, 0, /* No default value */
27                 "radioNetwork"
28                 },
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,
33                 0,
34                 { 0, 0, 0 },
35                 0, 0, /* No default value */
36                 "transport"
37                 },
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,
42                 0,
43                 { 0, 0, 0 },
44                 0, 0, /* No default value */
45                 "protocol"
46                 },
47         { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.misc),
48                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
49                 -1,     /* IMPLICIT tag at current level */
50                 &asn_DEF_CauseMisc,
51                 0,
52                 { 0, 0, 0 },
53                 0, 0, /* No default value */
54                 "misc"
55                 },
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,
60                 0,
61                 { 0, 0, 0 },
62                 0, 0, /* No default value */
63                 "choice-extension"
64                 },
65 };
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 */
72 };
73 asn_CHOICE_specifics_t asn_SPC_Cause_specs_1 = {
74         sizeof(struct Cause),
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 */
80         0, 0,
81         -1      /* Extensions start */
82 };
83 asn_TYPE_descriptor_t asn_DEF_Cause = {
84         "Cause",
85         "Cause",
86         &asn_OP_CHOICE,
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 },
92         asn_MBR_Cause_1,
93         5,      /* Elements count */
94         &asn_SPC_Cause_specs_1  /* Additional specs */
95 };
96