blob: 363f33d71809668ae881fd7f2a0aa58af99c969e [file] [log] [blame]
Neels Hofmeyr17518fe2017-06-20 04:35:06 +02001/*! \file gsm_08_58.h
2 * GSM Radio Signalling Link messages on the A-bis interface.
Harald Welteec8b4502010-02-20 20:34:29 +01003 * 3GPP TS 08.58 version 8.6.0 Release 1999 / ETSI TS 100 596 V8.6.0 */
Neels Hofmeyr17518fe2017-06-20 04:35:06 +02004/*
5 * (C) 2008 by Harald Welte <laforge@gnumonks.org>
Harald Welteec8b4502010-02-20 20:34:29 +01006 * All Rights Reserved
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License along
19 * with this program; if not, write to the Free Software Foundation, Inc.,
20 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 *
22 */
23
Neels Hofmeyr17518fe2017-06-20 04:35:06 +020024#pragma once
25
Harald Welteec8b4502010-02-20 20:34:29 +010026#include <stdint.h>
27
Pau Espin Pedrol42908032018-10-10 17:04:28 +020028#include <osmocom/core/endian.h>
29
Harald Welte8f2c7e52011-08-17 18:52:03 +020030/*! \addtogroup rsl
31 * @{
Neels Hofmeyr17518fe2017-06-20 04:35:06 +020032 * \file gsm_08_58.h */
Harald Welte8f2c7e52011-08-17 18:52:03 +020033
Pau Espin Pedrolfb97e722018-10-10 20:41:40 +020034/* Channel Number 9.3.1 */
35union abis_rsl_chan_nr {
36#if OSMO_IS_BIG_ENDIAN
37 uint8_t cbits:5,
38 tn:3;
39#elif OSMO_IS_LITTLE_ENDIAN
40 uint8_t tn:3,
41 cbits:5;
42#endif
43 uint8_t chan_nr;
44} __attribute__ ((packed));
45#define ABIS_RSL_CHAN_NR_CBITS_Bm_ACCHs 0x01
46#define ABIS_RSL_CHAN_NR_CBITS_Lm_ACCHs(ss) (0x02 + (ss))
47#define ABIS_RSL_CHAN_NR_CBITS_SDCCH4_ACCH(ss) (0x04 + (ss))
48#define ABIS_RSL_CHAN_NR_CBITS_SDCCH8_ACCH(ss) (0x08 + (ss))
49#define ABIS_RSL_CHAN_NR_CBITS_BCCH 0x10
50#define ABIS_RSL_CHAN_NR_CBITS_RACH 0x11
51#define ABIS_RSL_CHAN_NR_CBITS_PCH_AGCH 0x12
52#define ABIS_RSL_CHAN_NR_CBITS_OSMO_PDCH 0x18 /*< non-standard, for dyn TS */
53
Pau Espin Pedrol42908032018-10-10 17:04:28 +020054/* Link Identifier 9.3.2 */
55union abis_rsl_link_id {
56#if OSMO_IS_BIG_ENDIAN
57 uint8_t cbits:2,
58 na:1,
Martin Haukee63b8872018-11-15 14:53:13 +010059 reserved:2,
Pau Espin Pedrol42908032018-10-10 17:04:28 +020060 sapi:3;
61#elif OSMO_IS_LITTLE_ENDIAN
62 uint8_t sapi:3,
63 reserved:2,
64 na:1,
65 cbits:2;
66#endif
67 uint8_t link_id;
68} __attribute__ ((packed));
69#define ABIS_RSL_LINK_ID_CBITS_FACCH_SDCCH 0x00
70#define ABIS_RSL_LINK_ID_CBITS_SACCH 0x01
71
Neels Hofmeyr87e45502017-06-20 00:17:59 +020072/*! RSL common header */
Harald Welteec8b4502010-02-20 20:34:29 +010073struct abis_rsl_common_hdr {
Neels Hofmeyr87e45502017-06-20 00:17:59 +020074 uint8_t msg_discr; /*!< message discriminator (ABIS_RSL_MDISC_*) */
75 uint8_t msg_type; /*!< message type (\ref abis_rsl_msgtype) */
76 uint8_t data[0]; /*!< actual payload data */
Harald Welteec8b4502010-02-20 20:34:29 +010077} __attribute__ ((packed));
78
Neels Hofmeyr87e45502017-06-20 00:17:59 +020079/* RSL RLL header (Chapter 8.3) */
Harald Welteec8b4502010-02-20 20:34:29 +010080struct abis_rsl_rll_hdr {
81 struct abis_rsl_common_hdr c;
Neels Hofmeyr87e45502017-06-20 00:17:59 +020082 uint8_t ie_chan; /*!< \ref RSL_IE_CHAN_NR (tag) */
Pau Espin Pedrolfb97e722018-10-10 20:41:40 +020083 union {
84 uint8_t chan_nr; /* API backward compat */
85 union abis_rsl_chan_nr chan_nr_fields; /*!< RSL channel number (value) */
86 };
Neels Hofmeyr87e45502017-06-20 00:17:59 +020087 uint8_t ie_link_id; /*!< \ref RSL_IE_LINK_IDENT (tag) */
Pau Espin Pedrol42908032018-10-10 17:04:28 +020088 union {
89 uint8_t link_id; /* API backward compat */
90 union abis_rsl_link_id link_id_fields; /*!< RSL link identifier (value) */
91 };
Neels Hofmeyr87e45502017-06-20 00:17:59 +020092 uint8_t data[0]; /*!< message payload data */
Harald Welteec8b4502010-02-20 20:34:29 +010093} __attribute__ ((packed));
94
Neels Hofmeyr87e45502017-06-20 00:17:59 +020095/* RSL Dedicated Channel header (Chapter 8.3 and 8.4) */
Harald Welteec8b4502010-02-20 20:34:29 +010096struct abis_rsl_dchan_hdr {
97 struct abis_rsl_common_hdr c;
Neels Hofmeyr87e45502017-06-20 00:17:59 +020098 uint8_t ie_chan; /*!< \ref RSL_IE_CHAN_NR (tag) */
Pau Espin Pedrolfb97e722018-10-10 20:41:40 +020099 union {
100 uint8_t chan_nr; /* API backward compat */
101 union abis_rsl_chan_nr chan_nr_fields; /*!< RSL channel number (value) */
102 };
Neels Hofmeyr87e45502017-06-20 00:17:59 +0200103 uint8_t data[0]; /*!< message payload data */
Harald Welteec8b4502010-02-20 20:34:29 +0100104} __attribute__ ((packed));
105
Neels Hofmeyr87e45502017-06-20 00:17:59 +0200106/* RSL Common Channel header (Chapter 8.5) */
Harald Welte6eb7d6c2010-07-13 13:48:13 +0200107struct abis_rsl_cchan_hdr {
108 struct abis_rsl_common_hdr c;
Neels Hofmeyr87e45502017-06-20 00:17:59 +0200109 uint8_t ie_chan; /*!< \ref RSL_IE_CHAN_NR (tag) */
Pau Espin Pedrolfb97e722018-10-10 20:41:40 +0200110 union {
111 uint8_t chan_nr; /* API backward compat */
112 union abis_rsl_chan_nr chan_nr_fields; /*!< RSL channel number (value) */
113 };
Neels Hofmeyr87e45502017-06-20 00:17:59 +0200114 uint8_t data[0]; /*!< message payload data */
Harald Welte6eb7d6c2010-07-13 13:48:13 +0200115} __attribute__ ((packed));
116
Harald Welteec8b4502010-02-20 20:34:29 +0100117
118/* Chapter 9.1 */
Neels Hofmeyr87e45502017-06-20 00:17:59 +0200119/* RSL Message Discriminator: RLL */
Harald Welteec8b4502010-02-20 20:34:29 +0100120#define ABIS_RSL_MDISC_RLL 0x02
Neels Hofmeyr87e45502017-06-20 00:17:59 +0200121/* RSL Message Discriminator: Dedicated Channel */
Harald Welteec8b4502010-02-20 20:34:29 +0100122#define ABIS_RSL_MDISC_DED_CHAN 0x08
Neels Hofmeyr87e45502017-06-20 00:17:59 +0200123/* RSL Message Discriminator: Common Channel */
Harald Welteec8b4502010-02-20 20:34:29 +0100124#define ABIS_RSL_MDISC_COM_CHAN 0x0c
Neels Hofmeyr87e45502017-06-20 00:17:59 +0200125/* RSL Message Discriminator: TRX Management */
Harald Welteec8b4502010-02-20 20:34:29 +0100126#define ABIS_RSL_MDISC_TRX 0x10
Neels Hofmeyr87e45502017-06-20 00:17:59 +0200127/* RSL Message Discriminator: Location Service */
Harald Welteec8b4502010-02-20 20:34:29 +0100128#define ABIS_RSL_MDISC_LOC 0x20
Neels Hofmeyr87e45502017-06-20 00:17:59 +0200129/* RSL Message Discriminator: ip.access */
Harald Welteec8b4502010-02-20 20:34:29 +0100130#define ABIS_RSL_MDISC_IPACCESS 0x7e
131#define ABIS_RSL_MDISC_TRANSP 0x01
132
Neels Hofmeyr87e45502017-06-20 00:17:59 +0200133/* Check if given RSL message discriminator is transparent */
Harald Welteec8b4502010-02-20 20:34:29 +0100134#define ABIS_RSL_MDISC_IS_TRANSP(x) (x & 0x01)
135
Neels Hofmeyr87e45502017-06-20 00:17:59 +0200136/* RSL Message Type (Chapter 9.1) */
Harald Welteec8b4502010-02-20 20:34:29 +0100137enum abis_rsl_msgtype {
138 /* Radio Link Layer Management */
139 RSL_MT_DATA_REQ = 0x01,
140 RSL_MT_DATA_IND,
141 RSL_MT_ERROR_IND,
142 RSL_MT_EST_REQ,
143 RSL_MT_EST_CONF,
144 RSL_MT_EST_IND,
145 RSL_MT_REL_REQ,
146 RSL_MT_REL_CONF,
147 RSL_MT_REL_IND,
148 RSL_MT_UNIT_DATA_REQ,
149 RSL_MT_UNIT_DATA_IND, /* 0x0b */
Andreas Eversberg816e24c2010-06-25 02:50:56 +0200150 RSL_MT_SUSP_REQ, /* non-standard elements */
151 RSL_MT_SUSP_CONF,
152 RSL_MT_RES_REQ,
153 RSL_MT_RECON_REQ, /* 0x0f */
Harald Welteec8b4502010-02-20 20:34:29 +0100154
155 /* Common Channel Management / TRX Management */
156 RSL_MT_BCCH_INFO = 0x11,
157 RSL_MT_CCCH_LOAD_IND,
158 RSL_MT_CHAN_RQD,
159 RSL_MT_DELETE_IND,
160 RSL_MT_PAGING_CMD,
161 RSL_MT_IMMEDIATE_ASSIGN_CMD,
162 RSL_MT_SMS_BC_REQ,
Harald Welte6eb7d6c2010-07-13 13:48:13 +0200163 RSL_MT_CHAN_CONF, /* non-standard element */
Harald Welteec8b4502010-02-20 20:34:29 +0100164 /* empty */
165 RSL_MT_RF_RES_IND = 0x19,
166 RSL_MT_SACCH_FILL,
167 RSL_MT_OVERLOAD,
168 RSL_MT_ERROR_REPORT,
169 RSL_MT_SMS_BC_CMD,
170 RSL_MT_CBCH_LOAD_IND,
171 RSL_MT_NOT_CMD, /* 0x1f */
172
173 /* Dedicate Channel Management */
174 RSL_MT_CHAN_ACTIV = 0x21,
175 RSL_MT_CHAN_ACTIV_ACK,
176 RSL_MT_CHAN_ACTIV_NACK,
177 RSL_MT_CONN_FAIL,
178 RSL_MT_DEACTIVATE_SACCH,
179 RSL_MT_ENCR_CMD,
180 RSL_MT_HANDO_DET,
181 RSL_MT_MEAS_RES,
182 RSL_MT_MODE_MODIFY_REQ,
183 RSL_MT_MODE_MODIFY_ACK,
184 RSL_MT_MODE_MODIFY_NACK,
185 RSL_MT_PHY_CONTEXT_REQ,
186 RSL_MT_PHY_CONTEXT_CONF,
187 RSL_MT_RF_CHAN_REL,
188 RSL_MT_MS_POWER_CONTROL,
189 RSL_MT_BS_POWER_CONTROL, /* 0x30 */
190 RSL_MT_PREPROC_CONFIG,
191 RSL_MT_PREPROC_MEAS_RES,
192 RSL_MT_RF_CHAN_REL_ACK,
193 RSL_MT_SACCH_INFO_MODIFY,
194 RSL_MT_TALKER_DET,
195 RSL_MT_LISTENER_DET,
196 RSL_MT_REMOTE_CODEC_CONF_REP,
197 RSL_MT_RTD_REP,
198 RSL_MT_PRE_HANDO_NOTIF,
199 RSL_MT_MR_CODEC_MOD_REQ,
200 RSL_MT_MR_CODEC_MOD_ACK,
201 RSL_MT_MR_CODEC_MOD_NACK,
202 RSL_MT_MR_CODEC_MOD_PER,
203 RSL_MT_TFO_REP,
204 RSL_MT_TFO_MOD_REQ, /* 0x3f */
205 RSL_MT_LOCATION_INFO = 0x41,
206
207 /* ip.access specific RSL message types */
208 RSL_MT_IPAC_DIR_RETR_ENQ = 0x40,
209 RSL_MT_IPAC_PDCH_ACT = 0x48,
210 RSL_MT_IPAC_PDCH_ACT_ACK,
211 RSL_MT_IPAC_PDCH_ACT_NACK,
212 RSL_MT_IPAC_PDCH_DEACT = 0x4b,
213 RSL_MT_IPAC_PDCH_DEACT_ACK,
214 RSL_MT_IPAC_PDCH_DEACT_NACK,
215 RSL_MT_IPAC_CONNECT_MUX = 0x50,
216 RSL_MT_IPAC_CONNECT_MUX_ACK,
217 RSL_MT_IPAC_CONNECT_MUX_NACK,
218 RSL_MT_IPAC_BIND_MUX = 0x53,
219 RSL_MT_IPAC_BIND_MUX_ACK,
220 RSL_MT_IPAC_BIND_MUX_NACK,
221 RSL_MT_IPAC_DISC_MUX = 0x56,
222 RSL_MT_IPAC_DISC_MUX_ACK,
223 RSL_MT_IPAC_DISC_MUX_NACK,
Minh-Quang Nguyen17a87482016-09-02 11:28:31 -0400224 RSL_MT_IPAC_MEAS_PREPROC_DFT = 0x60, /*Extented Common Channel Management */
225 RSL_MT_IPAC_HO_CAN_ENQ = 0x61,
226 RSL_MT_IPAC_HO_CAN_RES = 0x62,
Harald Welteec8b4502010-02-20 20:34:29 +0100227 RSL_MT_IPAC_CRCX = 0x70, /* Bind to local BTS RTP port */
228 RSL_MT_IPAC_CRCX_ACK,
229 RSL_MT_IPAC_CRCX_NACK,
230 RSL_MT_IPAC_MDCX = 0x73,
231 RSL_MT_IPAC_MDCX_ACK,
232 RSL_MT_IPAC_MDCX_NACK,
233 RSL_MT_IPAC_DLCX_IND = 0x76,
234 RSL_MT_IPAC_DLCX = 0x77,
235 RSL_MT_IPAC_DLCX_ACK,
236 RSL_MT_IPAC_DLCX_NACK,
237};
238
Neels Hofmeyr87e45502017-06-20 00:17:59 +0200239/*! Siemens vendor-specific RSL message types */
Harald Welteec8b4502010-02-20 20:34:29 +0100240enum abis_rsl_msgtype_siemens {
241 RSL_MT_SIEMENS_MRPCI = 0x41,
242 RSL_MT_SIEMENS_INTRAC_HO_COND_IND = 0x42,
243 RSL_MT_SIEMENS_INTERC_HO_COND_IND = 0x43,
244 RSL_MT_SIEMENS_FORCED_HO_REQ = 0x44,
245 RSL_MT_SIEMENS_PREF_AREA_REQ = 0x45,
246 RSL_MT_SIEMENS_PREF_AREA = 0x46,
247 RSL_MT_SIEMENS_START_TRACE = 0x47,
248 RSL_MT_SIEMENS_START_TRACE_ACK = 0x48,
249 RSL_MT_SIEMENS_STOP_TRACE = 0x49,
250 RSL_MT_SIEMENS_TRMR = 0x4a,
251 RSL_MT_SIEMENS_HO_FAIL_IND = 0x4b,
252 RSL_MT_SIEMENS_STOP_TRACE_ACK = 0x4c,
253 RSL_MT_SIEMENS_UPLF = 0x4d,
254 RSL_MT_SIEMENS_UPLB = 0x4e,
255 RSL_MT_SIEMENS_SET_SYS_INFO_10 = 0x4f,
256 RSL_MT_SIEMENS_MODIF_COND_IND = 0x50,
257};
258
Pau Espin Pedrol95959a82018-04-21 22:47:54 +0200259/*! Ericsson vendor-specific RSL message types */
260enum abis_rsl_msgtype_ericsson {
261 RSL_MT_ERICSSON_IMM_ASS_SENT = 0x10,
262};
263
Neels Hofmeyr87e45502017-06-20 00:17:59 +0200264/*! RSL Information Element Identifiers (Chapter 9.3) */
Harald Welteec8b4502010-02-20 20:34:29 +0100265enum abis_rsl_ie {
266 RSL_IE_CHAN_NR = 0x01,
267 RSL_IE_LINK_IDENT,
268 RSL_IE_ACT_TYPE,
269 RSL_IE_BS_POWER,
270 RSL_IE_CHAN_IDENT,
271 RSL_IE_CHAN_MODE,
272 RSL_IE_ENCR_INFO,
273 RSL_IE_FRAME_NUMBER,
274 RSL_IE_HANDO_REF,
275 RSL_IE_L1_INFO,
276 RSL_IE_L3_INFO,
277 RSL_IE_MS_IDENTITY,
278 RSL_IE_MS_POWER,
279 RSL_IE_PAGING_GROUP,
280 RSL_IE_PAGING_LOAD,
281 RSL_IE_PYHS_CONTEXT = 0x10,
282 RSL_IE_ACCESS_DELAY,
283 RSL_IE_RACH_LOAD,
284 RSL_IE_REQ_REFERENCE,
285 RSL_IE_RELEASE_MODE,
286 RSL_IE_RESOURCE_INFO,
287 RSL_IE_RLM_CAUSE,
288 RSL_IE_STARTNG_TIME,
289 RSL_IE_TIMING_ADVANCE,
290 RSL_IE_UPLINK_MEAS,
291 RSL_IE_CAUSE,
292 RSL_IE_MEAS_RES_NR,
293 RSL_IE_MSG_ID,
294 /* reserved */
295 RSL_IE_SYSINFO_TYPE = 0x1e,
296 RSL_IE_MS_POWER_PARAM,
297 RSL_IE_BS_POWER_PARAM,
298 RSL_IE_PREPROC_PARAM,
299 RSL_IE_PREPROC_MEAS,
300 RSL_IE_IMM_ASS_INFO, /* Phase 1 (3.6.0), later Full below */
301 RSL_IE_SMSCB_INFO = 0x24,
302 RSL_IE_MS_TIMING_OFFSET,
303 RSL_IE_ERR_MSG,
304 RSL_IE_FULL_BCCH_INFO,
305 RSL_IE_CHAN_NEEDED,
306 RSL_IE_CB_CMD_TYPE,
307 RSL_IE_SMSCB_MSG,
308 RSL_IE_FULL_IMM_ASS_INFO,
309 RSL_IE_SACCH_INFO,
310 RSL_IE_CBCH_LOAD_INFO,
311 RSL_IE_SMSCB_CHAN_INDICATOR,
312 RSL_IE_GROUP_CALL_REF,
313 RSL_IE_CHAN_DESC = 0x30,
314 RSL_IE_NCH_DRX_INFO,
315 RSL_IE_CMD_INDICATOR,
316 RSL_IE_EMLPP_PRIO,
317 RSL_IE_UIC,
318 RSL_IE_MAIN_CHAN_REF,
319 RSL_IE_MR_CONFIG,
320 RSL_IE_MR_CONTROL,
321 RSL_IE_SUP_CODEC_TYPES,
322 RSL_IE_CODEC_CONFIG,
323 RSL_IE_RTD,
324 RSL_IE_TFO_STATUS,
325 RSL_IE_LLP_APDU,
326 /* Siemens vendor-specific */
327 RSL_IE_SIEMENS_MRPCI = 0x40,
328 RSL_IE_SIEMENS_PREF_AREA_TYPE = 0x43,
329 RSL_IE_SIEMENS_ININ_CELL_HO_PAR = 0x45,
330 RSL_IE_SIEMENS_TRACE_REF_NR = 0x46,
331 RSL_IE_SIEMENS_INT_TRACE_IDX = 0x47,
332 RSL_IE_SIEMENS_L2_HDR_INFO = 0x48,
333 RSL_IE_SIEMENS_HIGHEST_RATE = 0x4e,
334 RSL_IE_SIEMENS_SUGGESTED_RATE = 0x4f,
335
336 /* ip.access */
337 RSL_IE_IPAC_SRTP_CONFIG = 0xe0,
338 RSL_IE_IPAC_PROXY_UDP = 0xe1,
339 RSL_IE_IPAC_BSCMPL_TOUT = 0xe2,
340 RSL_IE_IPAC_REMOTE_IP = 0xf0,
341 RSL_IE_IPAC_REMOTE_PORT = 0xf1,
342 RSL_IE_IPAC_RTP_PAYLOAD = 0xf2,
343 RSL_IE_IPAC_LOCAL_PORT = 0xf3,
344 RSL_IE_IPAC_SPEECH_MODE = 0xf4,
345 RSL_IE_IPAC_LOCAL_IP = 0xf5,
346 RSL_IE_IPAC_CONN_STAT = 0xf6,
347 RSL_IE_IPAC_HO_C_PARMS = 0xf7,
348 RSL_IE_IPAC_CONN_ID = 0xf8,
349 RSL_IE_IPAC_RTP_CSD_FMT = 0xf9,
350 RSL_IE_IPAC_RTP_JIT_BUF = 0xfa,
351 RSL_IE_IPAC_RTP_COMPR = 0xfb,
352 RSL_IE_IPAC_RTP_PAYLOAD2= 0xfc,
353 RSL_IE_IPAC_RTP_MPLEX = 0xfd,
354 RSL_IE_IPAC_RTP_MPLEX_ID= 0xfe,
355};
356
Harald Welte6e363e72016-11-16 16:58:52 +0100357/* Ericsson specific IEs, clash with above partially, so they're not
358 * part of the enum */
Alexander Couzens9f39d892018-04-21 21:20:25 +0200359#define RSL_IE_ERIC_PAGING_GROUP 0x0e
Harald Welte6e363e72016-11-16 16:58:52 +0100360#define RSL_IE_ERIC_INST_NR 0x48
361#define RSL_IE_ERIC_PGSL_TIMERS 0x49
362#define RSL_IE_ERIC_REPEAT_DL_FACCH 0x4a
363#define RSL_IE_ERIC_POWER_INFO 0xf0
364#define RSL_IE_ERIC_MOBILE_ID 0xf1
365#define RSL_IE_ERIC_BCCH_MAPPING 0xf2
366#define RSL_IE_ERIC_PACKET_PAG_IND 0xf3
367#define RSL_IE_ERIC_CNTR_CTRL 0xf4
368#define RSL_IE_ERIC_CNTR_CTRL_ACK 0xf5
369#define RSL_IE_ERIC_CNTR_REPORT 0xf6
370#define RSL_IE_ERIC_ICP_CONN 0xf7
371#define RSL_IE_ERIC_EMR_SUPPORT 0xf8
372#define RSL_IE_ERIC_EGPRS_REQ_REF 0xf9
373#define RSL_IE_ERIC_VGCS_REL 0xfa
374#define RSL_IE_ERIC_REP_PER_NCH 0xfb
375#define RSL_IE_ERIC_NY2 0xfc
376#define RSL_IE_ERIC_T3115 0xfd
377#define RSL_IE_ERIC_ACTIVATE_FLAG 0xfe
378#define RSL_IE_ERIC_FULL_NCH_INFO 0xff
379
Minh-Quang Nguyen17a87482016-09-02 11:28:31 -0400380/* IPAC MEAS_PREPROC AVERAGING METHOD */
381enum {
382 IPAC_UNWEIGHTED_AVE = 0,
383 IPAC_WEIGHTED_AVE,
384 IPAC_MEDIAN_AVE
385};
386
387/* IPAC MEAS_PREPROC AVERAGING PARAMID */
388enum {
389 IPAC_RXLEV_AVE = 0,
390 IPAC_RXQUAL_AVE,
391 IPAC_MS_BTS_DIS_AVE
392};
393
394/* IPAC MEAS_PREPROC HO CAUSES */
395enum {
396 IPAC_HO_RQD_CAUSE_L_RXLEV_UL_H = 0x01,
397 IPAC_HO_RQD_CAUSE_L_RXLEV_DL_H,
398 IPAC_HO_RQD_CAUSE_L_RXQUAL_UL_H,
399 IPAC_HO_RQD_CAUSE_L_RXQUAL_DL_H,
400 IPAC_HO_RQD_CAUSE_RXLEV_UL_IH,
401 IPAC_HO_RQD_CAUSE_RXLEV_DL_IH,
402 IPAC_HO_RQD_CAUSE_MAX_MS_RANGE,
403 IPAC_HO_RQD_CAUSE_POWER_BUDGET,
404 IPAC_HO_RQD_CAUSE_ENQUIRY,
405 IPAC_HO_RQD_CAUSE_ENQUIRY_FAILED,
406 IPAC_HO_RQD_CAUSE_NORMAL3G,
407 IPAC_HO_RQD_CAUSE_EMERGENCY3G,
408 IPAC_HO_RQD_CAUSE_SERVICE_PREFERRED3G,
409 IPAC_HO_RQD_CAUSE_O_M_SHUTDOWN,
410 IPAC_HO_RQD_CAUSE_QUALITY_PROMOTION,
411 IPAC_HO_RQD_CAUSE_LOAD_PROMOTION,
412 IPAC_HO_RQD_CAUSE_LOAD_DEMOTION,
413 IPAC_HO_RQD_CAUSE_MAX,
414};
415
Harald Welteec8b4502010-02-20 20:34:29 +0100416/* Chapter 9.3.1 */
417#define RSL_CHAN_NR_MASK 0xf8
Neels Hofmeyr15b96ff2016-07-18 23:33:48 +0200418#define RSL_CHAN_NR_1 0x08 /*< bit to add for 2nd,... lchan */
Harald Welteec8b4502010-02-20 20:34:29 +0100419#define RSL_CHAN_Bm_ACCHs 0x08
420#define RSL_CHAN_Lm_ACCHs 0x10 /* .. 0x18 */
421#define RSL_CHAN_SDCCH4_ACCH 0x20 /* .. 0x38 */
422#define RSL_CHAN_SDCCH8_ACCH 0x40 /* ...0x78 */
423#define RSL_CHAN_BCCH 0x80
424#define RSL_CHAN_RACH 0x88
425#define RSL_CHAN_PCH_AGCH 0x90
Neels Hofmeyrfd80f5a2016-07-14 03:21:05 +0200426#define RSL_CHAN_OSMO_PDCH 0xc0 /*< non-standard, for dyn TS */
Harald Welteec8b4502010-02-20 20:34:29 +0100427
428/* Chapter 9.3.3 */
429#define RSL_ACT_TYPE_INITIAL 0x00
430#define RSL_ACT_TYPE_REACT 0x80
431#define RSL_ACT_INTRA_IMM_ASS 0x00
432#define RSL_ACT_INTRA_NORM_ASS 0x01
433#define RSL_ACT_INTER_ASYNC 0x02
434#define RSL_ACT_INTER_SYNC 0x03
435#define RSL_ACT_SECOND_ADD 0x04
436#define RSL_ACT_SECOND_MULTI 0x05
Neels Hofmeyrfd80f5a2016-07-14 03:21:05 +0200437#define RSL_ACT_OSMO_PDCH 0x0f /*< non-standard, for dyn TS */
Harald Welteec8b4502010-02-20 20:34:29 +0100438
Neels Hofmeyr87e45502017-06-20 00:17:59 +0200439/*! RSL Channel Mode IF (Chapter 9.3.6) */
Harald Welteec8b4502010-02-20 20:34:29 +0100440struct rsl_ie_chan_mode {
441 uint8_t dtx_dtu;
442 uint8_t spd_ind;
443 uint8_t chan_rt;
444 uint8_t chan_rate;
445} __attribute__ ((packed));
446#define RSL_CMOD_DTXu 0x01 /* uplink */
447#define RSL_CMOD_DTXd 0x02 /* downlink */
448enum rsl_cmod_spd {
449 RSL_CMOD_SPD_SPEECH = 0x01,
450 RSL_CMOD_SPD_DATA = 0x02,
451 RSL_CMOD_SPD_SIGN = 0x03,
452};
453#define RSL_CMOD_CRT_SDCCH 0x01
454#define RSL_CMOD_CRT_TCH_Bm 0x08 /* full-rate */
455#define RSL_CMOD_CRT_TCH_Lm 0x09 /* half-rate */
456/* FIXME: More CRT types */
457/* Speech */
458#define RSL_CMOD_SP_GSM1 0x01
459#define RSL_CMOD_SP_GSM2 0x11
460#define RSL_CMOD_SP_GSM3 0x21
Harald Welteeed26112012-08-24 15:35:34 +0200461/* non-transparent data */
462#define RSL_CMOD_CSD_NT_43k5 0x74
463#define RSL_CMOD_CSD_NT_28k8 0x71
464#define RSL_CMOD_CSD_NT_14k5 0x58
465#define RSL_CMOD_CSD_NT_12k0 0x50
466#define RSL_CMOD_CSD_NT_6k0 0x51
467/* legacy #defines with wrong name */
468#define RSL_CMOD_SP_NT_14k5 RSL_CMOD_CSD_NT_14k5
469#define RSL_CMOD_SP_NT_12k0 RSL_CMOD_CSD_NT_12k0
470#define RSL_CMOD_SP_NT_6k0 RSL_CMOD_CSD_NT_6k0
471/* transparent data */
472#define RSL_CMOD_CSD_T_32000 0x38
473#define RSL_CMOD_CSD_T_29000 0x39
474#define RSL_CMOD_CSD_T_14400 0x18
475#define RSL_CMOD_CSD_T_9600 0x10
476#define RSL_CMOD_CSD_T_4800 0x11
477#define RSL_CMOD_CSD_T_2400 0x12
478#define RSL_CMOD_CSD_T_1200 0x13
479#define RSL_CMOD_CSD_T_600 0x14
480#define RSL_CMOD_CSD_T_1200_75 0x15
Harald Welteec8b4502010-02-20 20:34:29 +0100481
Neels Hofmeyr87e45502017-06-20 00:17:59 +0200482/*! RSL Channel Identification IE (Chapter 9.3.5) */
Harald Welteec8b4502010-02-20 20:34:29 +0100483struct rsl_ie_chan_ident {
484 /* GSM 04.08 10.5.2.5 */
485 struct {
486 uint8_t iei;
487 uint8_t chan_nr; /* enc_chan_nr */
488 uint8_t oct3;
489 uint8_t oct4;
490 } chan_desc;
491#if 0 /* spec says we need this but Abissim doesn't use it */
492 struct {
493 uint8_t tag;
494 uint8_t len;
495 } mobile_alloc;
496#endif
497} __attribute__ ((packed));
498
499/* Chapter 9.3.22 */
500#define RLL_CAUSE_T200_EXPIRED 0x01
501#define RLL_CAUSE_REEST_REQ 0x02
502#define RLL_CAUSE_UNSOL_UA_RESP 0x03
503#define RLL_CAUSE_UNSOL_DM_RESP 0x04
504#define RLL_CAUSE_UNSOL_DM_RESP_MF 0x05
505#define RLL_CAUSE_UNSOL_SPRV_RESP 0x06
506#define RLL_CAUSE_SEQ_ERR 0x07
507#define RLL_CAUSE_UFRM_INC_PARAM 0x08
508#define RLL_CAUSE_SFRM_INC_PARAM 0x09
509#define RLL_CAUSE_IFRM_INC_MBITS 0x0a
510#define RLL_CAUSE_IFRM_INC_LEN 0x0b
511#define RLL_CAUSE_FRM_UNIMPL 0x0c
512#define RLL_CAUSE_SABM_MF 0x0d
513#define RLL_CAUSE_SABM_INFO_NOTALL 0x0e
514
515/* Chapter 9.3.26 */
516#define RSL_ERRCLS_NORMAL 0x00
517#define RSL_ERRCLS_RESOURCE_UNAVAIL 0x20
518#define RSL_ERRCLS_SERVICE_UNAVAIL 0x30
519#define RSL_ERRCLS_SERVICE_UNIMPL 0x40
520#define RSL_ERRCLS_INVAL_MSG 0x50
521#define RSL_ERRCLS_PROTO_ERROR 0x60
522#define RSL_ERRCLS_INTERWORKING 0x70
523
524/* normal event */
525#define RSL_ERR_RADIO_IF_FAIL 0x00
526#define RSL_ERR_RADIO_LINK_FAIL 0x01
527#define RSL_ERR_HANDOVER_ACC_FAIL 0x02
528#define RSL_ERR_TALKER_ACC_FAIL 0x03
529#define RSL_ERR_OM_INTERVENTION 0x07
530#define RSL_ERR_NORMAL_UNSPEC 0x0f
531#define RSL_ERR_T_MSRFPCI_EXP 0x18
532/* resource unavailable */
533#define RSL_ERR_EQUIPMENT_FAIL 0x20
534#define RSL_ERR_RR_UNAVAIL 0x21
535#define RSL_ERR_TERR_CH_FAIL 0x22
536#define RSL_ERR_CCCH_OVERLOAD 0x23
537#define RSL_ERR_ACCH_OVERLOAD 0x24
538#define RSL_ERR_PROCESSOR_OVERLOAD 0x25
539#define RSL_ERR_RES_UNAVAIL 0x2f
540/* service or option not available */
541#define RSL_ERR_TRANSC_UNAVAIL 0x30
542#define RSL_ERR_SERV_OPT_UNAVAIL 0x3f
543/* service or option not implemented */
544#define RSL_ERR_ENCR_UNIMPL 0x40
545#define RSL_ERR_SERV_OPT_UNIMPL 0x4f
546/* invalid message */
547#define RSL_ERR_RCH_ALR_ACTV_ALLOC 0x50
548#define RSL_ERR_INVALID_MESSAGE 0x5f
549/* protocol error */
550#define RSL_ERR_MSG_DISCR 0x60
551#define RSL_ERR_MSG_TYPE 0x61
552#define RSL_ERR_MSG_SEQ 0x62
553#define RSL_ERR_IE_ERROR 0x63
554#define RSL_ERR_MAND_IE_ERROR 0x64
555#define RSL_ERR_OPT_IE_ERROR 0x65
556#define RSL_ERR_IE_NONEXIST 0x66
557#define RSL_ERR_IE_LENGTH 0x67
558#define RSL_ERR_IE_CONTENT 0x68
559#define RSL_ERR_PROTO 0x6f
560/* interworking */
561#define RSL_ERR_INTERWORKING 0x7f
562
563/* Chapter 9.3.30 */
564#define RSL_SYSTEM_INFO_8 0x00
565#define RSL_SYSTEM_INFO_1 0x01
566#define RSL_SYSTEM_INFO_2 0x02
567#define RSL_SYSTEM_INFO_3 0x03
568#define RSL_SYSTEM_INFO_4 0x04
569#define RSL_SYSTEM_INFO_5 0x05
570#define RSL_SYSTEM_INFO_6 0x06
571#define RSL_SYSTEM_INFO_7 0x07
572#define RSL_SYSTEM_INFO_16 0x08
573#define RSL_SYSTEM_INFO_17 0x09
574#define RSL_SYSTEM_INFO_2bis 0x0a
575#define RSL_SYSTEM_INFO_2ter 0x0b
576#define RSL_SYSTEM_INFO_5bis 0x0d
577#define RSL_SYSTEM_INFO_5ter 0x0e
578#define RSL_SYSTEM_INFO_10 0x0f
Harald Welte3d732272011-06-25 21:39:01 +0200579#define RSL_EXT_MEAS_ORDER 0x47
Harald Welteec8b4502010-02-20 20:34:29 +0100580#define RSL_MEAS_INFO 0x48
581#define RSL_SYSTEM_INFO_13 0x28
Philipp00b15392016-11-14 12:34:15 +0100582#define RSL_ERIC_SYSTEM_INFO_13 0x0C
Harald Welteec8b4502010-02-20 20:34:29 +0100583#define RSL_SYSTEM_INFO_2quater 0x29
584#define RSL_SYSTEM_INFO_9 0x2a
585#define RSL_SYSTEM_INFO_18 0x2b
586#define RSL_SYSTEM_INFO_19 0x2c
587#define RSL_SYSTEM_INFO_20 0x2d
588
589/* Chapter 9.3.40 */
590#define RSL_CHANNEED_ANY 0x00
591#define RSL_CHANNEED_SDCCH 0x01
592#define RSL_CHANNEED_TCH_F 0x02
593#define RSL_CHANNEED_TCH_ForH 0x03
594
Neels Hofmeyr87e45502017-06-20 00:17:59 +0200595/*! RSL Cell Broadcast Command (Chapter 9.3.45) */
Alex Badea84930182010-11-27 23:34:46 +0200596struct rsl_ie_cb_cmd_type {
597 uint8_t last_block:2;
598 uint8_t spare:1;
599 uint8_t def_bcast:1;
600 uint8_t command:4;
601} __attribute__ ((packed));
602/* ->command */
603#define RSL_CB_CMD_TYPE_NORMAL 0x00
604#define RSL_CB_CMD_TYPE_SCHEDULE 0x08
605#define RSL_CB_CMD_TYPE_DEFAULT 0x0e
606#define RSL_CB_CMD_TYPE_NULL 0x0f
607/* ->def_bcast */
608#define RSL_CB_CMD_DEFBCAST_NORMAL 0
609#define RSL_CB_CMD_DEFBCAST_NULL 1
610/* ->last_block */
611#define RSL_CB_CMD_LASTBLOCK_4 0
612#define RSL_CB_CMD_LASTBLOCK_1 1
613#define RSL_CB_CMD_LASTBLOCK_2 2
614#define RSL_CB_CMD_LASTBLOCK_3 3
615
Harald Welteec8b4502010-02-20 20:34:29 +0100616/* Chapter 3.3.2.3 Brocast control channel */
617/* CCCH-CONF, NC is not combined */
618#define RSL_BCCH_CCCH_CONF_1_NC 0x00
619#define RSL_BCCH_CCCH_CONF_1_C 0x01
620#define RSL_BCCH_CCCH_CONF_2_NC 0x02
621#define RSL_BCCH_CCCH_CONF_3_NC 0x04
622#define RSL_BCCH_CCCH_CONF_4_NC 0x06
623
624/* BS-PA-MFRMS */
625#define RSL_BS_PA_MFRMS_2 0x00
626#define RSL_BS_PA_MFRMS_3 0x01
627#define RSL_BS_PA_MFRMS_4 0x02
628#define RSL_BS_PA_MFRMS_5 0x03
629#define RSL_BS_PA_MFRMS_6 0x04
630#define RSL_BS_PA_MFRMS_7 0x05
631#define RSL_BS_PA_MFRMS_8 0x06
632#define RSL_BS_PA_MFRMS_9 0x07
633
634/* RSL_IE_IPAC_RTP_PAYLOAD[2] */
635enum rsl_ipac_rtp_payload {
636 RSL_IPAC_RTP_GSM = 1,
637 RSL_IPAC_RTP_EFR,
638 RSL_IPAC_RTP_AMR,
639 RSL_IPAC_RTP_CSD,
640 RSL_IPAC_RTP_MUX,
641};
642
643/* RSL_IE_IPAC_SPEECH_MODE, lower four bits */
644enum rsl_ipac_speech_mode_s {
645 RSL_IPAC_SPEECH_GSM_FR = 0, /* GSM FR (Type 1, FS) */
646 RSL_IPAC_SPEECH_GSM_EFR = 1, /* GSM EFR (Type 2, FS) */
647 RSL_IPAC_SPEECH_GSM_AMR_FR = 2, /* GSM AMR/FR (Type 3, FS) */
648 RSL_IPAC_SPEECH_GSM_HR = 3, /* GSM HR (Type 1, HS) */
649 RSL_IPAC_SPEECH_GSM_AMR_HR = 5, /* GSM AMR/hr (Type 3, HS) */
650 RSL_IPAC_SPEECH_AS_RTP = 0xf, /* As specified by RTP Payload IE */
651};
652/* RSL_IE_IPAC_SPEECH_MODE, upper four bits */
653enum rsl_ipac_speech_mode_m {
654 RSL_IPAC_SPEECH_M_RXTX = 0, /* Send and Receive */
655 RSL_IPAC_SPEECH_M_RX = 1, /* Receive only */
656 RSL_IPAC_SPEECH_M_TX = 2, /* Send only */
657};
658
659/* RSL_IE_IPAC_RTP_CSD_FMT, lower four bits */
660enum rsl_ipac_rtp_csd_format_d {
661 RSL_IPAC_RTP_CSD_EXT_TRAU = 0,
662 RSL_IPAC_RTP_CSD_NON_TRAU = 1,
663 RSL_IPAC_RTP_CSD_TRAU_BTS = 2,
664 RSL_IPAC_RTP_CSD_IWF_FREE = 3,
665};
666/* RSL_IE_IPAC_RTP_CSD_FMT, upper four bits */
667enum rsl_ipac_rtp_csd_format_ir {
668 RSL_IPAC_RTP_CSD_IR_8k = 0,
669 RSL_IPAC_RTP_CSD_IR_16k = 1,
670 RSL_IPAC_RTP_CSD_IR_32k = 2,
671 RSL_IPAC_RTP_CSD_IR_64k = 3,
672};
673
674/* Siemens vendor-specific RSL extensions */
675struct rsl_mrpci {
676 uint8_t power_class:3,
677 vgcs_capable:1,
678 vbs_capable:1,
679 gsm_phase:2;
680} __attribute__ ((packed));
681
682enum rsl_mrpci_pwrclass {
683 RSL_MRPCI_PWRC_1 = 0,
684 RSL_MRPCI_PWRC_2 = 1,
685 RSL_MRPCI_PWRC_3 = 2,
686 RSL_MRPCI_PWRC_4 = 3,
687 RSL_MRPCI_PWRC_5 = 4,
688};
689enum rsl_mrpci_phase {
690 RSL_MRPCI_PHASE_1 = 0,
691 /* reserved */
692 RSL_MRPCI_PHASE_2 = 2,
693 RSL_MRPCI_PHASE_2PLUS = 3,
694};
695
Holger Hans Peter Freyther0357e9b2012-12-06 11:57:31 +0100696/* 9.3.20 Release Mode */
697enum rsl_rel_mode {
698 RSL_REL_NORMAL = 0,
699 RSL_REL_LOCAL_END = 1,
700};
701
Neels Hofmeyr87e45502017-06-20 00:17:59 +0200702/*! ip.access specific embedded information elements */
Harald Weltefad57522015-12-13 11:56:36 +0100703enum rsl_ipac_embedded_ie {
704 RSL_IPAC_EIE_RXLEV = 0x00,
705 RSL_IPAC_EIE_RXQUAL = 0x01,
706 RSL_IPAC_EIE_FREQ_ERR = 0x02,
707 RSL_IPAC_EIE_TIMING_ERR = 0x03,
708 RSL_IPAC_EIE_MEAS_AVG_CFG = 0x04,
709 RSL_IPAC_EIE_BS_PWR_CTL = 0x05,
710 RSL_IPAC_EIE_MS_PWR_CTL = 0x06,
711 RSL_IPAC_EIE_HANDO_THRESH = 0x07,
712 RSL_IPAC_EIE_NCELL_DEFAULTS = 0x08,
713 RSL_IPAC_EIE_NCELL_LIST = 0x09,
714 RSL_IPAC_EIE_PC_THRESH_COMP = 0x0a,
715 RSL_IPAC_EIE_HO_THRESH_COMP = 0x0b,
716 RSL_IPAC_EIE_HO_CAUSE = 0x0c,
717 RSL_IPAC_EIE_HO_CANDIDATES = 0x0d,
718 RSL_IPAC_EIE_NCELL_BA_CHG_LIST = 0x0e,
719 RSL_IPAC_EIE_NUM_OF_MS = 0x10,
720 RSL_IPAC_EIE_HO_CAND_EXT = 0x11,
721 RSL_IPAC_EIE_NCELL_DEF_EXT = 0x12,
722 RSL_IPAC_EIE_NCELL_LIST_EXT = 0x13,
723 RSL_IPAC_EIE_MASTER_KEY = 0x14,
724 RSL_IPAC_EIE_MASTER_SALT = 0x15,
Minh-Quang Nguyen17a87482016-09-02 11:28:31 -0400725 /* additional IPAC measurement pre-processing related IEI */
726 RSL_IPAC_EIE_MEAS_TRANS_RES = 0x16,
727 RSL_IPAC_EIE_3G_HO_PARAM = 0x17,
728 RSL_IPAC_EIE_3G_NCELL_LIST = 0x18,
729 RSL_IPAC_EIE_SDCCH_CTL_PARAM = 0x1a,
730 RSL_IPAC_EIE_AMR_CONV_THRESH = 0x1b,
731
732};
733
734struct ipac_preproc_ave_cfg {
735 uint8_t h_reqave:5,
736 param_id:2,
737 reserved:1;
738 uint8_t h_reqt:5,
739 ave_method:3;
740}__attribute__ ((packed));
741
742struct ipac_preproc_ho_thresh {
743 uint8_t l_rxlev_ul_h:6,
744 reserved_l_rxlev_ul:2;
745 uint8_t l_rxlev_dl_h:6,
746 reserved_l_rxlev_dl:2;
747 uint8_t rxlev_ul_ih:6,
748 reserved_rxlev_ul:2;
749 uint8_t rxlev_dl_ih:6,
750 reserved_rxlev_dl:2;
751 uint8_t l_rxqual_ul_h:3,
752 reserved_rxlqual_ul:1,
753 l_rxqual_dl_h:3,
754 reserved_rxqual_dl:1;
755 uint8_t ms_range_max:6,
756 reserved_ms_range:2;
757}__attribute__ ((packed));
758
759struct ipac_preproc_ho_comp {
760 uint8_t p5:5,
761 reserved_p5:3;
762 uint8_t n5:5,
763 reserved_n5:3;
764 uint8_t p6:5,
765 reserved_p6:3;
766 uint8_t n6:5,
767 reserved_n6:3;
768 uint8_t p7:5,
769 reserved_p7:3;
770 uint8_t n7:5,
771 reserved_n7:3;
772 uint8_t p8:5,
773 reserved_p8:3;
774 uint8_t n8:5,
775 reserved_n8:3;
776 uint8_t ho_interval:5,
777 reserved_ho:3;
778 uint8_t reserved;
779
780}__attribute__ ((packed));
781
782struct ipac_preproc_ho_candidates {
783 uint8_t bsic:6,
784 reserved0:2;
785 uint8_t bcch_freq:5,
786 ba_used:1,
787 s:1,
788 reserved1:1;
789}__attribute__ ((packed));
790
791struct ipac_preproc_ncell_dflts {
792 uint8_t rxlev_min_def:6,
793 reserved_rxlev_min_def:2;
794 uint8_t ho_margin_def:5,
795 reserved_ho_margin_def:3;
796 uint8_t ms_txpwr_max_def:5,
797 reserved_ms_txpwr_max_def:3;
798}__attribute__ ((packed));
799
Minh-Quang Nguyenadc28dc2017-02-06 11:13:31 -0500800struct ipac_preproc_ho_ctl_param {
801 uint8_t sdcch_ho_gsm:1,
802 sdcch_ho_umts:1,
803 reserved:6;
804}__attribute__ ((packed));
805
Minh-Quang Nguyen17a87482016-09-02 11:28:31 -0400806struct ipac_preproc_cfg {
807 uint8_t meas_rep_mode;
808 uint32_t meas_mode_flags;
809 struct ipac_preproc_ave_cfg ms_ave_cfg[3];
810 struct ipac_preproc_ave_cfg ave_cfg;
811 struct ipac_preproc_ho_thresh ho_thresh;
812 struct ipac_preproc_ho_comp ho_comp;
813 struct ipac_preproc_ncell_dflts ncell_dflts;
Minh-Quang Nguyenadc28dc2017-02-06 11:13:31 -0500814 struct ipac_preproc_ho_ctl_param ho_ctl_param;
Harald Weltefad57522015-12-13 11:56:36 +0100815};
816
Sylvain Munautdca7d2c2012-04-18 21:53:23 +0200817/*! @} */