2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "X2AP-IEs"
4 * found in "X2AP-15-4-0.asn1"
5 * `asn1c -D ./asn1_n1 -pdu=auto -fno-include-deps -fcompound-names -findirect-choice -gen-PER -gen-OER -no-gen-example`
8 #include "WLANMeasurementConfiguration.h"
10 #include "WLANMeasConfigNameList.h"
11 #include "ProtocolExtensionContainer.h"
13 * This type is implemented using NativeEnumerated,
14 * so here we adjust the DEF accordingly.
17 * This type is implemented using NativeEnumerated,
18 * so here we adjust the DEF accordingly.
20 static asn_oer_constraints_t asn_OER_type_wlan_rssi_constr_4 CC_NOTUSED = {
23 static asn_per_constraints_t asn_PER_type_wlan_rssi_constr_4 CC_NOTUSED = {
24 { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } /* (0..0,...) */,
25 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
26 0, 0 /* No PER value map */
28 static asn_oer_constraints_t asn_OER_type_wlan_rtt_constr_7 CC_NOTUSED = {
31 static asn_per_constraints_t asn_PER_type_wlan_rtt_constr_7 CC_NOTUSED = {
32 { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } /* (0..0,...) */,
33 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
34 0, 0 /* No PER value map */
36 static const asn_INTEGER_enum_map_t asn_MAP_wlan_rssi_value2enum_4[] = {
38 /* This list is extensible */
40 static const unsigned int asn_MAP_wlan_rssi_enum2value_4[] = {
42 /* This list is extensible */
44 static const asn_INTEGER_specifics_t asn_SPC_wlan_rssi_specs_4 = {
45 asn_MAP_wlan_rssi_value2enum_4, /* "tag" => N; sorted by tag */
46 asn_MAP_wlan_rssi_enum2value_4, /* N => "tag"; sorted by N */
47 1, /* Number of elements in the maps */
48 2, /* Extensions before this member */
49 1, /* Strict enumeration */
50 0, /* Native long size */
53 static const ber_tlv_tag_t asn_DEF_wlan_rssi_tags_4[] = {
54 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
55 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
57 static /* Use -fall-defs-global to expose */
58 asn_TYPE_descriptor_t asn_DEF_wlan_rssi_4 = {
61 &asn_OP_NativeEnumerated,
62 asn_DEF_wlan_rssi_tags_4,
63 sizeof(asn_DEF_wlan_rssi_tags_4)
64 /sizeof(asn_DEF_wlan_rssi_tags_4[0]) - 1, /* 1 */
65 asn_DEF_wlan_rssi_tags_4, /* Same as above */
66 sizeof(asn_DEF_wlan_rssi_tags_4)
67 /sizeof(asn_DEF_wlan_rssi_tags_4[0]), /* 2 */
68 { &asn_OER_type_wlan_rssi_constr_4, &asn_PER_type_wlan_rssi_constr_4, NativeEnumerated_constraint },
69 0, 0, /* Defined elsewhere */
70 &asn_SPC_wlan_rssi_specs_4 /* Additional specs */
73 static const asn_INTEGER_enum_map_t asn_MAP_wlan_rtt_value2enum_7[] = {
75 /* This list is extensible */
77 static const unsigned int asn_MAP_wlan_rtt_enum2value_7[] = {
79 /* This list is extensible */
81 static const asn_INTEGER_specifics_t asn_SPC_wlan_rtt_specs_7 = {
82 asn_MAP_wlan_rtt_value2enum_7, /* "tag" => N; sorted by tag */
83 asn_MAP_wlan_rtt_enum2value_7, /* N => "tag"; sorted by N */
84 1, /* Number of elements in the maps */
85 2, /* Extensions before this member */
86 1, /* Strict enumeration */
87 0, /* Native long size */
90 static const ber_tlv_tag_t asn_DEF_wlan_rtt_tags_7[] = {
91 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
92 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
94 static /* Use -fall-defs-global to expose */
95 asn_TYPE_descriptor_t asn_DEF_wlan_rtt_7 = {
98 &asn_OP_NativeEnumerated,
99 asn_DEF_wlan_rtt_tags_7,
100 sizeof(asn_DEF_wlan_rtt_tags_7)
101 /sizeof(asn_DEF_wlan_rtt_tags_7[0]) - 1, /* 1 */
102 asn_DEF_wlan_rtt_tags_7, /* Same as above */
103 sizeof(asn_DEF_wlan_rtt_tags_7)
104 /sizeof(asn_DEF_wlan_rtt_tags_7[0]), /* 2 */
105 { &asn_OER_type_wlan_rtt_constr_7, &asn_PER_type_wlan_rtt_constr_7, NativeEnumerated_constraint },
106 0, 0, /* Defined elsewhere */
107 &asn_SPC_wlan_rtt_specs_7 /* Additional specs */
110 static asn_TYPE_member_t asn_MBR_WLANMeasurementConfiguration_1[] = {
111 { ATF_NOFLAGS, 0, offsetof(struct WLANMeasurementConfiguration, wlanMeasConfig),
112 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
113 -1, /* IMPLICIT tag at current level */
114 &asn_DEF_WLANMeasConfig,
117 0, 0, /* No default value */
120 { ATF_POINTER, 4, offsetof(struct WLANMeasurementConfiguration, wlanMeasConfigNameList),
121 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
122 -1, /* IMPLICIT tag at current level */
123 &asn_DEF_WLANMeasConfigNameList,
126 0, 0, /* No default value */
127 "wlanMeasConfigNameList"
129 { ATF_POINTER, 3, offsetof(struct WLANMeasurementConfiguration, wlan_rssi),
130 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
131 -1, /* IMPLICIT tag at current level */
132 &asn_DEF_wlan_rssi_4,
135 0, 0, /* No default value */
138 { ATF_POINTER, 2, offsetof(struct WLANMeasurementConfiguration, wlan_rtt),
139 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
140 -1, /* IMPLICIT tag at current level */
144 0, 0, /* No default value */
147 { ATF_POINTER, 1, offsetof(struct WLANMeasurementConfiguration, iE_Extensions),
148 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
149 -1, /* IMPLICIT tag at current level */
150 &asn_DEF_ProtocolExtensionContainer_7683P222,
153 0, 0, /* No default value */
157 static const int asn_MAP_WLANMeasurementConfiguration_oms_1[] = { 1, 2, 3, 4 };
158 static const ber_tlv_tag_t asn_DEF_WLANMeasurementConfiguration_tags_1[] = {
159 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
161 static const asn_TYPE_tag2member_t asn_MAP_WLANMeasurementConfiguration_tag2el_1[] = {
162 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* wlanMeasConfig */
163 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* wlanMeasConfigNameList */
164 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* wlan-rssi */
165 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* wlan-rtt */
166 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* iE-Extensions */
168 static asn_SEQUENCE_specifics_t asn_SPC_WLANMeasurementConfiguration_specs_1 = {
169 sizeof(struct WLANMeasurementConfiguration),
170 offsetof(struct WLANMeasurementConfiguration, _asn_ctx),
171 asn_MAP_WLANMeasurementConfiguration_tag2el_1,
172 5, /* Count of tags in the map */
173 asn_MAP_WLANMeasurementConfiguration_oms_1, /* Optional members */
174 4, 0, /* Root/Additions */
175 5, /* First extension addition */
177 asn_TYPE_descriptor_t asn_DEF_WLANMeasurementConfiguration = {
178 "WLANMeasurementConfiguration",
179 "WLANMeasurementConfiguration",
181 asn_DEF_WLANMeasurementConfiguration_tags_1,
182 sizeof(asn_DEF_WLANMeasurementConfiguration_tags_1)
183 /sizeof(asn_DEF_WLANMeasurementConfiguration_tags_1[0]), /* 1 */
184 asn_DEF_WLANMeasurementConfiguration_tags_1, /* Same as above */
185 sizeof(asn_DEF_WLANMeasurementConfiguration_tags_1)
186 /sizeof(asn_DEF_WLANMeasurementConfiguration_tags_1[0]), /* 1 */
187 { 0, 0, SEQUENCE_constraint },
188 asn_MBR_WLANMeasurementConfiguration_1,
189 5, /* Elements count */
190 &asn_SPC_WLANMeasurementConfiguration_specs_1 /* Additional specs */