2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
\r
3 * From ASN.1 module "X2AP-IEs"
\r
4 * found in "../../asn_defs/asn1/x2ap-modified-15-05.asn"
\r
5 * `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-OER`
\r
8 #include "BluetoothMeasurementConfiguration.h"
\r
10 #include "BluetoothMeasConfigNameList.h"
\r
11 #include "ProtocolExtensionContainer.h"
\r
13 * This type is implemented using NativeEnumerated,
\r
14 * so here we adjust the DEF accordingly.
\r
16 static asn_per_constraints_t asn_PER_type_bt_rssi_constr_4 CC_NOTUSED = {
\r
17 { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } /* (0..0,...) */,
\r
18 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
\r
19 0, 0 /* No PER value map */
\r
21 static const asn_INTEGER_enum_map_t asn_MAP_bt_rssi_value2enum_4[] = {
\r
23 /* This list is extensible */
\r
25 static const unsigned int asn_MAP_bt_rssi_enum2value_4[] = {
\r
27 /* This list is extensible */
\r
29 static const asn_INTEGER_specifics_t asn_SPC_bt_rssi_specs_4 = {
\r
30 asn_MAP_bt_rssi_value2enum_4, /* "tag" => N; sorted by tag */
\r
31 asn_MAP_bt_rssi_enum2value_4, /* N => "tag"; sorted by N */
\r
32 1, /* Number of elements in the maps */
\r
33 2, /* Extensions before this member */
\r
34 1, /* Strict enumeration */
\r
35 0, /* Native long size */
\r
38 static const ber_tlv_tag_t asn_DEF_bt_rssi_tags_4[] = {
\r
39 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
\r
40 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
\r
42 static /* Use -fall-defs-global to expose */
\r
43 asn_TYPE_descriptor_t asn_DEF_bt_rssi_4 = {
\r
46 &asn_OP_NativeEnumerated,
\r
47 asn_DEF_bt_rssi_tags_4,
\r
48 sizeof(asn_DEF_bt_rssi_tags_4)
\r
49 /sizeof(asn_DEF_bt_rssi_tags_4[0]) - 1, /* 1 */
\r
50 asn_DEF_bt_rssi_tags_4, /* Same as above */
\r
51 sizeof(asn_DEF_bt_rssi_tags_4)
\r
52 /sizeof(asn_DEF_bt_rssi_tags_4[0]), /* 2 */
\r
53 { 0, &asn_PER_type_bt_rssi_constr_4, NativeEnumerated_constraint },
\r
54 0, 0, /* Defined elsewhere */
\r
55 &asn_SPC_bt_rssi_specs_4 /* Additional specs */
\r
58 static asn_TYPE_member_t asn_MBR_BluetoothMeasurementConfiguration_1[] = {
\r
59 { ATF_NOFLAGS, 0, offsetof(struct BluetoothMeasurementConfiguration, bluetoothMeasConfig),
\r
60 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
\r
61 -1, /* IMPLICIT tag at current level */
\r
62 &asn_DEF_BluetoothMeasConfig,
\r
65 0, 0, /* No default value */
\r
66 "bluetoothMeasConfig"
\r
68 { ATF_POINTER, 3, offsetof(struct BluetoothMeasurementConfiguration, bluetoothMeasConfigNameList),
\r
69 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
\r
70 -1, /* IMPLICIT tag at current level */
\r
71 &asn_DEF_BluetoothMeasConfigNameList,
\r
74 0, 0, /* No default value */
\r
75 "bluetoothMeasConfigNameList"
\r
77 { ATF_POINTER, 2, offsetof(struct BluetoothMeasurementConfiguration, bt_rssi),
\r
78 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
\r
79 -1, /* IMPLICIT tag at current level */
\r
83 0, 0, /* No default value */
\r
86 { ATF_POINTER, 1, offsetof(struct BluetoothMeasurementConfiguration, iE_Extensions),
\r
87 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
\r
88 -1, /* IMPLICIT tag at current level */
\r
89 &asn_DEF_ProtocolExtensionContainer_8231P111,
\r
92 0, 0, /* No default value */
\r
96 static const int asn_MAP_BluetoothMeasurementConfiguration_oms_1[] = { 1, 2, 3 };
\r
97 static const ber_tlv_tag_t asn_DEF_BluetoothMeasurementConfiguration_tags_1[] = {
\r
98 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
\r
100 static const asn_TYPE_tag2member_t asn_MAP_BluetoothMeasurementConfiguration_tag2el_1[] = {
\r
101 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* bluetoothMeasConfig */
\r
102 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* bluetoothMeasConfigNameList */
\r
103 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* bt-rssi */
\r
104 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* iE-Extensions */
\r
106 static asn_SEQUENCE_specifics_t asn_SPC_BluetoothMeasurementConfiguration_specs_1 = {
\r
107 sizeof(struct BluetoothMeasurementConfiguration),
\r
108 offsetof(struct BluetoothMeasurementConfiguration, _asn_ctx),
\r
109 asn_MAP_BluetoothMeasurementConfiguration_tag2el_1,
\r
110 4, /* Count of tags in the map */
\r
111 asn_MAP_BluetoothMeasurementConfiguration_oms_1, /* Optional members */
\r
112 3, 0, /* Root/Additions */
\r
113 4, /* First extension addition */
\r
115 asn_TYPE_descriptor_t asn_DEF_BluetoothMeasurementConfiguration = {
\r
116 "BluetoothMeasurementConfiguration",
\r
117 "BluetoothMeasurementConfiguration",
\r
119 asn_DEF_BluetoothMeasurementConfiguration_tags_1,
\r
120 sizeof(asn_DEF_BluetoothMeasurementConfiguration_tags_1)
\r
121 /sizeof(asn_DEF_BluetoothMeasurementConfiguration_tags_1[0]), /* 1 */
\r
122 asn_DEF_BluetoothMeasurementConfiguration_tags_1, /* Same as above */
\r
123 sizeof(asn_DEF_BluetoothMeasurementConfiguration_tags_1)
\r
124 /sizeof(asn_DEF_BluetoothMeasurementConfiguration_tags_1[0]), /* 1 */
\r
125 { 0, 0, SEQUENCE_constraint },
\r
126 asn_MBR_BluetoothMeasurementConfiguration_1,
\r
127 4, /* Elements count */
\r
128 &asn_SPC_BluetoothMeasurementConfiguration_specs_1 /* Additional specs */
\r