Adding new comments for Oran in all files with licenses
[ric-plt/resource-status-manager.git] / RSM / 3rdparty / asn1codec / e2ap_engine / RadioResourceStatus.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 "RadioResourceStatus.h"
32
33 #include "ProtocolExtensionContainer.h"
34 asn_TYPE_member_t asn_MBR_RadioResourceStatus_1[] = {
35         { ATF_NOFLAGS, 0, offsetof(struct RadioResourceStatus, dL_GBR_PRB_usage),
36                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
37                 -1,     /* IMPLICIT tag at current level */
38                 &asn_DEF_DL_GBR_PRB_usage,
39                 0,
40                 { 0, 0, 0 },
41                 0, 0, /* No default value */
42                 "dL-GBR-PRB-usage"
43                 },
44         { ATF_NOFLAGS, 0, offsetof(struct RadioResourceStatus, uL_GBR_PRB_usage),
45                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
46                 -1,     /* IMPLICIT tag at current level */
47                 &asn_DEF_UL_GBR_PRB_usage,
48                 0,
49                 { 0, 0, 0 },
50                 0, 0, /* No default value */
51                 "uL-GBR-PRB-usage"
52                 },
53         { ATF_NOFLAGS, 0, offsetof(struct RadioResourceStatus, dL_non_GBR_PRB_usage),
54                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
55                 -1,     /* IMPLICIT tag at current level */
56                 &asn_DEF_DL_non_GBR_PRB_usage,
57                 0,
58                 { 0, 0, 0 },
59                 0, 0, /* No default value */
60                 "dL-non-GBR-PRB-usage"
61                 },
62         { ATF_NOFLAGS, 0, offsetof(struct RadioResourceStatus, uL_non_GBR_PRB_usage),
63                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
64                 -1,     /* IMPLICIT tag at current level */
65                 &asn_DEF_UL_non_GBR_PRB_usage,
66                 0,
67                 { 0, 0, 0 },
68                 0, 0, /* No default value */
69                 "uL-non-GBR-PRB-usage"
70                 },
71         { ATF_NOFLAGS, 0, offsetof(struct RadioResourceStatus, dL_Total_PRB_usage),
72                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
73                 -1,     /* IMPLICIT tag at current level */
74                 &asn_DEF_DL_Total_PRB_usage,
75                 0,
76                 { 0, 0, 0 },
77                 0, 0, /* No default value */
78                 "dL-Total-PRB-usage"
79                 },
80         { ATF_NOFLAGS, 0, offsetof(struct RadioResourceStatus, uL_Total_PRB_usage),
81                 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
82                 -1,     /* IMPLICIT tag at current level */
83                 &asn_DEF_UL_Total_PRB_usage,
84                 0,
85                 { 0, 0, 0 },
86                 0, 0, /* No default value */
87                 "uL-Total-PRB-usage"
88                 },
89         { ATF_POINTER, 1, offsetof(struct RadioResourceStatus, iE_Extensions),
90                 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
91                 -1,     /* IMPLICIT tag at current level */
92                 &asn_DEF_ProtocolExtensionContainer_170P183,
93                 0,
94                 { 0, 0, 0 },
95                 0, 0, /* No default value */
96                 "iE-Extensions"
97                 },
98 };
99 static const int asn_MAP_RadioResourceStatus_oms_1[] = { 6 };
100 static const ber_tlv_tag_t asn_DEF_RadioResourceStatus_tags_1[] = {
101         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
102 };
103 static const asn_TYPE_tag2member_t asn_MAP_RadioResourceStatus_tag2el_1[] = {
104     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* dL-GBR-PRB-usage */
105     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* uL-GBR-PRB-usage */
106     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* dL-non-GBR-PRB-usage */
107     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* uL-non-GBR-PRB-usage */
108     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* dL-Total-PRB-usage */
109     { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* uL-Total-PRB-usage */
110     { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* iE-Extensions */
111 };
112 asn_SEQUENCE_specifics_t asn_SPC_RadioResourceStatus_specs_1 = {
113         sizeof(struct RadioResourceStatus),
114         offsetof(struct RadioResourceStatus, _asn_ctx),
115         asn_MAP_RadioResourceStatus_tag2el_1,
116         7,      /* Count of tags in the map */
117         asn_MAP_RadioResourceStatus_oms_1,      /* Optional members */
118         1, 0,   /* Root/Additions */
119         7,      /* First extension addition */
120 };
121 asn_TYPE_descriptor_t asn_DEF_RadioResourceStatus = {
122         "RadioResourceStatus",
123         "RadioResourceStatus",
124         &asn_OP_SEQUENCE,
125         asn_DEF_RadioResourceStatus_tags_1,
126         sizeof(asn_DEF_RadioResourceStatus_tags_1)
127                 /sizeof(asn_DEF_RadioResourceStatus_tags_1[0]), /* 1 */
128         asn_DEF_RadioResourceStatus_tags_1,     /* Same as above */
129         sizeof(asn_DEF_RadioResourceStatus_tags_1)
130                 /sizeof(asn_DEF_RadioResourceStatus_tags_1[0]), /* 1 */
131         { 0, 0, SEQUENCE_constraint },
132         asn_MBR_RadioResourceStatus_1,
133         7,      /* Elements count */
134         &asn_SPC_RadioResourceStatus_specs_1    /* Additional specs */
135 };
136