blob: df97d4b5b63b92cae78e6ba1d2de0714d9bf926c [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
7#include "RANAP_SDU-Parameters.h"
8
9static asn_per_constraints_t asn_PER_type_RANAP_SDU_Parameters_constr_1 GCC_NOTUSED = {
10 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
11 { APC_CONSTRAINED, 3, 3, 1l, 7l } /* (SIZE(1..7)) */,
12 0, 0 /* No PER value map */
13};
14static asn_TYPE_member_t asn_MBR_MemberA_2[] = {
15 { ATF_POINTER, 1, offsetof(struct MemberA, sDU_ErrorRatio),
16 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
17 -1, /* IMPLICIT tag at current level */
18 &asn_DEF_RANAP_SDU_ErrorRatio,
19 0, /* Defer constraints checking to the member type */
20 0, /* No PER visible constraints */
21 0,
22 "sDU-ErrorRatio"
23 },
24 { ATF_NOFLAGS, 0, offsetof(struct MemberA, residualBitErrorRatio),
25 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
26 -1, /* IMPLICIT tag at current level */
27 &asn_DEF_RANAP_ResidualBitErrorRatio,
28 0, /* Defer constraints checking to the member type */
29 0, /* No PER visible constraints */
30 0,
31 "residualBitErrorRatio"
32 },
33 { ATF_NOFLAGS, 0, offsetof(struct MemberA, deliveryOfErroneousSDU),
34 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
35 -1, /* IMPLICIT tag at current level */
36 &asn_DEF_RANAP_DeliveryOfErroneousSDU,
37 0, /* Defer constraints checking to the member type */
38 0, /* No PER visible constraints */
39 0,
40 "deliveryOfErroneousSDU"
41 },
42 { ATF_POINTER, 2, offsetof(struct MemberA, sDU_FormatInformationParameters),
43 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
44 -1, /* IMPLICIT tag at current level */
45 &asn_DEF_RANAP_SDU_FormatInformationParameters,
46 0, /* Defer constraints checking to the member type */
47 0, /* No PER visible constraints */
48 0,
49 "sDU-FormatInformationParameters"
50 },
51 { ATF_POINTER, 1, offsetof(struct MemberA, iE_Extensions),
52 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
53 -1, /* IMPLICIT tag at current level */
54 &asn_DEF_RANAP_IE_Extensions,
55 0, /* Defer constraints checking to the member type */
56 0, /* No PER visible constraints */
57 0,
58 "iE-Extensions"
59 },
60};
61static const int asn_MAP_MemberA_oms_2[] = { 0, 3, 4 };
62static const ber_tlv_tag_t asn_DEF_MemberA_tags_2[] = {
63 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
64};
65static const asn_TYPE_tag2member_t asn_MAP_MemberA_tag2el_2[] = {
66 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sDU-ErrorRatio */
67 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* residualBitErrorRatio */
68 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* deliveryOfErroneousSDU */
69 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* sDU-FormatInformationParameters */
70 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* iE-Extensions */
71};
72static asn_SEQUENCE_specifics_t asn_SPC_MemberA_specs_2 = {
73 sizeof(struct MemberA),
74 offsetof(struct MemberA, _asn_ctx),
75 asn_MAP_MemberA_tag2el_2,
76 5, /* Count of tags in the map */
77 asn_MAP_MemberA_oms_2, /* Optional members */
78 3, 0, /* Root/Additions */
79 4, /* Start extensions */
80 6 /* Stop extensions */
81};
82static /* Use -fall-defs-global to expose */
83asn_TYPE_descriptor_t asn_DEF_MemberA_2 = {
84 "SEQUENCE",
85 "SEQUENCE",
86 SEQUENCE_free,
87 SEQUENCE_print,
88 SEQUENCE_constraint,
89 SEQUENCE_decode_ber,
90 SEQUENCE_encode_der,
91 SEQUENCE_decode_xer,
92 SEQUENCE_encode_xer,
93 SEQUENCE_decode_uper,
94 SEQUENCE_encode_uper,
95 SEQUENCE_decode_aper,
96 SEQUENCE_encode_aper,
97 0, /* Use generic outmost tag fetcher */
98 asn_DEF_MemberA_tags_2,
99 sizeof(asn_DEF_MemberA_tags_2)
100 /sizeof(asn_DEF_MemberA_tags_2[0]), /* 1 */
101 asn_DEF_MemberA_tags_2, /* Same as above */
102 sizeof(asn_DEF_MemberA_tags_2)
103 /sizeof(asn_DEF_MemberA_tags_2[0]), /* 1 */
104 0, /* No PER visible constraints */
105 asn_MBR_MemberA_2,
106 5, /* Elements count */
107 &asn_SPC_MemberA_specs_2 /* Additional specs */
108};
109
110static asn_TYPE_member_t asn_MBR_RANAP_SDU_Parameters_1[] = {
111 { ATF_POINTER, 0, 0,
112 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
113 0,
114 &asn_DEF_MemberA_2,
115 0, /* Defer constraints checking to the member type */
116 0, /* No PER visible constraints */
117 0,
118 ""
119 },
120};
121static const ber_tlv_tag_t asn_DEF_RANAP_SDU_Parameters_tags_1[] = {
122 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
123};
124static asn_SET_OF_specifics_t asn_SPC_RANAP_SDU_Parameters_specs_1 = {
125 sizeof(struct RANAP_SDU_Parameters),
126 offsetof(struct RANAP_SDU_Parameters, _asn_ctx),
127 0, /* XER encoding is XMLDelimitedItemList */
128};
129asn_TYPE_descriptor_t asn_DEF_RANAP_SDU_Parameters = {
130 "RANAP_SDU-Parameters",
131 "RANAP_SDU-Parameters",
132 SEQUENCE_OF_free,
133 SEQUENCE_OF_print,
134 SEQUENCE_OF_constraint,
135 SEQUENCE_OF_decode_ber,
136 SEQUENCE_OF_encode_der,
137 SEQUENCE_OF_decode_xer,
138 SEQUENCE_OF_encode_xer,
139 SEQUENCE_OF_decode_uper,
140 SEQUENCE_OF_encode_uper,
141 SEQUENCE_OF_decode_aper,
142 SEQUENCE_OF_encode_aper,
143 0, /* Use generic outmost tag fetcher */
144 asn_DEF_RANAP_SDU_Parameters_tags_1,
145 sizeof(asn_DEF_RANAP_SDU_Parameters_tags_1)
146 /sizeof(asn_DEF_RANAP_SDU_Parameters_tags_1[0]), /* 1 */
147 asn_DEF_RANAP_SDU_Parameters_tags_1, /* Same as above */
148 sizeof(asn_DEF_RANAP_SDU_Parameters_tags_1)
149 /sizeof(asn_DEF_RANAP_SDU_Parameters_tags_1[0]), /* 1 */
150 &asn_PER_type_RANAP_SDU_Parameters_constr_1,
151 asn_MBR_RANAP_SDU_Parameters_1,
152 1, /* Single element */
153 &asn_SPC_RANAP_SDU_Parameters_specs_1 /* Additional specs */
154};
155