[PATCH] libosmocore[master]: gsm0408: update bearer capability speech version

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Wed May 31 16:01:21 UTC 2017


Review at  https://gerrit.osmocom.org/2812

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
---
M include/osmocom/gsm/protocol/gsm_04_08.h
1 file changed, 11 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/12/2812/1

diff --git a/include/osmocom/gsm/protocol/gsm_04_08.h b/include/osmocom/gsm/protocol/gsm_04_08.h
index 3f0ce64..adfdfe3 100644
--- a/include/osmocom/gsm/protocol/gsm_04_08.h
+++ b/include/osmocom/gsm/protocol/gsm_04_08.h
@@ -1618,13 +1618,18 @@
 	GSM48_BCAP_MT_AUTO_1	= 8,
 };
 
-/* GSM 04.08 Bearer Capability: Speech Version Indication */
+/* 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,
-	GSM48_BCAP_SV_HR	= 1,
-	GSM48_BCAP_SV_EFR	= 2,
-	GSM48_BCAP_SV_AMR_F	= 4,
-	GSM48_BCAP_SV_AMR_H	= 5,
+	GSM48_BCAP_SV_FR	= 0,	/* GSM FR V1 */
+	GSM48_BCAP_SV_HR	= 1,	/* GSM HR V1 */
+	GSM48_BCAP_SV_EFR	= 2,	/* GSM FR V2 */
+	GSM48_BCAP_SV_AMR_F	= 4,	/* GSM FR V3 */
+	GSM48_BCAP_SV_AMR_H	= 5,	/* GSM HR V3 */
+	GSM48_BCAP_SV_AMR_OFW	= 6,	/* GSM FR V4 */
+	GSM48_BCAP_SV_AMR_OHW	= 7,	/* GSM HR V4 */
+	GSM48_BCAP_SV_AMR_FW	= 8,	/* GSM FR V5 */
+	GSM48_BCAP_SV_AMR_OH	= 11,	/* GSM HR V6 */
 };
 
 #define GSM48_TMSI_LEN	5

-- 
To view, visit https://gerrit.osmocom.org/2812
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id2835384c855f924332d38f01c73bd1cfdb62549
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>



More information about the gerrit-log mailing list