Merge "HelloWorld E2SM Dockerfile update"
[ric-app/hw.git] / asn1c_defs / X2N_BluetoothMeasurementConfiguration.c
1 /*
2  * Generated by asn1c-0.9.29 n1 (http://lionet.info/asn1c)
3  * From ASN.1 module "X2AP-IEs"
4  *      found in "../../asn_defs/asn1/x2ap-15-04.asn"
5  *      `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-OER`
6  */
7
8 #include "X2N_BluetoothMeasurementConfiguration.h"
9
10 #include "X2N_BluetoothMeasConfigNameList.h"
11 #include "X2N_ProtocolExtensionContainer.h"
12 /*
13  * This type is implemented using NativeEnumerated,
14  * so here we adjust the DEF accordingly.
15  */
16 static asn_per_constraints_t asn_PER_type_X2N_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 */
20 };
21 static const asn_INTEGER_enum_map_t asn_MAP_X2N_bt_rssi_value2enum_4[] = {
22         { 0,    4,      "true" }
23         /* This list is extensible */
24 };
25 static const unsigned int asn_MAP_X2N_bt_rssi_enum2value_4[] = {
26         0       /* true(0) */
27         /* This list is extensible */
28 };
29 static const asn_INTEGER_specifics_t asn_SPC_X2N_bt_rssi_specs_4 = {
30         asn_MAP_X2N_bt_rssi_value2enum_4,       /* "tag" => N; sorted by tag */
31         asn_MAP_X2N_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 */
36         0
37 };
38 static const ber_tlv_tag_t asn_DEF_X2N_bt_rssi_tags_4[] = {
39         (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
40         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
41 };
42 static /* Use -fall-defs-global to expose */
43 asn_TYPE_descriptor_t asn_DEF_X2N_bt_rssi_4 = {
44         "bt-rssi",
45         "bt-rssi",
46         &asn_OP_NativeEnumerated,
47         asn_DEF_X2N_bt_rssi_tags_4,
48         sizeof(asn_DEF_X2N_bt_rssi_tags_4)
49                 /sizeof(asn_DEF_X2N_bt_rssi_tags_4[0]) - 1, /* 1 */
50         asn_DEF_X2N_bt_rssi_tags_4,     /* Same as above */
51         sizeof(asn_DEF_X2N_bt_rssi_tags_4)
52                 /sizeof(asn_DEF_X2N_bt_rssi_tags_4[0]), /* 2 */
53         { 0, &asn_PER_type_X2N_bt_rssi_constr_4, NativeEnumerated_constraint },
54         0, 0,   /* Defined elsewhere */
55         &asn_SPC_X2N_bt_rssi_specs_4    /* Additional specs */
56 };
57
58 static asn_TYPE_member_t asn_MBR_X2N_BluetoothMeasurementConfiguration_1[] = {
59         { ATF_NOFLAGS, 0, offsetof(struct X2N_BluetoothMeasurementConfiguration, bluetoothMeasConfig),
60                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
61                 -1,     /* IMPLICIT tag at current level */
62                 &asn_DEF_X2N_BluetoothMeasConfig,
63                 0,
64                 { 0, 0, 0 },
65                 0, 0, /* No default value */
66                 "bluetoothMeasConfig"
67                 },
68         { ATF_POINTER, 3, offsetof(struct X2N_BluetoothMeasurementConfiguration, bluetoothMeasConfigNameList),
69                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
70                 -1,     /* IMPLICIT tag at current level */
71                 &asn_DEF_X2N_BluetoothMeasConfigNameList,
72                 0,
73                 { 0, 0, 0 },
74                 0, 0, /* No default value */
75                 "bluetoothMeasConfigNameList"
76                 },
77         { ATF_POINTER, 2, offsetof(struct X2N_BluetoothMeasurementConfiguration, bt_rssi),
78                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
79                 -1,     /* IMPLICIT tag at current level */
80                 &asn_DEF_X2N_bt_rssi_4,
81                 0,
82                 { 0, 0, 0 },
83                 0, 0, /* No default value */
84                 "bt-rssi"
85                 },
86         { ATF_POINTER, 1, offsetof(struct X2N_BluetoothMeasurementConfiguration, iE_Extensions),
87                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
88                 -1,     /* IMPLICIT tag at current level */
89                 &asn_DEF_X2N_ProtocolExtensionContainer_8231P111,
90                 0,
91                 { 0, 0, 0 },
92                 0, 0, /* No default value */
93                 "iE-Extensions"
94                 },
95 };
96 static const int asn_MAP_X2N_BluetoothMeasurementConfiguration_oms_1[] = { 1, 2, 3 };
97 static const ber_tlv_tag_t asn_DEF_X2N_BluetoothMeasurementConfiguration_tags_1[] = {
98         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
99 };
100 static const asn_TYPE_tag2member_t asn_MAP_X2N_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 */
105 };
106 static asn_SEQUENCE_specifics_t asn_SPC_X2N_BluetoothMeasurementConfiguration_specs_1 = {
107         sizeof(struct X2N_BluetoothMeasurementConfiguration),
108         offsetof(struct X2N_BluetoothMeasurementConfiguration, _asn_ctx),
109         asn_MAP_X2N_BluetoothMeasurementConfiguration_tag2el_1,
110         4,      /* Count of tags in the map */
111         asn_MAP_X2N_BluetoothMeasurementConfiguration_oms_1,    /* Optional members */
112         3, 0,   /* Root/Additions */
113         4,      /* First extension addition */
114 };
115 asn_TYPE_descriptor_t asn_DEF_X2N_BluetoothMeasurementConfiguration = {
116         "BluetoothMeasurementConfiguration",
117         "BluetoothMeasurementConfiguration",
118         &asn_OP_SEQUENCE,
119         asn_DEF_X2N_BluetoothMeasurementConfiguration_tags_1,
120         sizeof(asn_DEF_X2N_BluetoothMeasurementConfiguration_tags_1)
121                 /sizeof(asn_DEF_X2N_BluetoothMeasurementConfiguration_tags_1[0]), /* 1 */
122         asn_DEF_X2N_BluetoothMeasurementConfiguration_tags_1,   /* Same as above */
123         sizeof(asn_DEF_X2N_BluetoothMeasurementConfiguration_tags_1)
124                 /sizeof(asn_DEF_X2N_BluetoothMeasurementConfiguration_tags_1[0]), /* 1 */
125         { 0, 0, SEQUENCE_constraint },
126         asn_MBR_X2N_BluetoothMeasurementConfiguration_1,
127         4,      /* Elements count */
128         &asn_SPC_X2N_BluetoothMeasurementConfiguration_specs_1  /* Additional specs */
129 };
130