e2c16cd99702a61b353053f95aece3dfed2e9c42
[ric-plt/resource-status-manager.git] / RSM / 3rdparty / asn1codec / e2ap_engine / TDD-Info.c
1 /*
2  * Copyright 2019 AT&T Intellectual Property
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 /*
18  * This source code is part of the near-RT RIC (RAN Intelligent Controller)
19  * platform project (RICP).
20  */
21
22
23
24 /*
25  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
26  * From ASN.1 module "X2AP-IEs"
27  *      found in "../../asnFiles/X2AP-IEs.asn"
28  *      `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
29  */
30
31 #include "TDD-Info.h"
32
33 #include "ProtocolExtensionContainer.h"
34 asn_TYPE_member_t asn_MBR_TDD_Info_1[] = {
35         { ATF_NOFLAGS, 0, offsetof(struct TDD_Info, eARFCN),
36                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
37                 -1,     /* IMPLICIT tag at current level */
38                 &asn_DEF_EARFCN,
39                 0,
40                 { 0, 0, 0 },
41                 0, 0, /* No default value */
42                 "eARFCN"
43                 },
44         { ATF_NOFLAGS, 0, offsetof(struct TDD_Info, transmission_Bandwidth),
45                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
46                 -1,     /* IMPLICIT tag at current level */
47                 &asn_DEF_Transmission_Bandwidth,
48                 0,
49                 { 0, 0, 0 },
50                 0, 0, /* No default value */
51                 "transmission-Bandwidth"
52                 },
53         { ATF_NOFLAGS, 0, offsetof(struct TDD_Info, subframeAssignment),
54                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
55                 -1,     /* IMPLICIT tag at current level */
56                 &asn_DEF_SubframeAssignment,
57                 0,
58                 { 0, 0, 0 },
59                 0, 0, /* No default value */
60                 "subframeAssignment"
61                 },
62         { ATF_NOFLAGS, 0, offsetof(struct TDD_Info, specialSubframe_Info),
63                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
64                 -1,     /* IMPLICIT tag at current level */
65                 &asn_DEF_SpecialSubframe_Info,
66                 0,
67                 { 0, 0, 0 },
68                 0, 0, /* No default value */
69                 "specialSubframe-Info"
70                 },
71         { ATF_POINTER, 1, offsetof(struct TDD_Info, iE_Extensions),
72                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
73                 -1,     /* IMPLICIT tag at current level */
74                 &asn_DEF_ProtocolExtensionContainer_170P206,
75                 0,
76                 { 0, 0, 0 },
77                 0, 0, /* No default value */
78                 "iE-Extensions"
79                 },
80 };
81 static const int asn_MAP_TDD_Info_oms_1[] = { 4 };
82 static const ber_tlv_tag_t asn_DEF_TDD_Info_tags_1[] = {
83         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
84 };
85 static const asn_TYPE_tag2member_t asn_MAP_TDD_Info_tag2el_1[] = {
86     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* eARFCN */
87     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* transmission-Bandwidth */
88     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* subframeAssignment */
89     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* specialSubframe-Info */
90     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* iE-Extensions */
91 };
92 asn_SEQUENCE_specifics_t asn_SPC_TDD_Info_specs_1 = {
93         sizeof(struct TDD_Info),
94         offsetof(struct TDD_Info, _asn_ctx),
95         asn_MAP_TDD_Info_tag2el_1,
96         5,      /* Count of tags in the map */
97         asn_MAP_TDD_Info_oms_1, /* Optional members */
98         1, 0,   /* Root/Additions */
99         5,      /* First extension addition */
100 };
101 asn_TYPE_descriptor_t asn_DEF_TDD_Info = {
102         "TDD-Info",
103         "TDD-Info",
104         &asn_OP_SEQUENCE,
105         asn_DEF_TDD_Info_tags_1,
106         sizeof(asn_DEF_TDD_Info_tags_1)
107                 /sizeof(asn_DEF_TDD_Info_tags_1[0]), /* 1 */
108         asn_DEF_TDD_Info_tags_1,        /* Same as above */
109         sizeof(asn_DEF_TDD_Info_tags_1)
110                 /sizeof(asn_DEF_TDD_Info_tags_1[0]), /* 1 */
111         { 0, 0, SEQUENCE_constraint },
112         asn_MBR_TDD_Info_1,
113         5,      /* Elements count */
114         &asn_SPC_TDD_Info_specs_1       /* Additional specs */
115 };
116