From 4a543e81cf3ace7f5b5b55c838fcb4377a2a34b4 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 28 Feb 2009 13:17:55 +0000 Subject: * more RSL and 04.08 constant defines * initialize some data structures before using them in RSL * DATA_REQ is a transparent message * more elaborate DEBUGP statements here and there * don't call 04.08 with zero-length RSL DATA INDICATION * reject 04.08 CC HOLD and RETRIEVE, as we don't support them yet --- include/openbsc/abis_rsl.h | 1 + include/openbsc/gsm_04_08.h | 15 +++++++++++++++ 2 files changed, 16 insertions(+) (limited to 'include') diff --git a/include/openbsc/abis_rsl.h b/include/openbsc/abis_rsl.h index 31094548a..b6d9a9d10 100644 --- a/include/openbsc/abis_rsl.h +++ b/include/openbsc/abis_rsl.h @@ -55,6 +55,7 @@ struct abis_rsl_dchan_hdr { #define ABIS_RSL_MDISC_TRX 0x10 #define ABIS_RSL_MDISC_LOC 0x20 #define ABIS_RSL_MDISC_IPACCESS 0x7e +#define ABIS_RSL_MDISC_TRANSP 0x01 #define ABIS_RSL_MDISC_IS_TRANSP(x) (x & 0x01) diff --git a/include/openbsc/gsm_04_08.h b/include/openbsc/gsm_04_08.h index d9f6ec34b..a27236f37 100644 --- a/include/openbsc/gsm_04_08.h +++ b/include/openbsc/gsm_04_08.h @@ -407,6 +407,21 @@ struct gsm48_imsi_detach_ind { /* Section 10.5.4.11 / Table 10.5.122 */ #define GSM48_CAUSE_CS_GSM 0x60 +/* Section 9.1.2 / Table 9.3 */ +#define GSM48_IE_FRQLIST_AFTER 0x05 +#define GSM48_IE_CELL_CH_DESC 0x62 +#define GSM48_IE_MSLOT_DESC 0x10 +#define GSM48_IE_CHANMODE_1 0x63 +#define GSM48_IE_CHANMODE_2 0x11 +#define GSM48_IE_CHANMODE_3 0x13 +#define GSM48_IE_CHANMODE_4 0x14 +#define GSM48_IE_CHANMODE_5 0x15 +#define GSM48_IE_CHANMODE_6 0x16 +#define GSM48_IE_CHANMODE_7 0x17 +#define GSM48_IE_CHANMODE_8 0x18 +#define GSM48_IE_CHANDESC_2 0x64 +/* FIXME */ + /* Section 10.5.4.23 / Table 10.5.130 */ enum gsm48_signal_val { GSM48_SIGNAL_DIALTONE = 0x00, -- cgit v1.2.3