diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2023-07-08 06:30:55 +0700 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2023-07-08 06:42:09 +0700 |
commit | fadda01f44288e661db7c19476ae1264131d13aa (patch) | |
tree | 5d190276d90591a4f570f6b3e06b16fe340426b8 /include/osmocom/coding | |
parent | f8e570a20fff87e240a52cd45ceb37b9fc565ea0 (diff) |
coding: implement encoding/decoding API for TCH/F2.4
See 3GPP TS 45.003 section 3.6. This channel mode is a bit special,
because unlike the other CSD specific channel modes it's interleaved
over 8 (not 22!) consecutive bursts, just like TCH/FS.
Change-Id: I4685376c8deb04db670684c9ebf685ad6fc989fa
Related: OS#1572
Diffstat (limited to 'include/osmocom/coding')
-rw-r--r-- | include/osmocom/coding/gsm0503_coding.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/osmocom/coding/gsm0503_coding.h b/include/osmocom/coding/gsm0503_coding.h index 75e12e6d..13d53447 100644 --- a/include/osmocom/coding/gsm0503_coding.h +++ b/include/osmocom/coding/gsm0503_coding.h @@ -101,6 +101,10 @@ int gsm0503_tch_hr48_encode(ubit_t *bursts, const ubit_t *data); int gsm0503_tch_hr48_decode(ubit_t *data, const sbit_t *bursts, int *n_errors, int *n_bits_total); +int gsm0503_tch_fr24_encode(ubit_t *bursts, const ubit_t *data); +int gsm0503_tch_fr24_decode(ubit_t *data, const sbit_t *bursts, + int *n_errors, int *n_bits_total); + int gsm0503_tch_hr24_encode(ubit_t *bursts, const ubit_t *data); int gsm0503_tch_hr24_decode(ubit_t *data, const sbit_t *bursts, int *n_errors, int *n_bits_total); |