3 * Copyright 2019 AT&T Intellectual Property
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
21 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
22 * From ASN.1 module "X2AP-IEs"
23 * found in "../../asnFiles/X2AP-IEs.asn"
24 * `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
27 #include "WLANMeasurementConfiguration.h"
29 #include "WLANMeasConfigNameList.h"
30 #include "ProtocolExtensionContainer.h"
32 * This type is implemented using NativeEnumerated,
33 * so here we adjust the DEF accordingly.
36 * This type is implemented using NativeEnumerated,
37 * so here we adjust the DEF accordingly.
39 static asn_per_constraints_t asn_PER_type_wlan_rssi_constr_4 CC_NOTUSED = {
40 { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } /* (0..0,...) */,
41 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
42 0, 0 /* No PER value map */
44 static asn_per_constraints_t asn_PER_type_wlan_rtt_constr_7 CC_NOTUSED = {
45 { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } /* (0..0,...) */,
46 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
47 0, 0 /* No PER value map */
49 static const asn_INTEGER_enum_map_t asn_MAP_wlan_rssi_value2enum_4[] = {
51 /* This list is extensible */
53 static const unsigned int asn_MAP_wlan_rssi_enum2value_4[] = {
55 /* This list is extensible */
57 static const asn_INTEGER_specifics_t asn_SPC_wlan_rssi_specs_4 = {
58 asn_MAP_wlan_rssi_value2enum_4, /* "tag" => N; sorted by tag */
59 asn_MAP_wlan_rssi_enum2value_4, /* N => "tag"; sorted by N */
60 1, /* Number of elements in the maps */
61 2, /* Extensions before this member */
62 1, /* Strict enumeration */
63 0, /* Native long size */
66 static const ber_tlv_tag_t asn_DEF_wlan_rssi_tags_4[] = {
67 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
68 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
70 static /* Use -fall-defs-global to expose */
71 asn_TYPE_descriptor_t asn_DEF_wlan_rssi_4 = {
74 &asn_OP_NativeEnumerated,
75 asn_DEF_wlan_rssi_tags_4,
76 sizeof(asn_DEF_wlan_rssi_tags_4)
77 /sizeof(asn_DEF_wlan_rssi_tags_4[0]) - 1, /* 1 */
78 asn_DEF_wlan_rssi_tags_4, /* Same as above */
79 sizeof(asn_DEF_wlan_rssi_tags_4)
80 /sizeof(asn_DEF_wlan_rssi_tags_4[0]), /* 2 */
81 { 0, &asn_PER_type_wlan_rssi_constr_4, NativeEnumerated_constraint },
82 0, 0, /* Defined elsewhere */
83 &asn_SPC_wlan_rssi_specs_4 /* Additional specs */
86 static const asn_INTEGER_enum_map_t asn_MAP_wlan_rtt_value2enum_7[] = {
88 /* This list is extensible */
90 static const unsigned int asn_MAP_wlan_rtt_enum2value_7[] = {
92 /* This list is extensible */
94 static const asn_INTEGER_specifics_t asn_SPC_wlan_rtt_specs_7 = {
95 asn_MAP_wlan_rtt_value2enum_7, /* "tag" => N; sorted by tag */
96 asn_MAP_wlan_rtt_enum2value_7, /* N => "tag"; sorted by N */
97 1, /* Number of elements in the maps */
98 2, /* Extensions before this member */
99 1, /* Strict enumeration */
100 0, /* Native long size */
103 static const ber_tlv_tag_t asn_DEF_wlan_rtt_tags_7[] = {
104 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
105 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
107 static /* Use -fall-defs-global to expose */
108 asn_TYPE_descriptor_t asn_DEF_wlan_rtt_7 = {
111 &asn_OP_NativeEnumerated,
112 asn_DEF_wlan_rtt_tags_7,
113 sizeof(asn_DEF_wlan_rtt_tags_7)
114 /sizeof(asn_DEF_wlan_rtt_tags_7[0]) - 1, /* 1 */
115 asn_DEF_wlan_rtt_tags_7, /* Same as above */
116 sizeof(asn_DEF_wlan_rtt_tags_7)
117 /sizeof(asn_DEF_wlan_rtt_tags_7[0]), /* 2 */
118 { 0, &asn_PER_type_wlan_rtt_constr_7, NativeEnumerated_constraint },
119 0, 0, /* Defined elsewhere */
120 &asn_SPC_wlan_rtt_specs_7 /* Additional specs */
123 asn_TYPE_member_t asn_MBR_WLANMeasurementConfiguration_1[] = {
124 { ATF_NOFLAGS, 0, offsetof(struct WLANMeasurementConfiguration, wlanMeasConfig),
125 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
126 -1, /* IMPLICIT tag at current level */
127 &asn_DEF_WLANMeasConfig,
130 0, 0, /* No default value */
133 { ATF_POINTER, 4, offsetof(struct WLANMeasurementConfiguration, wlanMeasConfigNameList),
134 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
135 -1, /* IMPLICIT tag at current level */
136 &asn_DEF_WLANMeasConfigNameList,
139 0, 0, /* No default value */
140 "wlanMeasConfigNameList"
142 { ATF_POINTER, 3, offsetof(struct WLANMeasurementConfiguration, wlan_rssi),
143 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
144 -1, /* IMPLICIT tag at current level */
145 &asn_DEF_wlan_rssi_4,
148 0, 0, /* No default value */
151 { ATF_POINTER, 2, offsetof(struct WLANMeasurementConfiguration, wlan_rtt),
152 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
153 -1, /* IMPLICIT tag at current level */
157 0, 0, /* No default value */
160 { ATF_POINTER, 1, offsetof(struct WLANMeasurementConfiguration, iE_Extensions),
161 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
162 -1, /* IMPLICIT tag at current level */
163 &asn_DEF_ProtocolExtensionContainer_170P222,
166 0, 0, /* No default value */
170 static const int asn_MAP_WLANMeasurementConfiguration_oms_1[] = { 1, 2, 3, 4 };
171 static const ber_tlv_tag_t asn_DEF_WLANMeasurementConfiguration_tags_1[] = {
172 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
174 static const asn_TYPE_tag2member_t asn_MAP_WLANMeasurementConfiguration_tag2el_1[] = {
175 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* wlanMeasConfig */
176 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* wlanMeasConfigNameList */
177 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* wlan-rssi */
178 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* wlan-rtt */
179 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* iE-Extensions */
181 asn_SEQUENCE_specifics_t asn_SPC_WLANMeasurementConfiguration_specs_1 = {
182 sizeof(struct WLANMeasurementConfiguration),
183 offsetof(struct WLANMeasurementConfiguration, _asn_ctx),
184 asn_MAP_WLANMeasurementConfiguration_tag2el_1,
185 5, /* Count of tags in the map */
186 asn_MAP_WLANMeasurementConfiguration_oms_1, /* Optional members */
187 4, 0, /* Root/Additions */
188 5, /* First extension addition */
190 asn_TYPE_descriptor_t asn_DEF_WLANMeasurementConfiguration = {
191 "WLANMeasurementConfiguration",
192 "WLANMeasurementConfiguration",
194 asn_DEF_WLANMeasurementConfiguration_tags_1,
195 sizeof(asn_DEF_WLANMeasurementConfiguration_tags_1)
196 /sizeof(asn_DEF_WLANMeasurementConfiguration_tags_1[0]), /* 1 */
197 asn_DEF_WLANMeasurementConfiguration_tags_1, /* Same as above */
198 sizeof(asn_DEF_WLANMeasurementConfiguration_tags_1)
199 /sizeof(asn_DEF_WLANMeasurementConfiguration_tags_1[0]), /* 1 */
200 { 0, 0, SEQUENCE_constraint },
201 asn_MBR_WLANMeasurementConfiguration_1,
202 5, /* Elements count */
203 &asn_SPC_WLANMeasurementConfiguration_specs_1 /* Additional specs */