Change in libosmocore[master]: conv: add convolutional coder for AMR SID UPDATE frames

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
Tue Mar 3 08:54:25 UTC 2020


dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/17326 )


Change subject: conv: add convolutional coder for AMR SID UPDATE frames
......................................................................

conv: add convolutional coder for AMR SID UPDATE frames

AMR SID update frames are protected using an 1/4 convolutional coder,
wich is similar to the one used with 6,7 kbit voice frames. Except that
there is no puncturing and the length is differen.

Change-Id: Ia35ed4178a7f0d816052b7e5d6478b93a1d9744f
Related: OS#2978
---
M src/gsm/libosmogsm.map
M tests/conv/conv_gsm0503_test.ok
M utils/conv_codes_gsm.py
3 files changed, 28 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/26/17326/1

diff --git a/src/gsm/libosmogsm.map b/src/gsm/libosmogsm.map
index efca0a5..a518b28 100644
--- a/src/gsm/libosmogsm.map
+++ b/src/gsm/libosmogsm.map
@@ -135,6 +135,7 @@
 gsm0503_tch_ahs_5_9;
 gsm0503_tch_ahs_5_15;
 gsm0503_tch_ahs_4_75;
+gsm0503_tch_axs_sid_update;
 gsm0503_mcs1_dl_hdr;
 gsm0503_mcs1_ul_hdr;
 gsm0503_mcs1;
diff --git a/tests/conv/conv_gsm0503_test.ok b/tests/conv/conv_gsm0503_test.ok
index 39480ca..764bd43 100644
--- a/tests/conv/conv_gsm0503_test.ok
+++ b/tests/conv/conv_gsm0503_test.ok
@@ -190,6 +190,14 @@
 [..] Encoding / Decoding cycle : OK
 [..] Encoding / Decoding cycle : OK
 
+[+] Testing: gsm0503_tch_axs_sid_update
+[.] Input length  : ret =  49  exp =  49 -> OK
+[.] Output length : ret = 212  exp = 212 -> OK
+[.] Random vector checks:
+[..] Encoding / Decoding cycle : OK
+[..] Encoding / Decoding cycle : OK
+[..] Encoding / Decoding cycle : OK
+
 [+] Testing: gsm0503_mcs1_dl_hdr
 [.] Input length  : ret =  36  exp =  36 -> OK
 [.] Output length : ret = 108  exp = 108 -> OK
diff --git a/utils/conv_codes_gsm.py b/utils/conv_codes_gsm.py
index e189985..42f340b 100644
--- a/utils/conv_codes_gsm.py
+++ b/utils/conv_codes_gsm.py
@@ -522,6 +522,25 @@
 		description = ["TCH/AHS 4.75 kbits convolutional code"]
 	),
 
+	# TCH_AXS SID UPDATE definition
+	ConvolutionalCode(
+		49,
+		[
+			( G1, G3 ),
+			( G2, G3 ),
+			(  1,  1 ),
+			(  1,  1 ),
+		],
+		name = 'tch_axs_sid_update',
+		description = [
+			"TCH/AFS and TCH/AHS SID UPDATE convolutional code:",
+			"G1/G3 = 1 + D + D3 + D4 / 1 + D + D2 + D3 + D4",
+			"G2/G3 = 1 + D2 + D4     / 1 + D + D2 + D3 + D4",
+			"G3/G3 = 1",
+			"G3/G3 = 1",
+		]
+	),
+
 	# EDGE MCS1_DL_HDR definition
 	ConvolutionalCode(
 		36,

-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/17326
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ia35ed4178a7f0d816052b7e5d6478b93a1d9744f
Gerrit-Change-Number: 17326
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200303/33a3b4ce/attachment.htm>


More information about the gerrit-log mailing list