aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-trx/gsm0503_coding.c
AgeCommit message (Collapse)AuthorFilesLines
2017-05-22osmo-bts-trx: use libosmocodingMax1-2698/+0
Remove built-in functions and use libosmocoding instead. Change-Id: I1b41bb1a8de655639107ec1f3b75afc240fd316f
2016-07-28trx: Fix coverity BER calculation NULL dereferenceTom Tsou1-6/+9
Allow output of encoded bit count or error count on BER calculation without requiring both pointers to exist. Change-Id: I2c78fa6a92a3b3da4aad8f70353e5a43451b0aa5 Fixes: Coverity CID 137963 Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2016-07-28trx: Enable EGPRS handling through burst lengthsTom Tsou1-1/+1
Existing interfaces are coded with the implicit expectation of using a burst sequence length of 148, which is constant with GSM and GPRS. That changes with EGPRS, where the burst length may be 444 due to the use of 8-PSK instead of GMSK modulation. Setup the interface to accept and return a length value with the burst sequence. This allows 444 length bit vectors to/from the EGPRS decoder/encoder. Length is explicitly used as a identifier for 8-PSK vs. GMSK modulated sequences. Change-Id: I90b46b46b11b6ce280e7f8232d5a2fccec2d4f18 Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2016-07-28trx: Add EGPRS coding and decoding proceduresTom Tsou1-8/+1006
Handles uplink decoding and downlink encoding procedures for MCS 1-9. Includes Type 1, 2, and 3 headers and tables from 3GPP TS 44.060 in order to independently recover coding and puncturing scheme (CPS) parameters for each coded message. Change-Id: I0f059ae34c6f36179553cbc972f8becf8179eb55 Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2016-01-16TRX: Don't hard-code 23 bytes, use GSM_MACBLOCK_LENHarald Welte1-7/+7
2016-01-16use existing #define for FR/EFR frame length (33/31)Harald Welte1-4/+5
2015-09-22trx: Remove unused variables.Alexander Chemeris1-2/+2
2015-09-22trx: More logging for voice frame decoding functions.Alexander Chemeris1-21/+67
2015-09-22trx: Implement BER calculations.Alexander Chemeris1-136/+98
A known issue with this code is that BER is not updated for lost TCH frames, because osmo-trx doesn't send any indication for them and we don't have a callback to handle this. Otherwise the code seem to work fine.
2015-09-22TRX: Support for AMR half speechAndreas Eversberg1-0/+369
2015-09-22TRX: Support for TCH/H and GSM half rate transcodingAndreas Eversberg1-0/+181
2015-09-22TRX: Support for AMR full speechAndreas Eversberg1-22/+457
2015-09-22TRX: Add support for EFR transcodingAndreas Eversberg1-7/+124
2015-09-22TRX: Code cleanup, prepare for other codecs than GSM full rateAndreas Eversberg1-26/+23
2015-09-22TRX: Replaced GSM 06.10 ordering table by table in libosmocodecAndreas Eversberg1-14/+32
2015-09-22TRX: Cleanup of channel transcodingAndreas Eversberg1-0/+571