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 "WLANMeasurementConfiguration.h"
33 #include "WLANMeasConfigNameList.h"
34 #include "ProtocolExtensionContainer.h"
36 * This type is implemented using NativeEnumerated,
37 * so here we adjust the DEF accordingly.
40 * This type is implemented using NativeEnumerated,
41 * so here we adjust the DEF accordingly.
43 static asn_per_constraints_t asn_PER_type_wlan_rssi_constr_4 CC_NOTUSED = {
44 { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } /* (0..0,...) */,
45 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
46 0, 0 /* No PER value map */
48 static asn_per_constraints_t asn_PER_type_wlan_rtt_constr_7 CC_NOTUSED = {
49 { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } /* (0..0,...) */,
50 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
51 0, 0 /* No PER value map */
53 static const asn_INTEGER_enum_map_t asn_MAP_wlan_rssi_value2enum_4[] = {
55 /* This list is extensible */
57 static const unsigned int asn_MAP_wlan_rssi_enum2value_4[] = {
59 /* This list is extensible */
61 static const asn_INTEGER_specifics_t asn_SPC_wlan_rssi_specs_4 = {
62 asn_MAP_wlan_rssi_value2enum_4, /* "tag" => N; sorted by tag */
63 asn_MAP_wlan_rssi_enum2value_4, /* N => "tag"; sorted by N */
64 1, /* Number of elements in the maps */
65 2, /* Extensions before this member */
66 1, /* Strict enumeration */
67 0, /* Native long size */
70 static const ber_tlv_tag_t asn_DEF_wlan_rssi_tags_4[] = {
71 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
72 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
74 static /* Use -fall-defs-global to expose */
75 asn_TYPE_descriptor_t asn_DEF_wlan_rssi_4 = {
78 &asn_OP_NativeEnumerated,
79 asn_DEF_wlan_rssi_tags_4,
80 sizeof(asn_DEF_wlan_rssi_tags_4)
81 /sizeof(asn_DEF_wlan_rssi_tags_4[0]) - 1, /* 1 */
82 asn_DEF_wlan_rssi_tags_4, /* Same as above */
83 sizeof(asn_DEF_wlan_rssi_tags_4)
84 /sizeof(asn_DEF_wlan_rssi_tags_4[0]), /* 2 */
85 { 0, &asn_PER_type_wlan_rssi_constr_4, NativeEnumerated_constraint },
86 0, 0, /* Defined elsewhere */
87 &asn_SPC_wlan_rssi_specs_4 /* Additional specs */
90 static const asn_INTEGER_enum_map_t asn_MAP_wlan_rtt_value2enum_7[] = {
92 /* This list is extensible */
94 static const unsigned int asn_MAP_wlan_rtt_enum2value_7[] = {
96 /* This list is extensible */
98 static const asn_INTEGER_specifics_t asn_SPC_wlan_rtt_specs_7 = {
99 asn_MAP_wlan_rtt_value2enum_7, /* "tag" => N; sorted by tag */
100 asn_MAP_wlan_rtt_enum2value_7, /* N => "tag"; sorted by N */
101 1, /* Number of elements in the maps */
102 2, /* Extensions before this member */
103 1, /* Strict enumeration */
104 0, /* Native long size */
107 static const ber_tlv_tag_t asn_DEF_wlan_rtt_tags_7[] = {
108 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
109 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
111 static /* Use -fall-defs-global to expose */
112 asn_TYPE_descriptor_t asn_DEF_wlan_rtt_7 = {
115 &asn_OP_NativeEnumerated,
116 asn_DEF_wlan_rtt_tags_7,
117 sizeof(asn_DEF_wlan_rtt_tags_7)
118 /sizeof(asn_DEF_wlan_rtt_tags_7[0]) - 1, /* 1 */
119 asn_DEF_wlan_rtt_tags_7, /* Same as above */
120 sizeof(asn_DEF_wlan_rtt_tags_7)
121 /sizeof(asn_DEF_wlan_rtt_tags_7[0]), /* 2 */
122 { 0, &asn_PER_type_wlan_rtt_constr_7, NativeEnumerated_constraint },
123 0, 0, /* Defined elsewhere */
124 &asn_SPC_wlan_rtt_specs_7 /* Additional specs */
127 asn_TYPE_member_t asn_MBR_WLANMeasurementConfiguration_1[] = {
128 { ATF_NOFLAGS, 0, offsetof(struct WLANMeasurementConfiguration, wlanMeasConfig),
129 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
130 -1, /* IMPLICIT tag at current level */
131 &asn_DEF_WLANMeasConfig,
134 0, 0, /* No default value */
137 { ATF_POINTER, 4, offsetof(struct WLANMeasurementConfiguration, wlanMeasConfigNameList),
138 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
139 -1, /* IMPLICIT tag at current level */
140 &asn_DEF_WLANMeasConfigNameList,
143 0, 0, /* No default value */
144 "wlanMeasConfigNameList"
146 { ATF_POINTER, 3, offsetof(struct WLANMeasurementConfiguration, wlan_rssi),
147 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
148 -1, /* IMPLICIT tag at current level */
149 &asn_DEF_wlan_rssi_4,
152 0, 0, /* No default value */
155 { ATF_POINTER, 2, offsetof(struct WLANMeasurementConfiguration, wlan_rtt),
156 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
157 -1, /* IMPLICIT tag at current level */
161 0, 0, /* No default value */
164 { ATF_POINTER, 1, offsetof(struct WLANMeasurementConfiguration, iE_Extensions),
165 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
166 -1, /* IMPLICIT tag at current level */
167 &asn_DEF_ProtocolExtensionContainer_170P222,
170 0, 0, /* No default value */
174 static const int asn_MAP_WLANMeasurementConfiguration_oms_1[] = { 1, 2, 3, 4 };
175 static const ber_tlv_tag_t asn_DEF_WLANMeasurementConfiguration_tags_1[] = {
176 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
178 static const asn_TYPE_tag2member_t asn_MAP_WLANMeasurementConfiguration_tag2el_1[] = {
179 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* wlanMeasConfig */
180 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* wlanMeasConfigNameList */
181 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* wlan-rssi */
182 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* wlan-rtt */
183 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* iE-Extensions */
185 asn_SEQUENCE_specifics_t asn_SPC_WLANMeasurementConfiguration_specs_1 = {
186 sizeof(struct WLANMeasurementConfiguration),
187 offsetof(struct WLANMeasurementConfiguration, _asn_ctx),
188 asn_MAP_WLANMeasurementConfiguration_tag2el_1,
189 5, /* Count of tags in the map */
190 asn_MAP_WLANMeasurementConfiguration_oms_1, /* Optional members */
191 4, 0, /* Root/Additions */
192 5, /* First extension addition */
194 asn_TYPE_descriptor_t asn_DEF_WLANMeasurementConfiguration = {
195 "WLANMeasurementConfiguration",
196 "WLANMeasurementConfiguration",
198 asn_DEF_WLANMeasurementConfiguration_tags_1,
199 sizeof(asn_DEF_WLANMeasurementConfiguration_tags_1)
200 /sizeof(asn_DEF_WLANMeasurementConfiguration_tags_1[0]), /* 1 */
201 asn_DEF_WLANMeasurementConfiguration_tags_1, /* Same as above */
202 sizeof(asn_DEF_WLANMeasurementConfiguration_tags_1)
203 /sizeof(asn_DEF_WLANMeasurementConfiguration_tags_1[0]), /* 1 */
204 { 0, 0, SEQUENCE_constraint },
205 asn_MBR_WLANMeasurementConfiguration_1,
206 5, /* Elements count */
207 &asn_SPC_WLANMeasurementConfiguration_specs_1 /* Additional specs */