Updated documentation for mock a1 tool
[ric-app/admin.git] / asn1c_defs / X2N_WLANMeasurementConfiguration.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_WLANMeasurementConfiguration.h"
9
10 #include "X2N_WLANMeasConfigNameList.h"
11 #include "X2N_ProtocolExtensionContainer.h"
12 /*
13  * This type is implemented using NativeEnumerated,
14  * so here we adjust the DEF accordingly.
15  */
16 /*
17  * This type is implemented using NativeEnumerated,
18  * so here we adjust the DEF accordingly.
19  */
20 static asn_per_constraints_t asn_PER_type_X2N_wlan_rssi_constr_4 CC_NOTUSED = {
21         { APC_CONSTRAINED | APC_EXTENSIBLE,  0,  0,  0,  0 }    /* (0..0,...) */,
22         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
23         0, 0    /* No PER value map */
24 };
25 static asn_per_constraints_t asn_PER_type_X2N_wlan_rtt_constr_7 CC_NOTUSED = {
26         { APC_CONSTRAINED | APC_EXTENSIBLE,  0,  0,  0,  0 }    /* (0..0,...) */,
27         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
28         0, 0    /* No PER value map */
29 };
30 static const asn_INTEGER_enum_map_t asn_MAP_X2N_wlan_rssi_value2enum_4[] = {
31         { 0,    4,      "true" }
32         /* This list is extensible */
33 };
34 static const unsigned int asn_MAP_X2N_wlan_rssi_enum2value_4[] = {
35         0       /* true(0) */
36         /* This list is extensible */
37 };
38 static const asn_INTEGER_specifics_t asn_SPC_X2N_wlan_rssi_specs_4 = {
39         asn_MAP_X2N_wlan_rssi_value2enum_4,     /* "tag" => N; sorted by tag */
40         asn_MAP_X2N_wlan_rssi_enum2value_4,     /* N => "tag"; sorted by N */
41         1,      /* Number of elements in the maps */
42         2,      /* Extensions before this member */
43         1,      /* Strict enumeration */
44         0,      /* Native long size */
45         0
46 };
47 static const ber_tlv_tag_t asn_DEF_X2N_wlan_rssi_tags_4[] = {
48         (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
49         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
50 };
51 static /* Use -fall-defs-global to expose */
52 asn_TYPE_descriptor_t asn_DEF_X2N_wlan_rssi_4 = {
53         "wlan-rssi",
54         "wlan-rssi",
55         &asn_OP_NativeEnumerated,
56         asn_DEF_X2N_wlan_rssi_tags_4,
57         sizeof(asn_DEF_X2N_wlan_rssi_tags_4)
58                 /sizeof(asn_DEF_X2N_wlan_rssi_tags_4[0]) - 1, /* 1 */
59         asn_DEF_X2N_wlan_rssi_tags_4,   /* Same as above */
60         sizeof(asn_DEF_X2N_wlan_rssi_tags_4)
61                 /sizeof(asn_DEF_X2N_wlan_rssi_tags_4[0]), /* 2 */
62         { 0, &asn_PER_type_X2N_wlan_rssi_constr_4, NativeEnumerated_constraint },
63         0, 0,   /* Defined elsewhere */
64         &asn_SPC_X2N_wlan_rssi_specs_4  /* Additional specs */
65 };
66
67 static const asn_INTEGER_enum_map_t asn_MAP_X2N_wlan_rtt_value2enum_7[] = {
68         { 0,    4,      "true" }
69         /* This list is extensible */
70 };
71 static const unsigned int asn_MAP_X2N_wlan_rtt_enum2value_7[] = {
72         0       /* true(0) */
73         /* This list is extensible */
74 };
75 static const asn_INTEGER_specifics_t asn_SPC_X2N_wlan_rtt_specs_7 = {
76         asn_MAP_X2N_wlan_rtt_value2enum_7,      /* "tag" => N; sorted by tag */
77         asn_MAP_X2N_wlan_rtt_enum2value_7,      /* N => "tag"; sorted by N */
78         1,      /* Number of elements in the maps */
79         2,      /* Extensions before this member */
80         1,      /* Strict enumeration */
81         0,      /* Native long size */
82         0
83 };
84 static const ber_tlv_tag_t asn_DEF_X2N_wlan_rtt_tags_7[] = {
85         (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
86         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
87 };
88 static /* Use -fall-defs-global to expose */
89 asn_TYPE_descriptor_t asn_DEF_X2N_wlan_rtt_7 = {
90         "wlan-rtt",
91         "wlan-rtt",
92         &asn_OP_NativeEnumerated,
93         asn_DEF_X2N_wlan_rtt_tags_7,
94         sizeof(asn_DEF_X2N_wlan_rtt_tags_7)
95                 /sizeof(asn_DEF_X2N_wlan_rtt_tags_7[0]) - 1, /* 1 */
96         asn_DEF_X2N_wlan_rtt_tags_7,    /* Same as above */
97         sizeof(asn_DEF_X2N_wlan_rtt_tags_7)
98                 /sizeof(asn_DEF_X2N_wlan_rtt_tags_7[0]), /* 2 */
99         { 0, &asn_PER_type_X2N_wlan_rtt_constr_7, NativeEnumerated_constraint },
100         0, 0,   /* Defined elsewhere */
101         &asn_SPC_X2N_wlan_rtt_specs_7   /* Additional specs */
102 };
103
104 static asn_TYPE_member_t asn_MBR_X2N_WLANMeasurementConfiguration_1[] = {
105         { ATF_NOFLAGS, 0, offsetof(struct X2N_WLANMeasurementConfiguration, wlanMeasConfig),
106                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
107                 -1,     /* IMPLICIT tag at current level */
108                 &asn_DEF_X2N_WLANMeasConfig,
109                 0,
110                 { 0, 0, 0 },
111                 0, 0, /* No default value */
112                 "wlanMeasConfig"
113                 },
114         { ATF_POINTER, 4, offsetof(struct X2N_WLANMeasurementConfiguration, wlanMeasConfigNameList),
115                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
116                 -1,     /* IMPLICIT tag at current level */
117                 &asn_DEF_X2N_WLANMeasConfigNameList,
118                 0,
119                 { 0, 0, 0 },
120                 0, 0, /* No default value */
121                 "wlanMeasConfigNameList"
122                 },
123         { ATF_POINTER, 3, offsetof(struct X2N_WLANMeasurementConfiguration, wlan_rssi),
124                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
125                 -1,     /* IMPLICIT tag at current level */
126                 &asn_DEF_X2N_wlan_rssi_4,
127                 0,
128                 { 0, 0, 0 },
129                 0, 0, /* No default value */
130                 "wlan-rssi"
131                 },
132         { ATF_POINTER, 2, offsetof(struct X2N_WLANMeasurementConfiguration, wlan_rtt),
133                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
134                 -1,     /* IMPLICIT tag at current level */
135                 &asn_DEF_X2N_wlan_rtt_7,
136                 0,
137                 { 0, 0, 0 },
138                 0, 0, /* No default value */
139                 "wlan-rtt"
140                 },
141         { ATF_POINTER, 1, offsetof(struct X2N_WLANMeasurementConfiguration, iE_Extensions),
142                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
143                 -1,     /* IMPLICIT tag at current level */
144                 &asn_DEF_X2N_ProtocolExtensionContainer_8231P222,
145                 0,
146                 { 0, 0, 0 },
147                 0, 0, /* No default value */
148                 "iE-Extensions"
149                 },
150 };
151 static const int asn_MAP_X2N_WLANMeasurementConfiguration_oms_1[] = { 1, 2, 3, 4 };
152 static const ber_tlv_tag_t asn_DEF_X2N_WLANMeasurementConfiguration_tags_1[] = {
153         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
154 };
155 static const asn_TYPE_tag2member_t asn_MAP_X2N_WLANMeasurementConfiguration_tag2el_1[] = {
156     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* wlanMeasConfig */
157     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* wlanMeasConfigNameList */
158     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* wlan-rssi */
159     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* wlan-rtt */
160     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* iE-Extensions */
161 };
162 static asn_SEQUENCE_specifics_t asn_SPC_X2N_WLANMeasurementConfiguration_specs_1 = {
163         sizeof(struct X2N_WLANMeasurementConfiguration),
164         offsetof(struct X2N_WLANMeasurementConfiguration, _asn_ctx),
165         asn_MAP_X2N_WLANMeasurementConfiguration_tag2el_1,
166         5,      /* Count of tags in the map */
167         asn_MAP_X2N_WLANMeasurementConfiguration_oms_1, /* Optional members */
168         4, 0,   /* Root/Additions */
169         5,      /* First extension addition */
170 };
171 asn_TYPE_descriptor_t asn_DEF_X2N_WLANMeasurementConfiguration = {
172         "WLANMeasurementConfiguration",
173         "WLANMeasurementConfiguration",
174         &asn_OP_SEQUENCE,
175         asn_DEF_X2N_WLANMeasurementConfiguration_tags_1,
176         sizeof(asn_DEF_X2N_WLANMeasurementConfiguration_tags_1)
177                 /sizeof(asn_DEF_X2N_WLANMeasurementConfiguration_tags_1[0]), /* 1 */
178         asn_DEF_X2N_WLANMeasurementConfiguration_tags_1,        /* Same as above */
179         sizeof(asn_DEF_X2N_WLANMeasurementConfiguration_tags_1)
180                 /sizeof(asn_DEF_X2N_WLANMeasurementConfiguration_tags_1[0]), /* 1 */
181         { 0, 0, SEQUENCE_constraint },
182         asn_MBR_X2N_WLANMeasurementConfiguration_1,
183         5,      /* Elements count */
184         &asn_SPC_X2N_WLANMeasurementConfiguration_specs_1       /* Additional specs */
185 };
186