2 * Copyright 2019 AT&T Intellectual Property
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
18 * This source code is part of the near-RT RIC (RAN Intelligent Controller)
19 * platform project (RICP).
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.`
31 #include "RadioResourceStatus.h"
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,
41 0, 0, /* No default value */
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,
50 0, 0, /* No default value */
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,
59 0, 0, /* No default value */
60 "dL-non-GBR-PRB-usage"
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,
68 0, 0, /* No default value */
69 "uL-non-GBR-PRB-usage"
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,
77 0, 0, /* No default value */
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,
86 0, 0, /* No default value */
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,
95 0, 0, /* No default value */
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))
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 */
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 */
121 asn_TYPE_descriptor_t asn_DEF_RadioResourceStatus = {
122 "RadioResourceStatus",
123 "RadioResourceStatus",
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 */