blob: 072e7f922ce970d82a30177ae0e87e8204334f10 [file] [log] [blame]
sjana76e88d22020-03-19 13:24:39 -04001/*
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`
6 */
7
8#include "X2N_SecondaryRATUsageReport-Item.h"
9
10#include "X2N_ProtocolExtensionContainer.h"
11/*
12 * This type is implemented using NativeEnumerated,
13 * so here we adjust the DEF accordingly.
14 */
15static asn_per_constraints_t asn_PER_type_X2N_secondaryRATType_constr_3 CC_NOTUSED = {
16 { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } /* (0..0,...) */,
17 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
18 0, 0 /* No PER value map */
19};
20static const asn_INTEGER_enum_map_t asn_MAP_X2N_secondaryRATType_value2enum_3[] = {
21 { 0, 2, "nr" }
22 /* This list is extensible */
23};
24static const unsigned int asn_MAP_X2N_secondaryRATType_enum2value_3[] = {
25 0 /* nr(0) */
26 /* This list is extensible */
27};
28static const asn_INTEGER_specifics_t asn_SPC_X2N_secondaryRATType_specs_3 = {
29 asn_MAP_X2N_secondaryRATType_value2enum_3, /* "tag" => N; sorted by tag */
30 asn_MAP_X2N_secondaryRATType_enum2value_3, /* N => "tag"; sorted by N */
31 1, /* Number of elements in the maps */
32 2, /* Extensions before this member */
33 1, /* Strict enumeration */
34 0, /* Native long size */
35 0
36};
37static const ber_tlv_tag_t asn_DEF_X2N_secondaryRATType_tags_3[] = {
38 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
39 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
40};
41static /* Use -fall-defs-global to expose */
42asn_TYPE_descriptor_t asn_DEF_X2N_secondaryRATType_3 = {
43 "secondaryRATType",
44 "secondaryRATType",
45 &asn_OP_NativeEnumerated,
46 asn_DEF_X2N_secondaryRATType_tags_3,
47 sizeof(asn_DEF_X2N_secondaryRATType_tags_3)
48 /sizeof(asn_DEF_X2N_secondaryRATType_tags_3[0]) - 1, /* 1 */
49 asn_DEF_X2N_secondaryRATType_tags_3, /* Same as above */
50 sizeof(asn_DEF_X2N_secondaryRATType_tags_3)
51 /sizeof(asn_DEF_X2N_secondaryRATType_tags_3[0]), /* 2 */
52 { 0, &asn_PER_type_X2N_secondaryRATType_constr_3, NativeEnumerated_constraint },
53 0, 0, /* Defined elsewhere */
54 &asn_SPC_X2N_secondaryRATType_specs_3 /* Additional specs */
55};
56
57static asn_TYPE_member_t asn_MBR_X2N_SecondaryRATUsageReport_Item_1[] = {
58 { ATF_NOFLAGS, 0, offsetof(struct X2N_SecondaryRATUsageReport_Item, e_RAB_ID),
59 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
60 -1, /* IMPLICIT tag at current level */
61 &asn_DEF_X2N_E_RAB_ID,
62 0,
63 { 0, 0, 0 },
64 0, 0, /* No default value */
65 "e-RAB-ID"
66 },
67 { ATF_NOFLAGS, 0, offsetof(struct X2N_SecondaryRATUsageReport_Item, secondaryRATType),
68 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
69 -1, /* IMPLICIT tag at current level */
70 &asn_DEF_X2N_secondaryRATType_3,
71 0,
72 { 0, 0, 0 },
73 0, 0, /* No default value */
74 "secondaryRATType"
75 },
76 { ATF_NOFLAGS, 0, offsetof(struct X2N_SecondaryRATUsageReport_Item, e_RABUsageReportList),
77 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
78 -1, /* IMPLICIT tag at current level */
79 &asn_DEF_X2N_E_RABUsageReportList,
80 0,
81 { 0, 0, 0 },
82 0, 0, /* No default value */
83 "e-RABUsageReportList"
84 },
85 { ATF_POINTER, 1, offsetof(struct X2N_SecondaryRATUsageReport_Item, iE_Extensions),
86 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
87 -1, /* IMPLICIT tag at current level */
88 &asn_DEF_X2N_ProtocolExtensionContainer_8231P190,
89 0,
90 { 0, 0, 0 },
91 0, 0, /* No default value */
92 "iE-Extensions"
93 },
94};
95static const int asn_MAP_X2N_SecondaryRATUsageReport_Item_oms_1[] = { 3 };
96static const ber_tlv_tag_t asn_DEF_X2N_SecondaryRATUsageReport_Item_tags_1[] = {
97 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
98};
99static const asn_TYPE_tag2member_t asn_MAP_X2N_SecondaryRATUsageReport_Item_tag2el_1[] = {
100 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* e-RAB-ID */
101 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* secondaryRATType */
102 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* e-RABUsageReportList */
103 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* iE-Extensions */
104};
105static asn_SEQUENCE_specifics_t asn_SPC_X2N_SecondaryRATUsageReport_Item_specs_1 = {
106 sizeof(struct X2N_SecondaryRATUsageReport_Item),
107 offsetof(struct X2N_SecondaryRATUsageReport_Item, _asn_ctx),
108 asn_MAP_X2N_SecondaryRATUsageReport_Item_tag2el_1,
109 4, /* Count of tags in the map */
110 asn_MAP_X2N_SecondaryRATUsageReport_Item_oms_1, /* Optional members */
111 1, 0, /* Root/Additions */
112 4, /* First extension addition */
113};
114asn_TYPE_descriptor_t asn_DEF_X2N_SecondaryRATUsageReport_Item = {
115 "SecondaryRATUsageReport-Item",
116 "SecondaryRATUsageReport-Item",
117 &asn_OP_SEQUENCE,
118 asn_DEF_X2N_SecondaryRATUsageReport_Item_tags_1,
119 sizeof(asn_DEF_X2N_SecondaryRATUsageReport_Item_tags_1)
120 /sizeof(asn_DEF_X2N_SecondaryRATUsageReport_Item_tags_1[0]), /* 1 */
121 asn_DEF_X2N_SecondaryRATUsageReport_Item_tags_1, /* Same as above */
122 sizeof(asn_DEF_X2N_SecondaryRATUsageReport_Item_tags_1)
123 /sizeof(asn_DEF_X2N_SecondaryRATUsageReport_Item_tags_1[0]), /* 1 */
124 { 0, 0, SEQUENCE_constraint },
125 asn_MBR_X2N_SecondaryRATUsageReport_Item_1,
126 4, /* Elements count */
127 &asn_SPC_X2N_SecondaryRATUsageReport_Item_specs_1 /* Additional specs */
128};
129