blob: 3e688cc14e7eba79c60686b1e0e52febf4962931 [file] [log] [blame]
Harald Welteee091892015-09-10 10:22:03 +02001/*
2 * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
3 * From ASN.1 module "RANAP-IEs"
4 * found in "../../asn1/ranap/RANAP-IEs.asn"
5 */
6
Neels Hofmeyrf1f2d7c2016-01-05 12:00:06 +01007#include <osmocom/ranap/RANAP_Cause.h>
Harald Welteee091892015-09-10 10:22:03 +02008
9static asn_per_constraints_t asn_PER_type_RANAP_Cause_constr_1 GCC_NOTUSED = {
10 { APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0l, 5l } /* (0..5,...) */,
11 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
12 0, 0 /* No PER value map */
13};
14static asn_TYPE_member_t asn_MBR_RANAP_Cause_1[] = {
15 { ATF_NOFLAGS, 0, offsetof(struct RANAP_Cause, choice.radioNetwork),
16 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
17 -1, /* IMPLICIT tag at current level */
18 &asn_DEF_RANAP_CauseRadioNetwork,
19 0, /* Defer constraints checking to the member type */
20 0, /* No PER visible constraints */
21 0,
22 "radioNetwork"
23 },
24 { ATF_NOFLAGS, 0, offsetof(struct RANAP_Cause, choice.transmissionNetwork),
25 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
26 -1, /* IMPLICIT tag at current level */
27 &asn_DEF_RANAP_CauseTransmissionNetwork,
28 0, /* Defer constraints checking to the member type */
29 0, /* No PER visible constraints */
30 0,
31 "transmissionNetwork"
32 },
33 { ATF_NOFLAGS, 0, offsetof(struct RANAP_Cause, choice.nAS),
34 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
35 -1, /* IMPLICIT tag at current level */
36 &asn_DEF_RANAP_CauseNAS,
37 0, /* Defer constraints checking to the member type */
38 0, /* No PER visible constraints */
39 0,
40 "nAS"
41 },
42 { ATF_NOFLAGS, 0, offsetof(struct RANAP_Cause, choice.protocol),
43 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
44 -1, /* IMPLICIT tag at current level */
45 &asn_DEF_RANAP_CauseProtocol,
46 0, /* Defer constraints checking to the member type */
47 0, /* No PER visible constraints */
48 0,
49 "protocol"
50 },
51 { ATF_NOFLAGS, 0, offsetof(struct RANAP_Cause, choice.misc),
52 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
53 -1, /* IMPLICIT tag at current level */
54 &asn_DEF_RANAP_CauseMisc,
55 0, /* Defer constraints checking to the member type */
56 0, /* No PER visible constraints */
57 0,
58 "misc"
59 },
60 { ATF_NOFLAGS, 0, offsetof(struct RANAP_Cause, choice.non_Standard),
61 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
62 -1, /* IMPLICIT tag at current level */
63 &asn_DEF_RANAP_CauseNon_Standard,
64 0, /* Defer constraints checking to the member type */
65 0, /* No PER visible constraints */
66 0,
67 "non-Standard"
68 },
69 { ATF_NOFLAGS, 0, offsetof(struct RANAP_Cause, choice.radioNetworkExtension),
70 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
71 -1, /* IMPLICIT tag at current level */
72 &asn_DEF_RANAP_CauseRadioNetworkExtension,
73 0, /* Defer constraints checking to the member type */
74 0, /* No PER visible constraints */
75 0,
76 "radioNetworkExtension"
77 },
78};
79static const asn_TYPE_tag2member_t asn_MAP_RANAP_Cause_tag2el_1[] = {
80 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* radioNetwork */
81 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* transmissionNetwork */
82 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* nAS */
83 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* protocol */
84 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* misc */
85 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* non-Standard */
86 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* radioNetworkExtension */
87};
88static asn_CHOICE_specifics_t asn_SPC_RANAP_Cause_specs_1 = {
89 sizeof(struct RANAP_Cause),
90 offsetof(struct RANAP_Cause, _asn_ctx),
91 offsetof(struct RANAP_Cause, present),
92 sizeof(((struct RANAP_Cause *)0)->present),
93 asn_MAP_RANAP_Cause_tag2el_1,
94 7, /* Count of tags in the map */
95 0,
96 6 /* Extensions start */
97};
98asn_TYPE_descriptor_t asn_DEF_RANAP_Cause = {
99 "RANAP_Cause",
100 "RANAP_Cause",
101 CHOICE_free,
102 CHOICE_print,
103 CHOICE_constraint,
104 CHOICE_decode_ber,
105 CHOICE_encode_der,
106 CHOICE_decode_xer,
107 CHOICE_encode_xer,
108 CHOICE_decode_uper,
109 CHOICE_encode_uper,
110 CHOICE_decode_aper,
111 CHOICE_encode_aper,
112 CHOICE_outmost_tag,
113 0, /* No effective tags (pointer) */
114 0, /* No effective tags (count) */
115 0, /* No tags (pointer) */
116 0, /* No tags (count) */
117 &asn_PER_type_RANAP_Cause_constr_1,
118 asn_MBR_RANAP_Cause_1,
119 7, /* Elements count */
120 &asn_SPC_RANAP_Cause_specs_1 /* Additional specs */
121};
122