libosmogsm  1.6.0
Osmocom GSM library
gsm_08_58.h
Go to the documentation of this file.
1 
4 /*
5  * (C) 2008 by Harald Welte <laforge@gnumonks.org>
6  * 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 
24 #pragma once
25 
26 #include <stdint.h>
27 
28 #include <osmocom/core/endian.h>
29 
34 /* Channel Number 9.3.1 */
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 #define ABIS_RSL_CHAN_NR_CBITS_OSMO_CBCH4 0x19 /*< non-standard, for CBCH/SDCCH4 */
54 #define ABIS_RSL_CHAN_NR_CBITS_OSMO_CBCH8 0x1a /*< non-standard, for CBCH/SDCCH8 */
55 
56 /* non-standard, Osmocom specific Bm/Lm equivalents for VAMOS */
57 #define ABIS_RSL_CHAN_NR_CBITS_OSMO_VAMOS_Bm_ACCHs 0x1d /*< VAMOS TCH/F */
58 #define ABIS_RSL_CHAN_NR_CBITS_OSMO_VAMOS_Lm_ACCHs(ss) (0x1e + (ss)) /*< VAMOS TCH/H */
59 
60 /* Link Identifier 9.3.2 */
62 #if OSMO_IS_BIG_ENDIAN
63  uint8_t cbits:2,
64  na:1,
65  reserved:2,
66  sapi:3;
67 #elif OSMO_IS_LITTLE_ENDIAN
68  uint8_t sapi:3,
69  reserved:2,
70  na:1,
71  cbits:2;
72 #endif
73  uint8_t link_id;
74 } __attribute__ ((packed));
75 #define ABIS_RSL_LINK_ID_CBITS_FACCH_SDCCH 0x00
76 #define ABIS_RSL_LINK_ID_CBITS_SACCH 0x01
77 
80  uint8_t msg_discr;
81  uint8_t msg_type;
82  uint8_t data[0];
83 } __attribute__ ((packed));
84 
85 /* RSL RLL header (Chapter 8.3) */
87  struct abis_rsl_common_hdr c;
88  uint8_t ie_chan;
89  union {
90  uint8_t chan_nr; /* API backward compat */
92  };
93  uint8_t ie_link_id;
94  union {
95  uint8_t link_id; /* API backward compat */
97  };
98  uint8_t data[0];
99 } __attribute__ ((packed));
100 
101 /* RSL Dedicated Channel header (Chapter 8.3 and 8.4) */
103  struct abis_rsl_common_hdr c;
104  uint8_t ie_chan;
105  union {
106  uint8_t chan_nr; /* API backward compat */
108  };
109  uint8_t data[0];
110 } __attribute__ ((packed));
111 
112 /* RSL Common Channel header (Chapter 8.5) */
114  struct abis_rsl_common_hdr c;
115  uint8_t ie_chan;
116  union {
117  uint8_t chan_nr; /* API backward compat */
119  };
120  uint8_t data[0];
121 } __attribute__ ((packed));
122 
123 /* Osmocom specific IE to negotiate repeated ACCH capabilities */
125 #if OSMO_IS_BIG_ENDIAN
126  uint8_t reserved:1,
127  rxqual:3,
128  ul_sacch:1,
129  dl_sacch:1,
130  dl_facch_all:1,
131  dl_facch_cmd:1;
132 #elif OSMO_IS_LITTLE_ENDIAN
133  uint8_t dl_facch_cmd:1,
134  dl_facch_all:1,
135  dl_sacch:1,
136  ul_sacch:1,
137  rxqual:3,
138  reserved:1;
139 #endif
140 } __attribute__ ((packed));
141 
142 /* Osmocom specific IE to negotiate temporary overpower of ACCH channels */
144 #if OSMO_IS_BIG_ENDIAN
145  uint8_t sacch_enable:1,
146  facch_enable:1,
147  rxqual:3,
148  overpower_db:3;
149 #elif OSMO_IS_LITTLE_ENDIAN
150  uint8_t overpower_db:3,
151  rxqual:3,
152  facch_enable:1,
153  sacch_enable:1;
154 #endif
155 } __attribute__ ((packed));
156 
157 /* Chapter 9.1 */
158 /* RSL Message Discriminator: RLL */
159 #define ABIS_RSL_MDISC_RLL 0x02
160 /* RSL Message Discriminator: Dedicated Channel */
161 #define ABIS_RSL_MDISC_DED_CHAN 0x08
162 /* RSL Message Discriminator: Common Channel */
163 #define ABIS_RSL_MDISC_COM_CHAN 0x0c
164 /* RSL Message Discriminator: TRX Management */
165 #define ABIS_RSL_MDISC_TRX 0x10
166 /* RSL Message Discriminator: Location Service */
167 #define ABIS_RSL_MDISC_LOC 0x20
168 /* RSL Message Discriminator: ip.access */
169 #define ABIS_RSL_MDISC_IPACCESS 0x7e
170 #define ABIS_RSL_MDISC_TRANSP 0x01
171 
172 /* Check if given RSL message discriminator is transparent */
173 #define ABIS_RSL_MDISC_IS_TRANSP(x) (x & 0x01)
174 
175 /* RSL Message Type (Chapter 9.1) */
177  /* Radio Link Layer Management */
189  RSL_MT_SUSP_REQ, /* non-standard elements */
192  RSL_MT_RECON_REQ, /* 0x0f */
193 
194  /* Common Channel Management / TRX Management */
202  RSL_MT_CHAN_CONF, /* non-standard element */
203  /* empty */
210  RSL_MT_NOT_CMD, /* 0x1f */
211 
212  /* Dedicate Channel Management */
243  RSL_MT_TFO_MOD_REQ, /* 0x3f */
245 
246  /* ip.access specific RSL message types */
263  RSL_MT_IPAC_MEAS_PREPROC_DFT = 0x60, /*Extented Common Channel Management */
266  RSL_MT_IPAC_CRCX = 0x70, /* Bind to local BTS RTP port */
276 
278 };
279 
298 };
299 
303 };
304 
335  /* reserved */
341  RSL_IE_IMM_ASS_INFO, /* Phase 1 (3.6.0), later Full below */
367  /* Siemens vendor-specific */
376 
377  /* Osmocom specific */
381 
382  /* ip.access */
401 };
402 
403 /* Ericsson specific IEs, clash with above partially, so they're not
404  * part of the enum */
405 #define RSL_IE_ERIC_PAGING_GROUP 0x0e
406 #define RSL_IE_ERIC_INST_NR 0x48
407 #define RSL_IE_ERIC_PGSL_TIMERS 0x49
408 #define RSL_IE_ERIC_REPEAT_DL_FACCH 0x4a
409 #define RSL_IE_ERIC_POWER_INFO 0xf0
410 #define RSL_IE_ERIC_MOBILE_ID 0xf1
411 #define RSL_IE_ERIC_BCCH_MAPPING 0xf2
412 #define RSL_IE_ERIC_PACKET_PAG_IND 0xf3
413 #define RSL_IE_ERIC_CNTR_CTRL 0xf4
414 #define RSL_IE_ERIC_CNTR_CTRL_ACK 0xf5
415 #define RSL_IE_ERIC_CNTR_REPORT 0xf6
416 #define RSL_IE_ERIC_ICP_CONN 0xf7
417 #define RSL_IE_ERIC_EMR_SUPPORT 0xf8
418 #define RSL_IE_ERIC_EGPRS_REQ_REF 0xf9
419 #define RSL_IE_ERIC_VGCS_REL 0xfa
420 #define RSL_IE_ERIC_REP_PER_NCH 0xfb
421 #define RSL_IE_ERIC_NY2 0xfc
422 #define RSL_IE_ERIC_T3115 0xfd
423 #define RSL_IE_ERIC_ACTIVATE_FLAG 0xfe
424 #define RSL_IE_ERIC_FULL_NCH_INFO 0xff
425 
426 /* IPAC MEAS_PREPROC AVERAGING METHOD */
427 enum {
431  /* EWMA is an Osmocom specific extension */
433 };
434 
435 /* IPAC MEAS_PREPROC AVERAGING PARAM ID */
436 enum {
440 };
441 
442 /* IPAC MEAS_PREPROC HO CAUSES */
443 enum {
462 };
463 
464 /* Chapter 9.3.1 */
465 #define RSL_CHAN_NR_MASK 0xf8
466 #define RSL_CHAN_NR_1 0x08 /*< bit to add for 2nd,... lchan */
467 #define RSL_CHAN_Bm_ACCHs 0x08
468 #define RSL_CHAN_Lm_ACCHs 0x10 /* .. 0x18 */
469 #define RSL_CHAN_SDCCH4_ACCH 0x20 /* .. 0x38 */
470 #define RSL_CHAN_SDCCH8_ACCH 0x40 /* ...0x78 */
471 #define RSL_CHAN_BCCH 0x80
472 #define RSL_CHAN_RACH 0x88
473 #define RSL_CHAN_PCH_AGCH 0x90
474 #define RSL_CHAN_OSMO_PDCH 0xc0 /*< non-standard, for dyn TS */
475 #define RSL_CHAN_OSMO_CBCH4 0xc8 /*< non-standard, for CBCH/SDCCH4 */
476 #define RSL_CHAN_OSMO_CBCH8 0xd0 /*< non-standard, for CBCH/SDCCH8 */
477 
478 /* non-standard, Osmocom specific Bm/Lm equivalents for VAMOS */
479 #define RSL_CHAN_OSMO_VAMOS_Bm_ACCHs 0xe8 /* VAMOS TCH/F */
480 #define RSL_CHAN_OSMO_VAMOS_Lm_ACCHs 0xf0 /* VAMOS TCH/H */
481 #define RSL_CHAN_OSMO_VAMOS_MASK 0xe0 /* VAMOS TCH/{F,H} */
482 
483 /* Chapter 9.3.3 */
484 #define RSL_ACT_TYPE_INITIAL 0x00
485 #define RSL_ACT_TYPE_REACT 0x80
486 #define RSL_ACT_INTRA_IMM_ASS 0x00
487 #define RSL_ACT_INTRA_NORM_ASS 0x01
488 #define RSL_ACT_INTER_ASYNC 0x02
489 #define RSL_ACT_INTER_SYNC 0x03
490 #define RSL_ACT_SECOND_ADD 0x04
491 #define RSL_ACT_SECOND_MULTI 0x05
492 #define RSL_ACT_OSMO_PDCH 0x0f /*< non-standard, for dyn TS */
493 
496  uint8_t dtx_dtu;
497  uint8_t spd_ind;
498  uint8_t chan_rt;
499  uint8_t chan_rate;
500 } __attribute__ ((packed));
501 #define RSL_CMOD_DTXu 0x01 /* uplink */
502 #define RSL_CMOD_DTXd 0x02 /* downlink */
507 };
508 #define RSL_CMOD_CRT_SDCCH 0x01
509 #define RSL_CMOD_CRT_TCH_Bm 0x08 /* full-rate */
510 #define RSL_CMOD_CRT_TCH_Lm 0x09 /* half-rate */
511 #define RSL_CMOD_CRT_TCH_BI_Bm 0x0a /* full-rate: bi-directional (multislot) */
512 #define RSL_CMOD_CRT_TCH_UNI_Bm 0x1a /* full-rate: uni-directional (multislot) */
513 #define RSL_CMOD_CRT_TCH_GROUP_Bm 0x18 /* full-rate: group call channel */
514 #define RSL_CMOD_CRT_TCH_GROUP_Lm 0x19 /* half-rate: group call channel */
515 #define RSL_CMOD_CRT_TCH_BCAST_Bm 0x28 /* full-rate: broadcast call channel */
516 #define RSL_CMOD_CRT_TCH_BCAST_Lm 0x29 /* half-rate: broadcast call channel */
517 #define RSL_CMOD_CRT_OSMO_TCH_VAMOS_Bm 0x88 /* full-rate in VAMOS mode */
518 #define RSL_CMOD_CRT_OSMO_TCH_VAMOS_Lm 0x89 /* half-rate in VAMOS mode */
519 /* Speech */
520 #define RSL_CMOD_SP_GSM1 0x01
521 #define RSL_CMOD_SP_GSM2 0x11
522 #define RSL_CMOD_SP_GSM3 0x21
523 #define RSL_CMOD_SP_GSM4 0x31
524 #define RSL_CMOD_SP_GSM5 0x09
525 #define RSL_CMOD_SP_GSM6 0x0d
526 /* non-transparent data (asymmetric) */
527 #define RSL_CMOD_CSD_NTA_43k5_14k5 0x61 /* asymmetric 43.5 kbit/s (DL) + 14.5 kbit/s (UL) */
528 #define RSL_CMOD_CSD_NTA_29k0_14k5 0x62 /* asymmetric 29.0 kbit/s (DL) + 14.5 kbit/s (UL) */
529 #define RSL_CMOD_CSD_NTA_43k5_29k0 0x63 /* asymmetric 43.5 kbit/s (DL) + 29.0 kbit/s (UL) */
530 #define RSL_CMOD_CSD_NTA_14k5_43k5 0x69 /* asymmetric 14.5 kbit/s (DL) + 43.5 kbit/s (UL) */
531 #define RSL_CMOD_CSD_NTA_14k5_29k0 0x6a /* asymmetric 14.5 kbit/s (DL) + 29.0 kbit/s (UL) */
532 #define RSL_CMOD_CSD_NTA_29k0_43k5 0x6b /* asymmetric 29.0 kbit/s (DL) + 43.5 kbit/s (UL) */
533 /* non-transparent data */
534 #define RSL_CMOD_CSD_NT_43k5 0x74
535 #define RSL_CMOD_CSD_NT_28k8 0x71
536 #define RSL_CMOD_CSD_NT_14k5 0x58
537 #define RSL_CMOD_CSD_NT_12k0 0x50
538 #define RSL_CMOD_CSD_NT_6k0 0x51
539 /* legacy #defines with wrong name */
540 #define RSL_CMOD_SP_NT_14k5 RSL_CMOD_CSD_NT_14k5
541 #define RSL_CMOD_SP_NT_12k0 RSL_CMOD_CSD_NT_12k0
542 #define RSL_CMOD_SP_NT_6k0 RSL_CMOD_CSD_NT_6k0
543 /* transparent data */
544 #define RSL_CMOD_CSD_T_32000 0x38
545 #define RSL_CMOD_CSD_T_29000 0x39
546 #define RSL_CMOD_CSD_T_14400 0x18
547 #define RSL_CMOD_CSD_T_9600 0x10
548 #define RSL_CMOD_CSD_T_4800 0x11
549 #define RSL_CMOD_CSD_T_2400 0x12
550 #define RSL_CMOD_CSD_T_1200 0x13
551 #define RSL_CMOD_CSD_T_600 0x14
552 #define RSL_CMOD_CSD_T_1200_75 0x15
553 
556  /* GSM 04.08 10.5.2.5 */
557  struct {
558  uint8_t iei;
559  uint8_t chan_nr; /* enc_chan_nr */
560  uint8_t oct3;
561  uint8_t oct4;
563 #if 0 /* spec says we need this but Abissim doesn't use it */
564  struct {
565  uint8_t tag;
566  uint8_t len;
567  } mobile_alloc;
568 #endif
569 } __attribute__ ((packed));
570 
571 /* Chapter 9.3.22 */
572 #define RLL_CAUSE_T200_EXPIRED 0x01
573 #define RLL_CAUSE_REEST_REQ 0x02
574 #define RLL_CAUSE_UNSOL_UA_RESP 0x03
575 #define RLL_CAUSE_UNSOL_DM_RESP 0x04
576 #define RLL_CAUSE_UNSOL_DM_RESP_MF 0x05
577 #define RLL_CAUSE_UNSOL_SPRV_RESP 0x06
578 #define RLL_CAUSE_SEQ_ERR 0x07
579 #define RLL_CAUSE_UFRM_INC_PARAM 0x08
580 #define RLL_CAUSE_SFRM_INC_PARAM 0x09
581 #define RLL_CAUSE_IFRM_INC_MBITS 0x0a
582 #define RLL_CAUSE_IFRM_INC_LEN 0x0b
583 #define RLL_CAUSE_FRM_UNIMPL 0x0c
584 #define RLL_CAUSE_SABM_MF 0x0d
585 #define RLL_CAUSE_SABM_INFO_NOTALL 0x0e
586 
587 /* Chapter 9.3.26 */
588 #define RSL_ERRCLS_NORMAL 0x00
589 #define RSL_ERRCLS_RESOURCE_UNAVAIL 0x20
590 #define RSL_ERRCLS_SERVICE_UNAVAIL 0x30
591 #define RSL_ERRCLS_SERVICE_UNIMPL 0x40
592 #define RSL_ERRCLS_INVAL_MSG 0x50
593 #define RSL_ERRCLS_PROTO_ERROR 0x60
594 #define RSL_ERRCLS_INTERWORKING 0x70
595 
596 /* normal event */
597 #define RSL_ERR_RADIO_IF_FAIL 0x00
598 #define RSL_ERR_RADIO_LINK_FAIL 0x01
599 #define RSL_ERR_HANDOVER_ACC_FAIL 0x02
600 #define RSL_ERR_TALKER_ACC_FAIL 0x03
601 #define RSL_ERR_OM_INTERVENTION 0x07
602 #define RSL_ERR_NORMAL_UNSPEC 0x0f
603 #define RSL_ERR_T_MSRFPCI_EXP 0x18
604 /* resource unavailable */
605 #define RSL_ERR_EQUIPMENT_FAIL 0x20
606 #define RSL_ERR_RR_UNAVAIL 0x21
607 #define RSL_ERR_TERR_CH_FAIL 0x22
608 #define RSL_ERR_CCCH_OVERLOAD 0x23
609 #define RSL_ERR_ACCH_OVERLOAD 0x24
610 #define RSL_ERR_PROCESSOR_OVERLOAD 0x25
611 #define RSL_ERR_BTS_NOT_EQUIPPED 0x27
612 #define RSL_ERR_REMOTE_TRANSC_FAIL 0x28
613 #define RSL_ERR_NOTIFICATION_OVERFL 0x29
614 #define RSL_ERR_RES_UNAVAIL 0x2f
615 /* service or option not available */
616 #define RSL_ERR_TRANSC_UNAVAIL 0x30
617 #define RSL_ERR_SERV_OPT_UNAVAIL 0x3f
618 /* service or option not implemented */
619 #define RSL_ERR_ENCR_UNIMPL 0x40
620 #define RSL_ERR_SERV_OPT_UNIMPL 0x4f
621 /* invalid message */
622 #define RSL_ERR_RCH_ALR_ACTV_ALLOC 0x50
623 #define RSL_ERR_INVALID_MESSAGE 0x5f
624 /* protocol error */
625 #define RSL_ERR_MSG_DISCR 0x60
626 #define RSL_ERR_MSG_TYPE 0x61
627 #define RSL_ERR_MSG_SEQ 0x62
628 #define RSL_ERR_IE_ERROR 0x63
629 #define RSL_ERR_MAND_IE_ERROR 0x64
630 #define RSL_ERR_OPT_IE_ERROR 0x65
631 #define RSL_ERR_IE_NONEXIST 0x66
632 #define RSL_ERR_IE_LENGTH 0x67
633 #define RSL_ERR_IE_CONTENT 0x68
634 #define RSL_ERR_PROTO 0x6f
635 /* interworking */
636 #define RSL_ERR_INTERWORKING 0x7f
637 
638 /* Chapter 9.3.30 */
639 #define RSL_SYSTEM_INFO_8 0x00
640 #define RSL_SYSTEM_INFO_1 0x01
641 #define RSL_SYSTEM_INFO_2 0x02
642 #define RSL_SYSTEM_INFO_3 0x03
643 #define RSL_SYSTEM_INFO_4 0x04
644 #define RSL_SYSTEM_INFO_5 0x05
645 #define RSL_SYSTEM_INFO_6 0x06
646 #define RSL_SYSTEM_INFO_7 0x07
647 #define RSL_SYSTEM_INFO_16 0x08
648 #define RSL_SYSTEM_INFO_17 0x09
649 #define RSL_SYSTEM_INFO_2bis 0x0a
650 #define RSL_SYSTEM_INFO_2ter 0x0b
651 #define RSL_SYSTEM_INFO_5bis 0x0d
652 #define RSL_SYSTEM_INFO_5ter 0x0e
653 #define RSL_SYSTEM_INFO_10 0x0f
654 #define RSL_EXT_MEAS_ORDER 0x47
655 #define RSL_MEAS_INFO 0x48
656 #define RSL_SYSTEM_INFO_13 0x28
657 #define RSL_ERIC_SYSTEM_INFO_13 0x0C
658 #define RSL_SYSTEM_INFO_2quater 0x29
659 #define RSL_SYSTEM_INFO_9 0x2a
660 #define RSL_SYSTEM_INFO_18 0x2b
661 #define RSL_SYSTEM_INFO_19 0x2c
662 #define RSL_SYSTEM_INFO_20 0x2d
663 
664 /* Chapter 9.3.40 */
665 #define RSL_CHANNEED_ANY 0x00
666 #define RSL_CHANNEED_SDCCH 0x01
667 #define RSL_CHANNEED_TCH_F 0x02
668 #define RSL_CHANNEED_TCH_ForH 0x03
669 
672 #if OSMO_IS_LITTLE_ENDIAN
673  uint8_t last_block:2;
674  uint8_t spare:1;
675  uint8_t def_bcast:1;
676  uint8_t command:4;
677 #elif OSMO_IS_BIG_ENDIAN
678 /* auto-generated from the little endian part above (libosmocore/contrib/struct_endianess.py) */
679  uint8_t command:4, def_bcast:1, spare:1, last_block:2;
680 #endif
681 } __attribute__ ((packed));
682 /* ->command */
683 #define RSL_CB_CMD_TYPE_NORMAL 0x00
684 #define RSL_CB_CMD_TYPE_SCHEDULE 0x08
685 #define RSL_CB_CMD_TYPE_DEFAULT 0x0e
686 #define RSL_CB_CMD_TYPE_NULL 0x0f
687 /* ->def_bcast */
688 #define RSL_CB_CMD_DEFBCAST_NORMAL 0
689 #define RSL_CB_CMD_DEFBCAST_NULL 1
690 /* ->last_block */
691 #define RSL_CB_CMD_LASTBLOCK_4 0
692 #define RSL_CB_CMD_LASTBLOCK_1 1
693 #define RSL_CB_CMD_LASTBLOCK_2 2
694 #define RSL_CB_CMD_LASTBLOCK_3 3
695 
696 /* Chapter 3.3.2.3 Brocast control channel */
697 /* CCCH-CONF, NC is not combined */
698 #define RSL_BCCH_CCCH_CONF_1_NC 0x00
699 #define RSL_BCCH_CCCH_CONF_1_C 0x01
700 #define RSL_BCCH_CCCH_CONF_2_NC 0x02
701 #define RSL_BCCH_CCCH_CONF_3_NC 0x04
702 #define RSL_BCCH_CCCH_CONF_4_NC 0x06
703 
704 /* BS-PA-MFRMS */
705 #define RSL_BS_PA_MFRMS_2 0x00
706 #define RSL_BS_PA_MFRMS_3 0x01
707 #define RSL_BS_PA_MFRMS_4 0x02
708 #define RSL_BS_PA_MFRMS_5 0x03
709 #define RSL_BS_PA_MFRMS_6 0x04
710 #define RSL_BS_PA_MFRMS_7 0x05
711 #define RSL_BS_PA_MFRMS_8 0x06
712 #define RSL_BS_PA_MFRMS_9 0x07
713 
714 /* RSL_IE_IPAC_RTP_PAYLOAD[2] */
721 };
722 
723 /* RSL_IE_IPAC_SPEECH_MODE, lower four bits */
725  RSL_IPAC_SPEECH_GSM_FR = 0, /* GSM FR (Type 1, FS) */
726  RSL_IPAC_SPEECH_GSM_EFR = 1, /* GSM EFR (Type 2, FS) */
727  RSL_IPAC_SPEECH_GSM_AMR_FR = 2, /* GSM AMR/FR (Type 3, FS) */
728  RSL_IPAC_SPEECH_GSM_HR = 3, /* GSM HR (Type 1, HS) */
729  RSL_IPAC_SPEECH_GSM_AMR_HR = 5, /* GSM AMR/hr (Type 3, HS) */
730  RSL_IPAC_SPEECH_AS_RTP = 0xf, /* As specified by RTP Payload IE */
731 };
732 /* RSL_IE_IPAC_SPEECH_MODE, upper four bits */
734  RSL_IPAC_SPEECH_M_RXTX = 0, /* Send and Receive */
735  RSL_IPAC_SPEECH_M_RX = 1, /* Receive only */
736  RSL_IPAC_SPEECH_M_TX = 2, /* Send only */
737 };
738 
739 /* RSL_IE_IPAC_RTP_CSD_FMT, lower four bits */
745 };
746 /* RSL_IE_IPAC_RTP_CSD_FMT, upper four bits */
752 };
753 
754 /* Siemens vendor-specific RSL extensions */
755 struct rsl_mrpci {
756  uint8_t power_class:3,
760 } __attribute__ ((packed));
761 
768 };
771  /* reserved */
774 };
775 
776 /* 9.3.20 Release Mode */
780 };
781 
805  /* additional IPAC measurement pre-processing related IEI */
811 
812  /* Osmocom specific extensions: */
816 
817 };
818 
819 /* Value of TLV IE RSL_IPAC_EIE_MEAS_AVG_CFG */
821 #if OSMO_IS_LITTLE_ENDIAN
822  uint8_t h_reqave:5,
823  param_id:2,
824  reserved:1;
825  uint8_t h_reqt:5,
826  ave_method:3;
827  uint8_t params[0];
828 #elif OSMO_IS_BIG_ENDIAN
829 /* auto-generated from the little endian part above (libosmocore/contrib/struct_endianess.py) */
830  uint8_t reserved:1, param_id:2, h_reqave:5;
831  uint8_t ave_method:3, h_reqt:5;
832  uint8_t params[0];
833 #endif
834 }__attribute__ ((packed));
835 
836 
838 #if OSMO_IS_LITTLE_ENDIAN
839  uint8_t h_reqave:5,
840  ave_enabled:1,
841  reserved:2;
842  uint8_t h_reqt:5,
843  ave_method:3;
844 #elif OSMO_IS_BIG_ENDIAN
845 /* auto-generated from the little endian part above (libosmocore/contrib/struct_endianess.py) */
846  uint8_t reserved:2, ave_enabled:1, h_reqave:5;
847  uint8_t ave_method:3, h_reqt:5;
848 #endif
849 }__attribute__ ((packed));
850 /* Value of TLV IE RSL_IPAC_EIE_OSMO_MEAS_AVG_CFG: */
858  uint8_t params[0]; /* Contains params for each above, appended one after the other */
859 }__attribute__ ((packed));
860 
863 #if OSMO_IS_LITTLE_ENDIAN
864  uint8_t l_rxlev:6, reserved_l_rxlev:2;
865  uint8_t u_rxlev:6, reserved_u_rxlev:2;
866  uint8_t u_rxqual:3, reserved_u_rxqual:1,
867  l_rxqual:3, reserved_l_rxqual:1;
868 #elif OSMO_IS_BIG_ENDIAN
869  uint8_t reserved_l_rxlev:2, l_rxlev:6;
870  uint8_t reserved_u_rxlev:2, u_rxlev:6;
871  uint8_t reserved_l_rxqual:1, l_rxqual:3,
872  reserved_u_rxqual:1, u_rxqual:3;
873 #endif
874 }__attribute__ ((packed));
875 
878  /* Carrier-to-Interference (C/I), in dB: */
879  int8_t l_ci_fr; int8_t u_ci_fr; /* FR/EFR */
880  int8_t l_ci_hr; int8_t u_ci_hr; /* HR */
881  int8_t l_ci_amr_fr; int8_t u_ci_amr_fr; /* AMR FR */
882  int8_t l_ci_amr_hr; int8_t u_ci_amr_hr; /* AMR HR */
883  int8_t l_ci_sdcch; int8_t u_ci_sdcch; /* SDCCH */
884  int8_t l_ci_gprs; int8_t u_ci_gprs; /* GPRS */
885 }__attribute__ ((packed));
886 
889 #if OSMO_IS_LITTLE_ENDIAN
890  uint8_t l_rxlev_ul_h:6,
891  reserved_l_rxlev_ul:2;
892  uint8_t l_rxlev_dl_h:6,
893  reserved_l_rxlev_dl:2;
894  uint8_t rxlev_ul_ih:6,
895  reserved_rxlev_ul:2;
896  uint8_t rxlev_dl_ih:6,
897  reserved_rxlev_dl:2;
898  uint8_t l_rxqual_ul_h:3,
899  reserved_rxlqual_ul:1,
900  l_rxqual_dl_h:3,
901  reserved_rxqual_dl:1;
902  uint8_t ms_range_max:6,
903  reserved_ms_range:2;
904 #elif OSMO_IS_BIG_ENDIAN
905 /* auto-generated from the little endian part above (libosmocore/contrib/struct_endianess.py) */
906  uint8_t reserved_l_rxlev_ul:2, l_rxlev_ul_h:6;
907  uint8_t reserved_l_rxlev_dl:2, l_rxlev_dl_h:6;
908  uint8_t reserved_rxlev_ul:2, rxlev_ul_ih:6;
909  uint8_t reserved_rxlev_dl:2, rxlev_dl_ih:6;
910  uint8_t reserved_rxqual_dl:1, l_rxqual_dl_h:3, reserved_rxlqual_ul:1, l_rxqual_ul_h:3;
911  uint8_t reserved_ms_range:2, ms_range_max:6;
912 #endif
913 }__attribute__ ((packed));
914 
917 #if OSMO_IS_LITTLE_ENDIAN
918  uint8_t p1:5, reserved_p1:3;
919  uint8_t n1:5, reserved_n1:3;
920  uint8_t p2:5, reserved_p2:3;
921  uint8_t n2:5, reserved_n2:3;
922  uint8_t p3:5, reserved_p3:3;
923  uint8_t n3:5, reserved_n3:3;
924  uint8_t p4:5, reserved_p4:3;
925  uint8_t n4:5, reserved_n4:3;
926  uint8_t pc_interval:5, reserved_pc:3;
927  uint8_t red_step_size:4, inc_step_size:4;
928 #elif OSMO_IS_BIG_ENDIAN
929  uint8_t reserved_p1:3, p1:5;
930  uint8_t reserved_n1:3, n1:5;
931  uint8_t reserved_p2:3, p2:5;
932  uint8_t reserved_n2:3, n2:5;
933  uint8_t reserved_p3:3, p3:5;
934  uint8_t reserved_n3:3, n3:5;
935  uint8_t reserved_p4:3, p4:5;
936  uint8_t reserved_n4:3, n4:5;
937  uint8_t reserved_pc:3, pc_interval:5;
938  uint8_t inc_step_size:4, red_step_size:4;
939 #endif
940 }__attribute__ ((packed));
941 
944 #if OSMO_IS_LITTLE_ENDIAN
945  uint8_t lower_p:5, reserved_lower_p:3;
946  uint8_t lower_n:5, reserved_lower_n:3;
947  uint8_t upper_p:5, reserved_upper_p:3;
948  uint8_t upper_n:5, reserved_upper_n:3;
949 #elif OSMO_IS_BIG_ENDIAN
950  uint8_t reserved_lower_p:3, lower_p:5;
951  uint8_t reserved_lower_n:3, lower_n:5;
952  uint8_t reserved_upper_p:3, upper_p:5;
953  uint8_t reserved_upper_n:3, upper_n:5;
954  #endif
955 }__attribute__ ((packed));
957  /* Used for Carrier-to-Interference (C/I), in dB: */
964 }__attribute__ ((packed));
965 
968 #if OSMO_IS_LITTLE_ENDIAN
969  uint8_t p5:5,
970  reserved_p5:3;
971  uint8_t n5:5,
972  reserved_n5:3;
973  uint8_t p6:5,
974  reserved_p6:3;
975  uint8_t n6:5,
976  reserved_n6:3;
977  uint8_t p7:5,
978  reserved_p7:3;
979  uint8_t n7:5,
980  reserved_n7:3;
981  uint8_t p8:5,
982  reserved_p8:3;
983  uint8_t n8:5,
984  reserved_n8:3;
985  uint8_t ho_interval:5,
986  reserved_ho:3;
987  uint8_t reserved;
988 
989 #elif OSMO_IS_BIG_ENDIAN
990 /* auto-generated from the little endian part above (libosmocore/contrib/struct_endianess.py) */
991  uint8_t reserved_p5:3, p5:5;
992  uint8_t reserved_n5:3, n5:5;
993  uint8_t reserved_p6:3, p6:5;
994  uint8_t reserved_n6:3, n6:5;
995  uint8_t reserved_p7:3, p7:5;
996  uint8_t reserved_n7:3, n7:5;
997  uint8_t reserved_p8:3, p8:5;
998  uint8_t reserved_n8:3, n8:5;
999  uint8_t reserved_ho:3, ho_interval:5;
1000  uint8_t reserved;
1001 #endif
1002 }__attribute__ ((packed));
1003 
1005 #if OSMO_IS_LITTLE_ENDIAN
1006  uint8_t bsic:6,
1007  reserved0:2;
1008  uint8_t bcch_freq:5,
1009  ba_used:1,
1010  s:1,
1011  reserved1:1;
1012 #elif OSMO_IS_BIG_ENDIAN
1013 /* auto-generated from the little endian part above (libosmocore/contrib/struct_endianess.py) */
1014  uint8_t reserved0:2, bsic:6;
1015  uint8_t reserved1:1, s:1, ba_used:1, bcch_freq:5;
1016 #endif
1017 }__attribute__ ((packed));
1018 
1020 #if OSMO_IS_LITTLE_ENDIAN
1021  uint8_t rxlev_min_def:6,
1022  reserved_rxlev_min_def:2;
1023  uint8_t ho_margin_def:5,
1024  reserved_ho_margin_def:3;
1025  uint8_t ms_txpwr_max_def:5,
1026  reserved_ms_txpwr_max_def:3;
1027 #elif OSMO_IS_BIG_ENDIAN
1028 /* auto-generated from the little endian part above (libosmocore/contrib/struct_endianess.py) */
1029  uint8_t reserved_rxlev_min_def:2, rxlev_min_def:6;
1030  uint8_t reserved_ho_margin_def:3, ho_margin_def:5;
1031  uint8_t reserved_ms_txpwr_max_def:3, ms_txpwr_max_def:5;
1032 #endif
1033 }__attribute__ ((packed));
1034 
1036 #if OSMO_IS_LITTLE_ENDIAN
1037  uint8_t sdcch_ho_gsm:1,
1038  sdcch_ho_umts:1,
1039  reserved:6;
1040 #elif OSMO_IS_BIG_ENDIAN
1041 /* auto-generated from the little endian part above (libosmocore/contrib/struct_endianess.py) */
1042  uint8_t reserved:6, sdcch_ho_umts:1, sdcch_ho_gsm:1;
1043 #endif
1044 }__attribute__ ((packed));
1045 
1047  uint8_t meas_rep_mode;
1049  struct ipac_preproc_ave_cfg ms_ave_cfg[3];
1055 };
1056 
1057 struct rsl_l1_info {
1058 #if OSMO_IS_BIG_ENDIAN
1059  uint8_t ms_pwr:5,
1060  fpc_epc:1,
1061  srr_sro:1,
1062  reserved:1;
1063  uint8_t ta;
1064 #elif OSMO_IS_LITTLE_ENDIAN
1065  uint8_t reserved:1,
1066  srr_sro:1,
1067  fpc_epc:1,
1068  ms_pwr:5;
1069  uint8_t ta;
1070 #endif
1071 } __attribute__ ((packed));
1072 
rsl_ipac_rtp_csd_format_d
Definition: gsm_08_58.h:740
rsl_mrpci_pwrclass
Definition: gsm_08_58.h:762
rsl_rel_mode
Definition: gsm_08_58.h:777
abis_rsl_ie
RSL Information Element Identifiers (Chapter 9.3)
Definition: gsm_08_58.h:306
abis_rsl_msgtype_ericsson
Ericsson vendor-specific RSL message types.
Definition: gsm_08_58.h:301
rsl_ipac_rtp_payload
Definition: gsm_08_58.h:715
rsl_ipac_embedded_ie
ip.access specific embedded information elements
Definition: gsm_08_58.h:783
rsl_ipac_speech_mode_m
Definition: gsm_08_58.h:733
rsl_ipac_rtp_csd_format_ir
Definition: gsm_08_58.h:747
rsl_cmod_spd
Definition: gsm_08_58.h:503
rsl_mrpci_phase
Definition: gsm_08_58.h:769
abis_rsl_msgtype_siemens
Siemens vendor-specific RSL message types.
Definition: gsm_08_58.h:281
abis_rsl_msgtype
Definition: gsm_08_58.h:176
rsl_ipac_speech_mode_s
Definition: gsm_08_58.h:724
enum abis_rsl_msgtype __attribute__
@ RSL_IPAC_RTP_CSD_NON_TRAU
Definition: gsm_08_58.h:742
@ RSL_IPAC_RTP_CSD_IWF_FREE
Definition: gsm_08_58.h:744
@ RSL_IPAC_RTP_CSD_EXT_TRAU
Definition: gsm_08_58.h:741
@ RSL_IPAC_RTP_CSD_TRAU_BTS
Definition: gsm_08_58.h:743
@ RSL_MRPCI_PWRC_2
Definition: gsm_08_58.h:764
@ RSL_MRPCI_PWRC_4
Definition: gsm_08_58.h:766
@ RSL_MRPCI_PWRC_1
Definition: gsm_08_58.h:763
@ RSL_MRPCI_PWRC_3
Definition: gsm_08_58.h:765
@ RSL_MRPCI_PWRC_5
Definition: gsm_08_58.h:767
@ RSL_REL_LOCAL_END
Definition: gsm_08_58.h:779
@ RSL_REL_NORMAL
Definition: gsm_08_58.h:778
@ RSL_IE_SACCH_INFO
Definition: gsm_08_58.h:350
@ RSL_IE_RACH_LOAD
Definition: gsm_08_58.h:324
@ RSL_IE_CAUSE
Definition: gsm_08_58.h:332
@ RSL_IE_FULL_BCCH_INFO
Definition: gsm_08_58.h:345
@ RSL_IE_CBCH_LOAD_INFO
Definition: gsm_08_58.h:351
@ RSL_IE_FRAME_NUMBER
Definition: gsm_08_58.h:314
@ RSL_IE_IPAC_RTP_MPLEX
Definition: gsm_08_58.h:399
@ RSL_IE_ERR_MSG
Definition: gsm_08_58.h:344
@ RSL_IE_SMSCB_INFO
Definition: gsm_08_58.h:342
@ RSL_IE_CHAN_DESC
Definition: gsm_08_58.h:354
@ RSL_IE_OSMO_REP_ACCH_CAP
Definition: gsm_08_58.h:378
@ RSL_IE_PREPROC_MEAS
Definition: gsm_08_58.h:340
@ RSL_IE_SIEMENS_ININ_CELL_HO_PAR
Definition: gsm_08_58.h:370
@ RSL_IE_RTD
Definition: gsm_08_58.h:364
@ RSL_IE_CMD_INDICATOR
Definition: gsm_08_58.h:356
@ RSL_IE_MAIN_CHAN_REF
Definition: gsm_08_58.h:359
@ RSL_IE_IMM_ASS_INFO
Definition: gsm_08_58.h:341
@ RSL_IE_SIEMENS_TRACE_REF_NR
Definition: gsm_08_58.h:371
@ RSL_IE_L1_INFO
Definition: gsm_08_58.h:316
@ RSL_IE_MS_POWER
Definition: gsm_08_58.h:319
@ RSL_IE_IPAC_LOCAL_PORT
Definition: gsm_08_58.h:389
@ RSL_IE_LINK_IDENT
Definition: gsm_08_58.h:308
@ RSL_IE_MR_CONTROL
Definition: gsm_08_58.h:361
@ RSL_IE_ACCESS_DELAY
Definition: gsm_08_58.h:323
@ RSL_IE_IPAC_RTP_JIT_BUF
Definition: gsm_08_58.h:396
@ RSL_IE_SYSINFO_TYPE
Definition: gsm_08_58.h:336
@ RSL_IE_MR_CONFIG
Definition: gsm_08_58.h:360
@ RSL_IE_IPAC_RTP_PAYLOAD2
Definition: gsm_08_58.h:398
@ RSL_IE_RESOURCE_INFO
Definition: gsm_08_58.h:327
@ RSL_IE_SIEMENS_HIGHEST_RATE
Definition: gsm_08_58.h:374
@ RSL_IE_NCH_DRX_INFO
Definition: gsm_08_58.h:355
@ RSL_IE_IPAC_LOCAL_IP
Definition: gsm_08_58.h:391
@ RSL_IE_IPAC_CONN_STAT
Definition: gsm_08_58.h:392
@ RSL_IE_OSMO_TEMP_OVP_ACCH_CAP
Definition: gsm_08_58.h:380
@ RSL_IE_SIEMENS_INT_TRACE_IDX
Definition: gsm_08_58.h:372
@ RSL_IE_EMLPP_PRIO
Definition: gsm_08_58.h:357
@ RSL_IE_ENCR_INFO
Definition: gsm_08_58.h:313
@ RSL_IE_SIEMENS_L2_HDR_INFO
Definition: gsm_08_58.h:373
@ RSL_IE_IPAC_RTP_MPLEX_ID
Definition: gsm_08_58.h:400
@ RSL_IE_FULL_IMM_ASS_INFO
Definition: gsm_08_58.h:349
@ RSL_IE_OSMO_TRAINING_SEQUENCE
Definition: gsm_08_58.h:379
@ RSL_IE_CB_CMD_TYPE
Definition: gsm_08_58.h:347
@ RSL_IE_UPLINK_MEAS
Definition: gsm_08_58.h:331
@ RSL_IE_SIEMENS_PREF_AREA_TYPE
Definition: gsm_08_58.h:369
@ RSL_IE_SIEMENS_MRPCI
Definition: gsm_08_58.h:368
@ RSL_IE_UIC
Definition: gsm_08_58.h:358
@ RSL_IE_IPAC_RTP_COMPR
Definition: gsm_08_58.h:397
@ RSL_IE_HANDO_REF
Definition: gsm_08_58.h:315
@ RSL_IE_LLP_APDU
Definition: gsm_08_58.h:366
@ RSL_IE_IPAC_HO_C_PARMS
Definition: gsm_08_58.h:393
@ RSL_IE_SMSCB_MSG
Definition: gsm_08_58.h:348
@ RSL_IE_MS_IDENTITY
Definition: gsm_08_58.h:318
@ RSL_IE_MS_POWER_PARAM
Definition: gsm_08_58.h:337
@ RSL_IE_RLM_CAUSE
Definition: gsm_08_58.h:328
@ RSL_IE_REQ_REFERENCE
Definition: gsm_08_58.h:325
@ RSL_IE_IPAC_BSCMPL_TOUT
Definition: gsm_08_58.h:385
@ RSL_IE_STARTNG_TIME
Definition: gsm_08_58.h:329
@ RSL_IE_RELEASE_MODE
Definition: gsm_08_58.h:326
@ RSL_IE_MSG_ID
Definition: gsm_08_58.h:334
@ RSL_IE_SUP_CODEC_TYPES
Definition: gsm_08_58.h:362
@ RSL_IE_PREPROC_PARAM
Definition: gsm_08_58.h:339
@ RSL_IE_CHAN_MODE
Definition: gsm_08_58.h:312
@ RSL_IE_IPAC_RTP_PAYLOAD
Definition: gsm_08_58.h:388
@ RSL_IE_TFO_STATUS
Definition: gsm_08_58.h:365
@ RSL_IE_SIEMENS_SUGGESTED_RATE
Definition: gsm_08_58.h:375
@ RSL_IE_CODEC_CONFIG
Definition: gsm_08_58.h:363
@ RSL_IE_PYHS_CONTEXT
Definition: gsm_08_58.h:322
@ RSL_IE_IPAC_SPEECH_MODE
Definition: gsm_08_58.h:390
@ RSL_IE_IPAC_CONN_ID
Definition: gsm_08_58.h:394
@ RSL_IE_SMSCB_CHAN_INDICATOR
Definition: gsm_08_58.h:352
@ RSL_IE_IPAC_PROXY_UDP
Definition: gsm_08_58.h:384
@ RSL_IE_MEAS_RES_NR
Definition: gsm_08_58.h:333
@ RSL_IE_IPAC_REMOTE_IP
Definition: gsm_08_58.h:386
@ RSL_IE_CHAN_IDENT
Definition: gsm_08_58.h:311
@ RSL_IE_IPAC_RTP_CSD_FMT
Definition: gsm_08_58.h:395
@ RSL_IE_PAGING_LOAD
Definition: gsm_08_58.h:321
@ RSL_IE_CHAN_NR
Definition: gsm_08_58.h:307
@ RSL_IE_GROUP_CALL_REF
Definition: gsm_08_58.h:353
@ RSL_IE_MS_TIMING_OFFSET
Definition: gsm_08_58.h:343
@ RSL_IE_TIMING_ADVANCE
Definition: gsm_08_58.h:330
@ RSL_IE_CHAN_NEEDED
Definition: gsm_08_58.h:346
@ RSL_IE_IPAC_REMOTE_PORT
Definition: gsm_08_58.h:387
@ RSL_IE_L3_INFO
Definition: gsm_08_58.h:317
@ RSL_IE_ACT_TYPE
Definition: gsm_08_58.h:309
@ RSL_IE_PAGING_GROUP
Definition: gsm_08_58.h:320
@ RSL_IE_IPAC_SRTP_CONFIG
Definition: gsm_08_58.h:383
@ RSL_IE_BS_POWER
Definition: gsm_08_58.h:310
@ RSL_IE_BS_POWER_PARAM
Definition: gsm_08_58.h:338
@ RSL_MT_ERICSSON_IMM_ASS_SENT
Definition: gsm_08_58.h:302
@ RSL_IPAC_RTP_EFR
Definition: gsm_08_58.h:717
@ RSL_IPAC_RTP_AMR
Definition: gsm_08_58.h:718
@ RSL_IPAC_RTP_GSM
Definition: gsm_08_58.h:716
@ RSL_IPAC_RTP_MUX
Definition: gsm_08_58.h:720
@ RSL_IPAC_RTP_CSD
Definition: gsm_08_58.h:719
@ RSL_IPAC_EIE_MASTER_KEY
Definition: gsm_08_58.h:803
@ RSL_IPAC_EIE_MEAS_AVG_CFG
Definition: gsm_08_58.h:788
@ RSL_IPAC_EIE_MASTER_SALT
Definition: gsm_08_58.h:804
@ RSL_IPAC_EIE_NCELL_DEFAULTS
Definition: gsm_08_58.h:792
@ RSL_IPAC_EIE_NUM_OF_MS
Definition: gsm_08_58.h:799
@ RSL_IPAC_EIE_PC_THRESH_COMP
Definition: gsm_08_58.h:794
@ RSL_IPAC_EIE_3G_HO_PARAM
Definition: gsm_08_58.h:807
@ RSL_IPAC_EIE_NCELL_BA_CHG_LIST
Definition: gsm_08_58.h:798
@ RSL_IPAC_EIE_FREQ_ERR
Definition: gsm_08_58.h:786
@ RSL_IPAC_EIE_HO_THRESH_COMP
Definition: gsm_08_58.h:795
@ RSL_IPAC_EIE_HO_CAND_EXT
Definition: gsm_08_58.h:800
@ RSL_IPAC_EIE_MS_PWR_CTL
Definition: gsm_08_58.h:790
@ RSL_IPAC_EIE_3G_NCELL_LIST
Definition: gsm_08_58.h:808
@ RSL_IPAC_EIE_HO_CANDIDATES
Definition: gsm_08_58.h:797
@ RSL_IPAC_EIE_AMR_CONV_THRESH
Definition: gsm_08_58.h:810
@ RSL_IPAC_EIE_NCELL_LIST_EXT
Definition: gsm_08_58.h:802
@ RSL_IPAC_EIE_NCELL_LIST
Definition: gsm_08_58.h:793
@ RSL_IPAC_EIE_SDCCH_CTL_PARAM
Definition: gsm_08_58.h:809
@ RSL_IPAC_EIE_NCELL_DEF_EXT
Definition: gsm_08_58.h:801
@ RSL_IPAC_EIE_OSMO_PC_THRESH_COMP
Definition: gsm_08_58.h:815
@ RSL_IPAC_EIE_HANDO_THRESH
Definition: gsm_08_58.h:791
@ RSL_IPAC_EIE_MEAS_TRANS_RES
Definition: gsm_08_58.h:806
@ RSL_IPAC_EIE_TIMING_ERR
Definition: gsm_08_58.h:787
@ RSL_IPAC_EIE_RXLEV
Definition: gsm_08_58.h:784
@ RSL_IPAC_EIE_OSMO_MS_PWR_CTL
Definition: gsm_08_58.h:814
@ RSL_IPAC_EIE_OSMO_MEAS_AVG_CFG
Definition: gsm_08_58.h:813
@ RSL_IPAC_EIE_RXQUAL
Definition: gsm_08_58.h:785
@ RSL_IPAC_EIE_BS_PWR_CTL
Definition: gsm_08_58.h:789
@ RSL_IPAC_EIE_HO_CAUSE
Definition: gsm_08_58.h:796
@ IPAC_MEDIAN_AVE
Definition: gsm_08_58.h:430
@ IPAC_WEIGHTED_AVE
Definition: gsm_08_58.h:429
@ IPAC_OSMO_EWMA_AVE
Definition: gsm_08_58.h:432
@ IPAC_UNWEIGHTED_AVE
Definition: gsm_08_58.h:428
@ RSL_IPAC_SPEECH_M_TX
Definition: gsm_08_58.h:736
@ RSL_IPAC_SPEECH_M_RX
Definition: gsm_08_58.h:735
@ RSL_IPAC_SPEECH_M_RXTX
Definition: gsm_08_58.h:734
@ RSL_IPAC_RTP_CSD_IR_32k
Definition: gsm_08_58.h:750
@ RSL_IPAC_RTP_CSD_IR_64k
Definition: gsm_08_58.h:751
@ RSL_IPAC_RTP_CSD_IR_8k
Definition: gsm_08_58.h:748
@ RSL_IPAC_RTP_CSD_IR_16k
Definition: gsm_08_58.h:749
@ RSL_CMOD_SPD_SPEECH
Definition: gsm_08_58.h:504
@ RSL_CMOD_SPD_SIGN
Definition: gsm_08_58.h:506
@ RSL_CMOD_SPD_DATA
Definition: gsm_08_58.h:505
@ RSL_MRPCI_PHASE_2
Definition: gsm_08_58.h:772
@ RSL_MRPCI_PHASE_1
Definition: gsm_08_58.h:770
@ RSL_MRPCI_PHASE_2PLUS
Definition: gsm_08_58.h:773
@ IPAC_RXQUAL_AVE
Definition: gsm_08_58.h:438
@ IPAC_RXLEV_AVE
Definition: gsm_08_58.h:437
@ IPAC_MS_BTS_DIS_AVE
Definition: gsm_08_58.h:439
@ RSL_MT_SIEMENS_HO_FAIL_IND
Definition: gsm_08_58.h:292
@ RSL_MT_SIEMENS_STOP_TRACE_ACK
Definition: gsm_08_58.h:293
@ RSL_MT_SIEMENS_FORCED_HO_REQ
Definition: gsm_08_58.h:285
@ RSL_MT_SIEMENS_START_TRACE
Definition: gsm_08_58.h:288
@ RSL_MT_SIEMENS_SET_SYS_INFO_10
Definition: gsm_08_58.h:296
@ RSL_MT_SIEMENS_MODIF_COND_IND
Definition: gsm_08_58.h:297
@ RSL_MT_SIEMENS_STOP_TRACE
Definition: gsm_08_58.h:290
@ RSL_MT_SIEMENS_MRPCI
Definition: gsm_08_58.h:282
@ RSL_MT_SIEMENS_TRMR
Definition: gsm_08_58.h:291
@ RSL_MT_SIEMENS_START_TRACE_ACK
Definition: gsm_08_58.h:289
@ RSL_MT_SIEMENS_UPLF
Definition: gsm_08_58.h:294
@ RSL_MT_SIEMENS_INTERC_HO_COND_IND
Definition: gsm_08_58.h:284
@ RSL_MT_SIEMENS_PREF_AREA
Definition: gsm_08_58.h:287
@ RSL_MT_SIEMENS_PREF_AREA_REQ
Definition: gsm_08_58.h:286
@ RSL_MT_SIEMENS_INTRAC_HO_COND_IND
Definition: gsm_08_58.h:283
@ RSL_MT_SIEMENS_UPLB
Definition: gsm_08_58.h:295
@ RSL_MT_MS_POWER_CONTROL
Definition: gsm_08_58.h:227
@ RSL_MT_IMMEDIATE_ASSIGN_CMD
Definition: gsm_08_58.h:200
@ RSL_MT_MR_CODEC_MOD_NACK
Definition: gsm_08_58.h:240
@ RSL_MT_IPAC_CONNECT_MUX_ACK
Definition: gsm_08_58.h:255
@ RSL_MT_IPAC_DISC_MUX
Definition: gsm_08_58.h:260
@ RSL_MT_REL_IND
Definition: gsm_08_58.h:186
@ RSL_MT_EST_IND
Definition: gsm_08_58.h:183
@ RSL_MT_IPAC_CRCX_ACK
Definition: gsm_08_58.h:267
@ RSL_MT_MODE_MODIFY_NACK
Definition: gsm_08_58.h:223
@ RSL_MT_IPAC_BIND_MUX
Definition: gsm_08_58.h:257
@ RSL_MT_NOT_CMD
Definition: gsm_08_58.h:210
@ RSL_MT_MODE_MODIFY_REQ
Definition: gsm_08_58.h:221
@ RSL_MT_IPAC_CRCX_NACK
Definition: gsm_08_58.h:268
@ RSL_MT_BS_POWER_CONTROL
Definition: gsm_08_58.h:228
@ RSL_MT_LOCATION_INFO
Definition: gsm_08_58.h:244
@ RSL_MT_MEAS_RES
Definition: gsm_08_58.h:220
@ RSL_MT_IPAC_HO_CAN_RES
Definition: gsm_08_58.h:265
@ RSL_MT_EST_REQ
Definition: gsm_08_58.h:181
@ RSL_MT_UNIT_DATA_IND
Definition: gsm_08_58.h:188
@ RSL_MT_ENCR_CMD
Definition: gsm_08_58.h:218
@ RSL_MT_IPAC_PDCH_DEACT
Definition: gsm_08_58.h:251
@ RSL_MT_DATA_REQ
Definition: gsm_08_58.h:178
@ RSL_MT_DATA_IND
Definition: gsm_08_58.h:179
@ RSL_MT_RF_RES_IND
Definition: gsm_08_58.h:204
@ RSL_MT_BCCH_INFO
Definition: gsm_08_58.h:195
@ RSL_MT_IPAC_DIR_RETR_ENQ
Definition: gsm_08_58.h:247
@ RSL_MT_UNIT_DATA_REQ
Definition: gsm_08_58.h:187
@ RSL_MT_RTD_REP
Definition: gsm_08_58.h:236
@ RSL_MT_OVERLOAD
Definition: gsm_08_58.h:206
@ RSL_MT_RF_CHAN_REL_ACK
Definition: gsm_08_58.h:231
@ RSL_MT_IPAC_PDCH_ACT_NACK
Definition: gsm_08_58.h:250
@ RSL_MT_SUSP_REQ
Definition: gsm_08_58.h:189
@ RSL_MT_IPAC_PDCH_ACT
Definition: gsm_08_58.h:248
@ RSL_MT_OSMO_ETWS_CMD
Definition: gsm_08_58.h:277
@ RSL_MT_MR_CODEC_MOD_ACK
Definition: gsm_08_58.h:239
@ RSL_MT_IPAC_DLCX_ACK
Definition: gsm_08_58.h:274
@ RSL_MT_IPAC_PDCH_ACT_ACK
Definition: gsm_08_58.h:249
@ RSL_MT_CHAN_RQD
Definition: gsm_08_58.h:197
@ RSL_MT_PHY_CONTEXT_REQ
Definition: gsm_08_58.h:224
@ RSL_MT_RF_CHAN_REL
Definition: gsm_08_58.h:226
@ RSL_MT_MR_CODEC_MOD_REQ
Definition: gsm_08_58.h:238
@ RSL_MT_IPAC_MDCX_NACK
Definition: gsm_08_58.h:271
@ RSL_MT_CHAN_ACTIV
Definition: gsm_08_58.h:213
@ RSL_MT_IPAC_DLCX_IND
Definition: gsm_08_58.h:272
@ RSL_MT_REMOTE_CODEC_CONF_REP
Definition: gsm_08_58.h:235
@ RSL_MT_IPAC_DISC_MUX_ACK
Definition: gsm_08_58.h:261
@ RSL_MT_REL_REQ
Definition: gsm_08_58.h:184
@ RSL_MT_PRE_HANDO_NOTIF
Definition: gsm_08_58.h:237
@ RSL_MT_IPAC_DLCX_NACK
Definition: gsm_08_58.h:275
@ RSL_MT_SMS_BC_REQ
Definition: gsm_08_58.h:201
@ RSL_MT_TFO_MOD_REQ
Definition: gsm_08_58.h:243
@ RSL_MT_CHAN_ACTIV_ACK
Definition: gsm_08_58.h:214
@ RSL_MT_CHAN_ACTIV_NACK
Definition: gsm_08_58.h:215
@ RSL_MT_IPAC_MDCX
Definition: gsm_08_58.h:269
@ RSL_MT_RES_REQ
Definition: gsm_08_58.h:191
@ RSL_MT_CONN_FAIL
Definition: gsm_08_58.h:216
@ RSL_MT_RECON_REQ
Definition: gsm_08_58.h:192
@ RSL_MT_ERROR_REPORT
Definition: gsm_08_58.h:207
@ RSL_MT_PHY_CONTEXT_CONF
Definition: gsm_08_58.h:225
@ RSL_MT_IPAC_DISC_MUX_NACK
Definition: gsm_08_58.h:262
@ RSL_MT_SMS_BC_CMD
Definition: gsm_08_58.h:208
@ RSL_MT_CCCH_LOAD_IND
Definition: gsm_08_58.h:196
@ RSL_MT_IPAC_CONNECT_MUX
Definition: gsm_08_58.h:254
@ RSL_MT_HANDO_DET
Definition: gsm_08_58.h:219
@ RSL_MT_IPAC_MEAS_PREPROC_DFT
Definition: gsm_08_58.h:263
@ RSL_MT_REL_CONF
Definition: gsm_08_58.h:185
@ RSL_MT_IPAC_CRCX
Definition: gsm_08_58.h:266
@ RSL_MT_DEACTIVATE_SACCH
Definition: gsm_08_58.h:217
@ RSL_MT_MODE_MODIFY_ACK
Definition: gsm_08_58.h:222
@ RSL_MT_IPAC_BIND_MUX_NACK
Definition: gsm_08_58.h:259
@ RSL_MT_IPAC_MDCX_ACK
Definition: gsm_08_58.h:270
@ RSL_MT_SACCH_FILL
Definition: gsm_08_58.h:205
@ RSL_MT_IPAC_CONNECT_MUX_NACK
Definition: gsm_08_58.h:256
@ RSL_MT_SACCH_INFO_MODIFY
Definition: gsm_08_58.h:232
@ RSL_MT_CBCH_LOAD_IND
Definition: gsm_08_58.h:209
@ RSL_MT_IPAC_HO_CAN_ENQ
Definition: gsm_08_58.h:264
@ RSL_MT_ERROR_IND
Definition: gsm_08_58.h:180
@ RSL_MT_MR_CODEC_MOD_PER
Definition: gsm_08_58.h:241
@ RSL_MT_IPAC_BIND_MUX_ACK
Definition: gsm_08_58.h:258
@ RSL_MT_IPAC_PDCH_DEACT_ACK
Definition: gsm_08_58.h:252
@ RSL_MT_SUSP_CONF
Definition: gsm_08_58.h:190
@ RSL_MT_DELETE_IND
Definition: gsm_08_58.h:198
@ RSL_MT_CHAN_CONF
Definition: gsm_08_58.h:202
@ RSL_MT_PREPROC_MEAS_RES
Definition: gsm_08_58.h:230
@ RSL_MT_EST_CONF
Definition: gsm_08_58.h:182
@ RSL_MT_PAGING_CMD
Definition: gsm_08_58.h:199
@ RSL_MT_TFO_REP
Definition: gsm_08_58.h:242
@ RSL_MT_IPAC_PDCH_DEACT_NACK
Definition: gsm_08_58.h:253
@ RSL_MT_LISTENER_DET
Definition: gsm_08_58.h:234
@ RSL_MT_PREPROC_CONFIG
Definition: gsm_08_58.h:229
@ RSL_MT_TALKER_DET
Definition: gsm_08_58.h:233
@ RSL_MT_IPAC_DLCX
Definition: gsm_08_58.h:273
@ RSL_IPAC_SPEECH_GSM_FR
Definition: gsm_08_58.h:725
@ RSL_IPAC_SPEECH_GSM_HR
Definition: gsm_08_58.h:728
@ RSL_IPAC_SPEECH_GSM_AMR_HR
Definition: gsm_08_58.h:729
@ RSL_IPAC_SPEECH_GSM_AMR_FR
Definition: gsm_08_58.h:727
@ RSL_IPAC_SPEECH_AS_RTP
Definition: gsm_08_58.h:730
@ RSL_IPAC_SPEECH_GSM_EFR
Definition: gsm_08_58.h:726
@ IPAC_HO_RQD_CAUSE_ENQUIRY
Definition: gsm_08_58.h:452
@ IPAC_HO_RQD_CAUSE_NORMAL3G
Definition: gsm_08_58.h:454
@ IPAC_HO_RQD_CAUSE_RXLEV_UL_IH
Definition: gsm_08_58.h:448
@ IPAC_HO_RQD_CAUSE_L_RXQUAL_DL_H
Definition: gsm_08_58.h:447
@ IPAC_HO_RQD_CAUSE_EMERGENCY3G
Definition: gsm_08_58.h:455
@ IPAC_HO_RQD_CAUSE_LOAD_DEMOTION
Definition: gsm_08_58.h:460
@ IPAC_HO_RQD_CAUSE_QUALITY_PROMOTION
Definition: gsm_08_58.h:458
@ IPAC_HO_RQD_CAUSE_L_RXLEV_UL_H
Definition: gsm_08_58.h:444
@ IPAC_HO_RQD_CAUSE_L_RXQUAL_UL_H
Definition: gsm_08_58.h:446
@ IPAC_HO_RQD_CAUSE_ENQUIRY_FAILED
Definition: gsm_08_58.h:453
@ IPAC_HO_RQD_CAUSE_MAX
Definition: gsm_08_58.h:461
@ IPAC_HO_RQD_CAUSE_L_RXLEV_DL_H
Definition: gsm_08_58.h:445
@ IPAC_HO_RQD_CAUSE_POWER_BUDGET
Definition: gsm_08_58.h:451
@ IPAC_HO_RQD_CAUSE_SERVICE_PREFERRED3G
Definition: gsm_08_58.h:456
@ IPAC_HO_RQD_CAUSE_O_M_SHUTDOWN
Definition: gsm_08_58.h:457
@ IPAC_HO_RQD_CAUSE_LOAD_PROMOTION
Definition: gsm_08_58.h:459
@ IPAC_HO_RQD_CAUSE_RXLEV_DL_IH
Definition: gsm_08_58.h:449
@ IPAC_HO_RQD_CAUSE_MAX_MS_RANGE
Definition: gsm_08_58.h:450
uint8_t len
Definition: gsm_04_11.h:0
uint8_t params[0]
Definition: gsm_08_58.h:6
Definition: gsm_08_58.h:113
uint8_t chan_nr
Definition: gsm_08_58.h:117
struct abis_rsl_common_hdr c
Definition: gsm_08_58.h:114
union abis_rsl_chan_nr chan_nr_fields
RSL channel number (value)
Definition: gsm_08_58.h:118
uint8_t data[0]
message payload data
Definition: gsm_08_58.h:120
uint8_t ie_chan
RSL_IE_CHAN_NR (tag)
Definition: gsm_08_58.h:115
RSL common header.
Definition: gsm_08_58.h:79
uint8_t data[0]
actual payload data
Definition: gsm_08_58.h:82
uint8_t msg_discr
message discriminator (ABIS_RSL_MDISC_*)
Definition: gsm_08_58.h:80
uint8_t msg_type
message type (abis_rsl_msgtype)
Definition: gsm_08_58.h:81
Definition: gsm_08_58.h:102
uint8_t ie_chan
RSL_IE_CHAN_NR (tag)
Definition: gsm_08_58.h:104
union abis_rsl_chan_nr chan_nr_fields
RSL channel number (value)
Definition: gsm_08_58.h:107
uint8_t data[0]
message payload data
Definition: gsm_08_58.h:109
uint8_t chan_nr
Definition: gsm_08_58.h:106
struct abis_rsl_common_hdr c
Definition: gsm_08_58.h:103
Definition: gsm_08_58.h:124
Definition: gsm_08_58.h:143
Definition: gsm_08_58.h:86
uint8_t ie_link_id
RSL_IE_LINK_IDENT (tag)
Definition: gsm_08_58.h:93
union abis_rsl_chan_nr chan_nr_fields
RSL channel number (value)
Definition: gsm_08_58.h:91
struct abis_rsl_common_hdr c
Definition: gsm_08_58.h:87
uint8_t data[0]
message payload data
Definition: gsm_08_58.h:98
uint8_t chan_nr
Definition: gsm_08_58.h:90
uint8_t ie_chan
RSL_IE_CHAN_NR (tag)
Definition: gsm_08_58.h:88
uint8_t link_id
Definition: gsm_08_58.h:95
union abis_rsl_link_id link_id_fields
RSL link identifier (value)
Definition: gsm_08_58.h:96
Definition: gsm_08_58.h:820
Definition: gsm_08_58.h:1046
struct ipac_preproc_ho_ctl_param ho_ctl_param
Definition: gsm_08_58.h:1054
struct ipac_preproc_ave_cfg ms_ave_cfg[3]
Definition: gsm_08_58.h:1049
uint8_t meas_rep_mode
Definition: gsm_08_58.h:1047
struct ipac_preproc_ncell_dflts ncell_dflts
Definition: gsm_08_58.h:1053
struct ipac_preproc_ho_comp ho_comp
Definition: gsm_08_58.h:1052
struct ipac_preproc_ho_thresh ho_thresh
Definition: gsm_08_58.h:1051
uint32_t meas_mode_flags
Definition: gsm_08_58.h:1048
struct ipac_preproc_ave_cfg ave_cfg
Definition: gsm_08_58.h:1050
Definition: gsm_08_58.h:1004
HO Threshold Comparators.
Definition: gsm_08_58.h:967
Definition: gsm_08_58.h:1035
Handover Thresholds.
Definition: gsm_08_58.h:888
Definition: gsm_08_58.h:1019
Osmocom extension for: PC Threshold Comparators (RSL_IPAC_EIE_OSMO_PC_THRESH_COMP)
Definition: gsm_08_58.h:943
PC Threshold Comparators (RSL_IPAC_EIE_PC_THRESH_COMP)
Definition: gsm_08_58.h:916
MS/BS Power Control Thresholds (RSL_IPAC_EIE_MS_PWR_CTL)
Definition: gsm_08_58.h:862
Definition: gsm_08_58.h:837
Definition: gsm_08_58.h:851
struct osmo_preproc_ave_cfg_field ci_hr
Definition: gsm_08_58.h:853
struct osmo_preproc_ave_cfg_field ci_amr_hr
Definition: gsm_08_58.h:855
struct osmo_preproc_ave_cfg_field ci_gprs
Definition: gsm_08_58.h:857
struct osmo_preproc_ave_cfg_field ci_fr
Definition: gsm_08_58.h:852
struct osmo_preproc_ave_cfg_field ci_sdcch
Definition: gsm_08_58.h:856
struct osmo_preproc_ave_cfg_field ci_amr_fr
Definition: gsm_08_58.h:854
uint8_t params[0]
Definition: gsm_08_58.h:858
Definition: gsm_08_58.h:956
struct ipac_preproc_pc_comp_field ci_sdcch
Definition: gsm_08_58.h:962
struct ipac_preproc_pc_comp_field ci_hr
Definition: gsm_08_58.h:959
struct ipac_preproc_pc_comp_field ci_gprs
Definition: gsm_08_58.h:963
struct ipac_preproc_pc_comp_field ci_fr
Definition: gsm_08_58.h:958
struct ipac_preproc_pc_comp_field ci_amr_hr
Definition: gsm_08_58.h:961
struct ipac_preproc_pc_comp_field ci_amr_fr
Definition: gsm_08_58.h:960
Osmocom extension for: MS/BS Power Control Thresholds (RSL_IPAC_EIE_OSMO_MS_PWR_CTL)
Definition: gsm_08_58.h:877
int8_t l_ci_sdcch
Definition: gsm_08_58.h:883
int8_t l_ci_fr
Definition: gsm_08_58.h:879
int8_t l_ci_gprs
Definition: gsm_08_58.h:884
int8_t u_ci_sdcch
Definition: gsm_08_58.h:883
int8_t u_ci_hr
Definition: gsm_08_58.h:880
int8_t l_ci_amr_hr
Definition: gsm_08_58.h:882
int8_t l_ci_amr_fr
Definition: gsm_08_58.h:881
int8_t l_ci_hr
Definition: gsm_08_58.h:880
int8_t u_ci_amr_fr
Definition: gsm_08_58.h:881
int8_t u_ci_fr
Definition: gsm_08_58.h:879
int8_t u_ci_gprs
Definition: gsm_08_58.h:884
int8_t u_ci_amr_hr
Definition: gsm_08_58.h:882
RSL Cell Broadcast Command (Chapter 9.3.45)
Definition: gsm_08_58.h:671
RSL Channel Identification IE (Chapter 9.3.5)
Definition: gsm_08_58.h:555
uint8_t chan_nr
Definition: gsm_08_58.h:559
uint8_t oct4
Definition: gsm_08_58.h:561
uint8_t iei
Definition: gsm_08_58.h:558
struct rsl_ie_chan_ident::@90 chan_desc
uint8_t oct3
Definition: gsm_08_58.h:560
RSL Channel Mode IF (Chapter 9.3.6)
Definition: gsm_08_58.h:495
uint8_t chan_rt
Definition: gsm_08_58.h:498
uint8_t dtx_dtu
Definition: gsm_08_58.h:496
uint8_t spd_ind
Definition: gsm_08_58.h:497
uint8_t chan_rate
Definition: gsm_08_58.h:499
Definition: gsm_08_58.h:1057
Definition: gsm_08_58.h:755
uint8_t power_class
Definition: gsm_08_58.h:756
uint8_t gsm_phase
Definition: gsm_08_58.h:759
uint8_t vgcs_capable
Definition: gsm_08_58.h:757
uint8_t vbs_capable
Definition: gsm_08_58.h:758
Definition: gsm_08_58.h:35
uint8_t chan_nr
Definition: gsm_08_58.h:43