aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-05-31 17:22:03 +0200
committerHarald Welte <laforge@gnumonks.org>2017-06-21 20:20:02 +0000
commit3d9191ef2a9908edff13b6122f531514e7a4b889 (patch)
tree08a3ff78d01c41370688a7cce3beec0bbe5f5129
parenta9e193b5dcfb06e0be362ad88816e3100c71256c (diff)
gsm0408: update bearer capability speech version
3GPP TS 24.008 specifies two new speech versions for half rate and two new speech modes for full rate. This patch adds the relevant constants to enum gsm48_bcap_speech_ver in gsm_04_08.h Change-Id: Id2835384c855f924332d38f01c73bd1cfdb62549
-rw-r--r--include/osmocom/gsm/protocol/gsm_04_08.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/osmocom/gsm/protocol/gsm_04_08.h b/include/osmocom/gsm/protocol/gsm_04_08.h
index fef23d80..604a5df4 100644
--- a/include/osmocom/gsm/protocol/gsm_04_08.h
+++ b/include/osmocom/gsm/protocol/gsm_04_08.h
@@ -1620,13 +1620,18 @@ enum gsm48_bcap_modem_type {
GSM48_BCAP_MT_AUTO_1 = 8,
};
-/*! \brief GSM 04.08 Bearer Capability: Speech Version Indication */
+/*! \brief GSM 04.08 Bearer Capability: Speech Version Indication
+ * (See also 3GPP TS 24.008, Table 10.5.103) */
enum gsm48_bcap_speech_ver {
GSM48_BCAP_SV_FR = 0, /*!< GSM FR V1 (GSM FR) */
GSM48_BCAP_SV_HR = 1, /*!< GSM HR V1 (GSM HR) */
GSM48_BCAP_SV_EFR = 2, /*!< GSM FR V2 (GSM EFR) */
GSM48_BCAP_SV_AMR_F = 4, /*!< GSM FR V3 (FR AMR) */
GSM48_BCAP_SV_AMR_H = 5, /*!< GSM HR V3 (HR_AMR) */
+ GSM48_BCAP_SV_AMR_OFW = 6, /*!< GSM FR V4 (OFR AMR-WB) */
+ GSM48_BCAP_SV_AMR_OHW = 7, /*!< GSM HR V4 (OHR AMR-WB) */
+ GSM48_BCAP_SV_AMR_FW = 8, /*!< GSM FR V5 (FR AMR-WB) */
+ GSM48_BCAP_SV_AMR_OH = 11, /*!< GSM HR V6 (OHR AMR) */
};
#define GSM48_TMSI_LEN 5