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