summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2019-02-14 15:59:03 +0100
committerHarald Welte <laforge@gnumonks.org>2019-02-17 13:35:24 +0000
commit8667f7a815bb4d968f23d85d7428495eb0289d61 (patch)
treebe8003a397dedad95363c23b670223174931fa72
parentee91040cec8ad6db17d1c8d0a7fd28013f190a8a (diff)
gsm_08_08.h: Add constants for Channel Type in signalling mode
This is from TS 08.08 3.2.2.11 directly. The choices for Data mode and Speech mode were already present, but not for Signalling mode Change-Id: I9e24841ea877a9a78dc4d2bd14cbf60c4bea79a6 Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rw-r--r--include/osmocom/gsm/protocol/gsm_08_08.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/osmocom/gsm/protocol/gsm_08_08.h b/include/osmocom/gsm/protocol/gsm_08_08.h
index 721da331..67dc6ee1 100644
--- a/include/osmocom/gsm/protocol/gsm_08_08.h
+++ b/include/osmocom/gsm/protocol/gsm_08_08.h
@@ -437,6 +437,20 @@ enum gsm0808_chan_rate_type_speech {
GSM0808_SPEECH_PERM_NO_CHANGE = 0x1f,
};
+/* GSM 08.08 3.2.2.11 Channel Type */
+enum gsm0808_chan_rate_type_sign {
+ GSM0808_SIGN_ANY = 0x00,
+ GSM0808_SIGN_SDCCH = 0x01,
+ GSM0808_SIGN_SDCCH_FULL_BM = 0x02,
+ GSM0808_SIGN_SDCCH_HALF_LM = 0x03,
+ GSM0808_SIGN_FULL_BM = 0x08,
+ GSM0808_SIGN_HALF_LM = 0x09,
+ GSM0808_SIGN_FULL_PREF = 0x0a,
+ GSM0808_SIGN_HALF_PREF = 0x0b,
+ GSM0808_SIGN_FULL_PREF_NO_CHANGE = 0x1a,
+ GSM0808_SIGN_HALF_PREF_NO_CHANGE = 0x1b,
+};
+
/*! GSM 08.08 3.2.2.11 Channel Type
* (see also 3GPP TS 48.008, section 3.2.2.11) */
enum gsm0808_permitted_speech {