38 } __attribute__ ((packed));
48 } __attribute__ ((packed));
56 } __attribute__ ((packed));
64 } __attribute__ ((packed));
69 #define ABIS_RSL_MDISC_RLL 0x02 71 #define ABIS_RSL_MDISC_DED_CHAN 0x08 73 #define ABIS_RSL_MDISC_COM_CHAN 0x0c 75 #define ABIS_RSL_MDISC_TRX 0x10 77 #define ABIS_RSL_MDISC_LOC 0x20 79 #define ABIS_RSL_MDISC_IPACCESS 0x7e 80 #define ABIS_RSL_MDISC_TRANSP 0x01 83 #define ABIS_RSL_MDISC_IS_TRANSP(x) (x & 0x01) 86 enum abis_rsl_msgtype {
88 RSL_MT_DATA_REQ = 0x01,
105 RSL_MT_BCCH_INFO = 0x11,
106 RSL_MT_CCCH_LOAD_IND,
110 RSL_MT_IMMEDIATE_ASSIGN_CMD,
114 RSL_MT_RF_RES_IND = 0x19,
119 RSL_MT_CBCH_LOAD_IND,
123 RSL_MT_CHAN_ACTIV = 0x21,
124 RSL_MT_CHAN_ACTIV_ACK,
125 RSL_MT_CHAN_ACTIV_NACK,
127 RSL_MT_DEACTIVATE_SACCH,
131 RSL_MT_MODE_MODIFY_REQ,
132 RSL_MT_MODE_MODIFY_ACK,
133 RSL_MT_MODE_MODIFY_NACK,
134 RSL_MT_PHY_CONTEXT_REQ,
135 RSL_MT_PHY_CONTEXT_CONF,
137 RSL_MT_MS_POWER_CONTROL,
138 RSL_MT_BS_POWER_CONTROL,
139 RSL_MT_PREPROC_CONFIG,
140 RSL_MT_PREPROC_MEAS_RES,
141 RSL_MT_RF_CHAN_REL_ACK,
142 RSL_MT_SACCH_INFO_MODIFY,
145 RSL_MT_REMOTE_CODEC_CONF_REP,
147 RSL_MT_PRE_HANDO_NOTIF,
148 RSL_MT_MR_CODEC_MOD_REQ,
149 RSL_MT_MR_CODEC_MOD_ACK,
150 RSL_MT_MR_CODEC_MOD_NACK,
151 RSL_MT_MR_CODEC_MOD_PER,
154 RSL_MT_LOCATION_INFO = 0x41,
157 RSL_MT_IPAC_DIR_RETR_ENQ = 0x40,
158 RSL_MT_IPAC_PDCH_ACT = 0x48,
159 RSL_MT_IPAC_PDCH_ACT_ACK,
160 RSL_MT_IPAC_PDCH_ACT_NACK,
161 RSL_MT_IPAC_PDCH_DEACT = 0x4b,
162 RSL_MT_IPAC_PDCH_DEACT_ACK,
163 RSL_MT_IPAC_PDCH_DEACT_NACK,
164 RSL_MT_IPAC_CONNECT_MUX = 0x50,
165 RSL_MT_IPAC_CONNECT_MUX_ACK,
166 RSL_MT_IPAC_CONNECT_MUX_NACK,
167 RSL_MT_IPAC_BIND_MUX = 0x53,
168 RSL_MT_IPAC_BIND_MUX_ACK,
169 RSL_MT_IPAC_BIND_MUX_NACK,
170 RSL_MT_IPAC_DISC_MUX = 0x56,
171 RSL_MT_IPAC_DISC_MUX_ACK,
172 RSL_MT_IPAC_DISC_MUX_NACK,
173 RSL_MT_IPAC_CRCX = 0x70,
174 RSL_MT_IPAC_CRCX_ACK,
175 RSL_MT_IPAC_CRCX_NACK,
176 RSL_MT_IPAC_MDCX = 0x73,
177 RSL_MT_IPAC_MDCX_ACK,
178 RSL_MT_IPAC_MDCX_NACK,
179 RSL_MT_IPAC_DLCX_IND = 0x76,
180 RSL_MT_IPAC_DLCX = 0x77,
181 RSL_MT_IPAC_DLCX_ACK,
182 RSL_MT_IPAC_DLCX_NACK,
187 RSL_MT_SIEMENS_MRPCI = 0x41,
188 RSL_MT_SIEMENS_INTRAC_HO_COND_IND = 0x42,
189 RSL_MT_SIEMENS_INTERC_HO_COND_IND = 0x43,
190 RSL_MT_SIEMENS_FORCED_HO_REQ = 0x44,
191 RSL_MT_SIEMENS_PREF_AREA_REQ = 0x45,
192 RSL_MT_SIEMENS_PREF_AREA = 0x46,
193 RSL_MT_SIEMENS_START_TRACE = 0x47,
194 RSL_MT_SIEMENS_START_TRACE_ACK = 0x48,
195 RSL_MT_SIEMENS_STOP_TRACE = 0x49,
196 RSL_MT_SIEMENS_TRMR = 0x4a,
197 RSL_MT_SIEMENS_HO_FAIL_IND = 0x4b,
198 RSL_MT_SIEMENS_STOP_TRACE_ACK = 0x4c,
199 RSL_MT_SIEMENS_UPLF = 0x4d,
200 RSL_MT_SIEMENS_UPLB = 0x4e,
201 RSL_MT_SIEMENS_SET_SYS_INFO_10 = 0x4f,
202 RSL_MT_SIEMENS_MODIF_COND_IND = 0x50,
207 RSL_IE_CHAN_NR = 0x01,
222 RSL_IE_PYHS_CONTEXT = 0x10,
225 RSL_IE_REQ_REFERENCE,
227 RSL_IE_RESOURCE_INFO,
230 RSL_IE_TIMING_ADVANCE,
236 RSL_IE_SYSINFO_TYPE = 0x1e,
237 RSL_IE_MS_POWER_PARAM,
238 RSL_IE_BS_POWER_PARAM,
239 RSL_IE_PREPROC_PARAM,
242 RSL_IE_SMSCB_INFO = 0x24,
243 RSL_IE_MS_TIMING_OFFSET,
245 RSL_IE_FULL_BCCH_INFO,
249 RSL_IE_FULL_IMM_ASS_INFO,
251 RSL_IE_CBCH_LOAD_INFO,
252 RSL_IE_SMSCB_CHAN_INDICATOR,
253 RSL_IE_GROUP_CALL_REF,
254 RSL_IE_CHAN_DESC = 0x30,
256 RSL_IE_CMD_INDICATOR,
259 RSL_IE_MAIN_CHAN_REF,
262 RSL_IE_SUP_CODEC_TYPES,
268 RSL_IE_SIEMENS_MRPCI = 0x40,
269 RSL_IE_SIEMENS_PREF_AREA_TYPE = 0x43,
270 RSL_IE_SIEMENS_ININ_CELL_HO_PAR = 0x45,
271 RSL_IE_SIEMENS_TRACE_REF_NR = 0x46,
272 RSL_IE_SIEMENS_INT_TRACE_IDX = 0x47,
273 RSL_IE_SIEMENS_L2_HDR_INFO = 0x48,
274 RSL_IE_SIEMENS_HIGHEST_RATE = 0x4e,
275 RSL_IE_SIEMENS_SUGGESTED_RATE = 0x4f,
278 RSL_IE_IPAC_SRTP_CONFIG = 0xe0,
279 RSL_IE_IPAC_PROXY_UDP = 0xe1,
280 RSL_IE_IPAC_BSCMPL_TOUT = 0xe2,
281 RSL_IE_IPAC_REMOTE_IP = 0xf0,
282 RSL_IE_IPAC_REMOTE_PORT = 0xf1,
283 RSL_IE_IPAC_RTP_PAYLOAD = 0xf2,
284 RSL_IE_IPAC_LOCAL_PORT = 0xf3,
285 RSL_IE_IPAC_SPEECH_MODE = 0xf4,
286 RSL_IE_IPAC_LOCAL_IP = 0xf5,
287 RSL_IE_IPAC_CONN_STAT = 0xf6,
288 RSL_IE_IPAC_HO_C_PARMS = 0xf7,
289 RSL_IE_IPAC_CONN_ID = 0xf8,
290 RSL_IE_IPAC_RTP_CSD_FMT = 0xf9,
291 RSL_IE_IPAC_RTP_JIT_BUF = 0xfa,
292 RSL_IE_IPAC_RTP_COMPR = 0xfb,
293 RSL_IE_IPAC_RTP_PAYLOAD2= 0xfc,
294 RSL_IE_IPAC_RTP_MPLEX = 0xfd,
295 RSL_IE_IPAC_RTP_MPLEX_ID= 0xfe,
299 #define RSL_CHAN_NR_MASK 0xf8 300 #define RSL_CHAN_Bm_ACCHs 0x08 301 #define RSL_CHAN_Lm_ACCHs 0x10 302 #define RSL_CHAN_SDCCH4_ACCH 0x20 303 #define RSL_CHAN_SDCCH8_ACCH 0x40 304 #define RSL_CHAN_BCCH 0x80 305 #define RSL_CHAN_RACH 0x88 306 #define RSL_CHAN_PCH_AGCH 0x90 309 #define RSL_ACT_TYPE_INITIAL 0x00 310 #define RSL_ACT_TYPE_REACT 0x80 311 #define RSL_ACT_INTRA_IMM_ASS 0x00 312 #define RSL_ACT_INTRA_NORM_ASS 0x01 313 #define RSL_ACT_INTER_ASYNC 0x02 314 #define RSL_ACT_INTER_SYNC 0x03 315 #define RSL_ACT_SECOND_ADD 0x04 316 #define RSL_ACT_SECOND_MULTI 0x05 324 } __attribute__ ((packed));
325 #define RSL_CMOD_DTXu 0x01 326 #define RSL_CMOD_DTXd 0x02 328 RSL_CMOD_SPD_SPEECH = 0x01,
329 RSL_CMOD_SPD_DATA = 0x02,
330 RSL_CMOD_SPD_SIGN = 0x03,
332 #define RSL_CMOD_CRT_SDCCH 0x01 333 #define RSL_CMOD_CRT_TCH_Bm 0x08 334 #define RSL_CMOD_CRT_TCH_Lm 0x09 337 #define RSL_CMOD_SP_GSM1 0x01 338 #define RSL_CMOD_SP_GSM2 0x11 339 #define RSL_CMOD_SP_GSM3 0x21 341 #define RSL_CMOD_CSD_NT_43k5 0x74 342 #define RSL_CMOD_CSD_NT_28k8 0x71 343 #define RSL_CMOD_CSD_NT_14k5 0x58 344 #define RSL_CMOD_CSD_NT_12k0 0x50 345 #define RSL_CMOD_CSD_NT_6k0 0x51 347 #define RSL_CMOD_SP_NT_14k5 RSL_CMOD_CSD_NT_14k5 348 #define RSL_CMOD_SP_NT_12k0 RSL_CMOD_CSD_NT_12k0 349 #define RSL_CMOD_SP_NT_6k0 RSL_CMOD_CSD_NT_6k0 351 #define RSL_CMOD_CSD_T_32000 0x38 352 #define RSL_CMOD_CSD_T_29000 0x39 353 #define RSL_CMOD_CSD_T_14400 0x18 354 #define RSL_CMOD_CSD_T_9600 0x10 355 #define RSL_CMOD_CSD_T_4800 0x11 356 #define RSL_CMOD_CSD_T_2400 0x12 357 #define RSL_CMOD_CSD_T_1200 0x13 358 #define RSL_CMOD_CSD_T_600 0x14 359 #define RSL_CMOD_CSD_T_1200_75 0x15 376 } __attribute__ ((packed));
379 #define RLL_CAUSE_T200_EXPIRED 0x01 380 #define RLL_CAUSE_REEST_REQ 0x02 381 #define RLL_CAUSE_UNSOL_UA_RESP 0x03 382 #define RLL_CAUSE_UNSOL_DM_RESP 0x04 383 #define RLL_CAUSE_UNSOL_DM_RESP_MF 0x05 384 #define RLL_CAUSE_UNSOL_SPRV_RESP 0x06 385 #define RLL_CAUSE_SEQ_ERR 0x07 386 #define RLL_CAUSE_UFRM_INC_PARAM 0x08 387 #define RLL_CAUSE_SFRM_INC_PARAM 0x09 388 #define RLL_CAUSE_IFRM_INC_MBITS 0x0a 389 #define RLL_CAUSE_IFRM_INC_LEN 0x0b 390 #define RLL_CAUSE_FRM_UNIMPL 0x0c 391 #define RLL_CAUSE_SABM_MF 0x0d 392 #define RLL_CAUSE_SABM_INFO_NOTALL 0x0e 395 #define RSL_ERRCLS_NORMAL 0x00 396 #define RSL_ERRCLS_RESOURCE_UNAVAIL 0x20 397 #define RSL_ERRCLS_SERVICE_UNAVAIL 0x30 398 #define RSL_ERRCLS_SERVICE_UNIMPL 0x40 399 #define RSL_ERRCLS_INVAL_MSG 0x50 400 #define RSL_ERRCLS_PROTO_ERROR 0x60 401 #define RSL_ERRCLS_INTERWORKING 0x70 404 #define RSL_ERR_RADIO_IF_FAIL 0x00 405 #define RSL_ERR_RADIO_LINK_FAIL 0x01 406 #define RSL_ERR_HANDOVER_ACC_FAIL 0x02 407 #define RSL_ERR_TALKER_ACC_FAIL 0x03 408 #define RSL_ERR_OM_INTERVENTION 0x07 409 #define RSL_ERR_NORMAL_UNSPEC 0x0f 410 #define RSL_ERR_T_MSRFPCI_EXP 0x18 412 #define RSL_ERR_EQUIPMENT_FAIL 0x20 413 #define RSL_ERR_RR_UNAVAIL 0x21 414 #define RSL_ERR_TERR_CH_FAIL 0x22 415 #define RSL_ERR_CCCH_OVERLOAD 0x23 416 #define RSL_ERR_ACCH_OVERLOAD 0x24 417 #define RSL_ERR_PROCESSOR_OVERLOAD 0x25 418 #define RSL_ERR_RES_UNAVAIL 0x2f 420 #define RSL_ERR_TRANSC_UNAVAIL 0x30 421 #define RSL_ERR_SERV_OPT_UNAVAIL 0x3f 423 #define RSL_ERR_ENCR_UNIMPL 0x40 424 #define RSL_ERR_SERV_OPT_UNIMPL 0x4f 426 #define RSL_ERR_RCH_ALR_ACTV_ALLOC 0x50 427 #define RSL_ERR_INVALID_MESSAGE 0x5f 429 #define RSL_ERR_MSG_DISCR 0x60 430 #define RSL_ERR_MSG_TYPE 0x61 431 #define RSL_ERR_MSG_SEQ 0x62 432 #define RSL_ERR_IE_ERROR 0x63 433 #define RSL_ERR_MAND_IE_ERROR 0x64 434 #define RSL_ERR_OPT_IE_ERROR 0x65 435 #define RSL_ERR_IE_NONEXIST 0x66 436 #define RSL_ERR_IE_LENGTH 0x67 437 #define RSL_ERR_IE_CONTENT 0x68 438 #define RSL_ERR_PROTO 0x6f 440 #define RSL_ERR_INTERWORKING 0x7f 443 #define RSL_SYSTEM_INFO_8 0x00 444 #define RSL_SYSTEM_INFO_1 0x01 445 #define RSL_SYSTEM_INFO_2 0x02 446 #define RSL_SYSTEM_INFO_3 0x03 447 #define RSL_SYSTEM_INFO_4 0x04 448 #define RSL_SYSTEM_INFO_5 0x05 449 #define RSL_SYSTEM_INFO_6 0x06 450 #define RSL_SYSTEM_INFO_7 0x07 451 #define RSL_SYSTEM_INFO_16 0x08 452 #define RSL_SYSTEM_INFO_17 0x09 453 #define RSL_SYSTEM_INFO_2bis 0x0a 454 #define RSL_SYSTEM_INFO_2ter 0x0b 455 #define RSL_SYSTEM_INFO_5bis 0x0d 456 #define RSL_SYSTEM_INFO_5ter 0x0e 457 #define RSL_SYSTEM_INFO_10 0x0f 458 #define RSL_EXT_MEAS_ORDER 0x47 459 #define RSL_MEAS_INFO 0x48 460 #define RSL_SYSTEM_INFO_13 0x28 461 #define RSL_SYSTEM_INFO_2quater 0x29 462 #define RSL_SYSTEM_INFO_9 0x2a 463 #define RSL_SYSTEM_INFO_18 0x2b 464 #define RSL_SYSTEM_INFO_19 0x2c 465 #define RSL_SYSTEM_INFO_20 0x2d 468 #define RSL_CHANNEED_ANY 0x00 469 #define RSL_CHANNEED_SDCCH 0x01 470 #define RSL_CHANNEED_TCH_F 0x02 471 #define RSL_CHANNEED_TCH_ForH 0x03 475 uint8_t last_block:2;
479 } __attribute__ ((packed));
481 #define RSL_CB_CMD_TYPE_NORMAL 0x00 482 #define RSL_CB_CMD_TYPE_SCHEDULE 0x08 483 #define RSL_CB_CMD_TYPE_DEFAULT 0x0e 484 #define RSL_CB_CMD_TYPE_NULL 0x0f 486 #define RSL_CB_CMD_DEFBCAST_NORMAL 0 487 #define RSL_CB_CMD_DEFBCAST_NULL 1 489 #define RSL_CB_CMD_LASTBLOCK_4 0 490 #define RSL_CB_CMD_LASTBLOCK_1 1 491 #define RSL_CB_CMD_LASTBLOCK_2 2 492 #define RSL_CB_CMD_LASTBLOCK_3 3 496 #define RSL_BCCH_CCCH_CONF_1_NC 0x00 497 #define RSL_BCCH_CCCH_CONF_1_C 0x01 498 #define RSL_BCCH_CCCH_CONF_2_NC 0x02 499 #define RSL_BCCH_CCCH_CONF_3_NC 0x04 500 #define RSL_BCCH_CCCH_CONF_4_NC 0x06 503 #define RSL_BS_PA_MFRMS_2 0x00 504 #define RSL_BS_PA_MFRMS_3 0x01 505 #define RSL_BS_PA_MFRMS_4 0x02 506 #define RSL_BS_PA_MFRMS_5 0x03 507 #define RSL_BS_PA_MFRMS_6 0x04 508 #define RSL_BS_PA_MFRMS_7 0x05 509 #define RSL_BS_PA_MFRMS_8 0x06 510 #define RSL_BS_PA_MFRMS_9 0x07 513 enum rsl_ipac_rtp_payload {
514 RSL_IPAC_RTP_GSM = 1,
522 enum rsl_ipac_speech_mode_s {
523 RSL_IPAC_SPEECH_GSM_FR = 0,
524 RSL_IPAC_SPEECH_GSM_EFR = 1,
525 RSL_IPAC_SPEECH_GSM_AMR_FR = 2,
526 RSL_IPAC_SPEECH_GSM_HR = 3,
527 RSL_IPAC_SPEECH_GSM_AMR_HR = 5,
528 RSL_IPAC_SPEECH_AS_RTP = 0xf,
531 enum rsl_ipac_speech_mode_m {
532 RSL_IPAC_SPEECH_M_RXTX = 0,
533 RSL_IPAC_SPEECH_M_RX = 1,
534 RSL_IPAC_SPEECH_M_TX = 2,
538 enum rsl_ipac_rtp_csd_format_d {
539 RSL_IPAC_RTP_CSD_EXT_TRAU = 0,
540 RSL_IPAC_RTP_CSD_NON_TRAU = 1,
541 RSL_IPAC_RTP_CSD_TRAU_BTS = 2,
542 RSL_IPAC_RTP_CSD_IWF_FREE = 3,
545 enum rsl_ipac_rtp_csd_format_ir {
546 RSL_IPAC_RTP_CSD_IR_8k = 0,
547 RSL_IPAC_RTP_CSD_IR_16k = 1,
548 RSL_IPAC_RTP_CSD_IR_32k = 2,
549 RSL_IPAC_RTP_CSD_IR_64k = 3,
554 uint8_t power_class:3,
558 } __attribute__ ((packed));
560 enum rsl_mrpci_pwrclass {
561 RSL_MRPCI_PWRC_1 = 0,
562 RSL_MRPCI_PWRC_2 = 1,
563 RSL_MRPCI_PWRC_3 = 2,
564 RSL_MRPCI_PWRC_4 = 3,
565 RSL_MRPCI_PWRC_5 = 4,
567 enum rsl_mrpci_phase {
568 RSL_MRPCI_PHASE_1 = 0,
570 RSL_MRPCI_PHASE_2 = 2,
571 RSL_MRPCI_PHASE_2PLUS = 3,
577 RSL_REL_LOCAL_END = 1,
RSL Channel Mode IF (Chapter 9.3.6)
Definition: gsm_08_58.h:319
RSL Channel Identification IE (Chapter 9.3.5)
Definition: gsm_08_58.h:362
uint8_t ie_chan
RSL_IE_CHAN_NR (tag)
Definition: gsm_08_58.h:53
uint8_t chan_nr
RSL channel number (value)
Definition: gsm_08_58.h:44
abis_rsl_msgtype_siemens
Siemens vendor-specific RSL message types.
Definition: gsm_08_58.h:186
uint8_t msg_discr
message discriminator (ABIS_RSL_MDISC_*)
Definition: gsm_08_58.h:35
uint8_t chan_nr
RSL channel number (value)
Definition: gsm_08_58.h:106
uint8_t chan_nr
RSL channel number (value)
Definition: gsm_08_58.h:54
uint8_t msg_type
message type (abis_rsl_msgtype)
Definition: gsm_08_58.h:36
Definition: gsm_08_58.h:41
uint8_t ie_link_id
RSL_IE_LINK_IDENT (tag)
Definition: gsm_08_58.h:45
uint8_t chan_nr
RSL channel number (value)
Definition: gsm_08_58.h:62
Definition: gsm_08_58.h:59
RSL Cell Broadcast Command (Chapter 9.3.45)
Definition: gsm_08_58.h:474
Definition: gsm_08_58.h:51
abis_rsl_ie
RSL Information Element Identifiers (Chapter 9.3)
Definition: gsm_08_58.h:206
uint8_t link_id
RSL link identifier (value)
Definition: gsm_08_58.h:46
uint8_t data[0]
actual payload data
Definition: gsm_08_58.h:37
RSL common header.
Definition: gsm_08_58.h:34
Definition: gsm_08_58.h:553
uint8_t ie_chan
RSL_IE_CHAN_NR (tag)
Definition: gsm_08_58.h:43
uint8_t ie_chan
RSL_IE_CHAN_NR (tag)
Definition: gsm_08_58.h:61