summaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm/protocol
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-08-24 15:35:34 +0200
committerHarald Welte <laforge@gnumonks.org>2012-08-24 15:36:12 +0200
commiteed26116c96f03c6128fac3dead9054714af6cab (patch)
tree9b9ba648263b2f10b461c62a585e824caeef554d /include/osmocom/gsm/protocol
parentfab0ae9b43ad5c44d3d0402424b152a531b609c4 (diff)
GSM 08.58: Add channel modes for transparent data services
Diffstat (limited to 'include/osmocom/gsm/protocol')
-rw-r--r--include/osmocom/gsm/protocol/gsm_08_58.h24
1 files changed, 20 insertions, 4 deletions
diff --git a/include/osmocom/gsm/protocol/gsm_08_58.h b/include/osmocom/gsm/protocol/gsm_08_58.h
index 10c201d9..57a8f687 100644
--- a/include/osmocom/gsm/protocol/gsm_08_58.h
+++ b/include/osmocom/gsm/protocol/gsm_08_58.h
@@ -338,10 +338,26 @@ enum rsl_cmod_spd {
#define RSL_CMOD_SP_GSM1 0x01
#define RSL_CMOD_SP_GSM2 0x11
#define RSL_CMOD_SP_GSM3 0x21
-/* Data */
-#define RSL_CMOD_SP_NT_14k5 0x58
-#define RSL_CMOD_SP_NT_12k0 0x50
-#define RSL_CMOD_SP_NT_6k0 0x51
+/* non-transparent data */
+#define RSL_CMOD_CSD_NT_43k5 0x74
+#define RSL_CMOD_CSD_NT_28k8 0x71
+#define RSL_CMOD_CSD_NT_14k5 0x58
+#define RSL_CMOD_CSD_NT_12k0 0x50
+#define RSL_CMOD_CSD_NT_6k0 0x51
+/* legacy #defines with wrong name */
+#define RSL_CMOD_SP_NT_14k5 RSL_CMOD_CSD_NT_14k5
+#define RSL_CMOD_SP_NT_12k0 RSL_CMOD_CSD_NT_12k0
+#define RSL_CMOD_SP_NT_6k0 RSL_CMOD_CSD_NT_6k0
+/* transparent data */
+#define RSL_CMOD_CSD_T_32000 0x38
+#define RSL_CMOD_CSD_T_29000 0x39
+#define RSL_CMOD_CSD_T_14400 0x18
+#define RSL_CMOD_CSD_T_9600 0x10
+#define RSL_CMOD_CSD_T_4800 0x11
+#define RSL_CMOD_CSD_T_2400 0x12
+#define RSL_CMOD_CSD_T_1200 0x13
+#define RSL_CMOD_CSD_T_600 0x14
+#define RSL_CMOD_CSD_T_1200_75 0x15
/*! \brief RSL Channel Identification IE (Chapter 9.3.5) */
struct rsl_ie_chan_ident {