Change in libosmocore[master]: gsm0503_coding: use ahs tables when encoding ahs codec id

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 Aug 31 14:05:35 UTC 2021


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


Change subject: gsm0503_coding: use ahs tables when encoding ahs codec id
......................................................................

gsm0503_coding: use ahs tables when encoding ahs codec id

The encoder function gsm0503_tch_ahs_encode uses gsm0503_afs_ic_ubit
when encoding the CMR or FT (depends on the frame number). This is not
correct. It should use gsm0503_ahs_ic_ubit instead.

Change-Id: Id250b2102ac79ff222bd3ad9d1abc4b60abdd12b
Related: SYS#5549
---
M src/coding/gsm0503_coding.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/93/25293/1

diff --git a/src/coding/gsm0503_coding.c b/src/coding/gsm0503_coding.c
index 1bec56e..9c189cd 100644
--- a/src/coding/gsm0503_coding.c
+++ b/src/coding/gsm0503_coding.c
@@ -3007,7 +3007,7 @@
 		return -1;
 	}
 
-	memcpy(cB, gsm0503_afs_ic_ubit[id], 4);
+	memcpy(cB, gsm0503_ahs_ic_ubit[id], 4);
 
 	gsm0503_tch_hr_interleave(cB, iB);
 

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Id250b2102ac79ff222bd3ad9d1abc4b60abdd12b
Gerrit-Change-Number: 25293
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/20210831/171fde01/attachment.htm>


More information about the gerrit-log mailing list