path: root/tests/conv
AgeCommit message (Collapse)AuthorFilesLines
2020-03-09conv: add convolutional coder for AMR SID UPDATE framesPhilipp Maier1-0/+8
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 different. Change-Id: Ia35ed4178a7f0d816052b7e5d6478b93a1d9744f Related: OS#2978
2017-12-11Add functions for extended RACH codingMax1-0/+8
Add support for extended RACH (11 bit) according 3GPP TS 45.003 §5.3.2: * convolutional code with puncturing * encoding/decoding routines * corresponding tests Change-Id: I85a34a82d5cd39a594ee89d91a2338226066ab5d Related: OS#1548
2017-04-30tests/conv: add GSM 05.03 specific testVadim Yanitskiy3-2/+334
This change extends the convolutional code test coverage, adding the GSM 05.03 specific test vectors, generated by the conv_gen.py. Inspired by Tom's patch: http://lists.osmocom.org/pipermail/openbsc/2014-April/007364.html Change-Id: I76d1cd4032d2f74c5bb93bde4fab99aa655b7f1a
2017-03-06tests/conv: separate test logicVadim Yanitskiy3-152/+167
To be able to add some more tests, related to convolutional coding, without duplication of code, the test logic was separated from the conv_test.c into conv.c and conv.h. Change-Id: Idbdc7e19cb9b9a36cd1fccd621cd858e87530d98
2017-01-16tests/conv: whitespece fixVadim Yanitskiy1-1/+1
Change-Id: I73ab4614c5c23390862d3ecaa2561a6749604a15
2017-01-16tests/conv: add LTE PBCH test vectorVadim Yanitskiy2-0/+68
Change-Id: I1a3a48bba9ee32a0bacc0b05d25358496dbcbc1b
2016-04-29Add code generator for convolutional codesMax Suraev msuraev@sysmocom.de1-194/+89
Add python utility to generate .c code with convolutional encoder/decoder based on polynomial description of the code. If argument given it'll be interpreted as intended output directory, otherwise current working directory is used. Codes for *CCH, CS2/3 and TCH/AFS are generated. Corresponding manual implementations are removed from tests. This introduce build-time dependency on python. The main work for this patch was generously contributed by Sylvain Munaut. Fixes: OS#1629
2016-04-12Add ubit <-> sbit convertorsMax1-21/+2
Move functions for conversion between soft and unpacked bits to main library as they are generally useful.
2013-10-08tests: Fix warningsJacob Erlbeck1-0/+2
This fixes warnings that are raised by missing includes, missing casts, missing return statements, using printf %lu with uint64_t, and unused symbols.
2013-08-14conv: Fix main() of conv_test to compile with clang.Jacob Erlbeck1-1/+2
Fix type of argument 'argv'. Addresses: conv/conv_test.c:358:5: error: second parameter of 'main' (argument array) must be of type 'char **' int main(int argc, char argv[])
2012-06-30build: simplify test handling and speed up build.Diego Elio Pettenò1-6/+0
Instead of using a ./configure parameter to decide whehter to build tests or not, use the check_PROGRAMS variable so that the tests are only built when running `make check`. To avoid slowing down the test phase itself, collapse the declaration of the test targets in the tests/Makefile.am file, this way they can be built and linked in parallel before the testsuite is executed. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
2011-11-24core/conv: Add regression testing codeSylvain Munaut3-0/+547
It tests both a given test vector encoding/decoding, and some random coding/decoding cycles. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>