aboutsummaryrefslogtreecommitdiffstats
path: root/src/l1
AgeCommit message (Collapse)AuthorFilesLines
2016-09-11General copyright notice updateSylvain Munaut13-13/+13
find . -name \*.c -exec sed -i -e "s/(C) [0-9\-]*/(C) 2011-2016/g" {} \; find . -name \*.h -exec sed -i -e "s/(C) [0-9\-]*/(C) 2011-2016/g" {} \; Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2016-03-08l1/{bcch,ccch}: Minor doc fixesSylvain Munaut2-2/+2
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-04-04l1/rach: Fix the gmr1_rach_encode functionSylvain Munaut1-3/+3
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-04-04l1/rach: Clear up the unused bits in gmr1_rach_decode return arraySylvain Munaut1-0/+2
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-12-17doc: Fix a couple of missing documentation stringSylvain Munaut1-0/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-07-09l1/facch9: Fix wrong index when clearing last upper nibble in decodeSylvain Munaut1-1/+1
Found by Coverity (Fixes CID 1042970) Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-07-09l1/a5: Fix typo in memsetSylvain Munaut1-1/+1
Found by Coverity (Fixes CID 1042971) Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-06-12Makefile.am: Use AM_CPPFLAGSAlexander Huemer1-1/+1
Since automake 1.13 INCLUDES is depricates and causes a warning Signed-off-by: Holger Hans Peter Freyther <zecke@selfish.org>
2012-09-10l1/tch9: Add TCH9 channel coding supportSylvain Munaut2-1/+178
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-09-10l1/interleave: Add support for inter-burst interleavingSylvain Munaut1-0/+110
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-09-10l1/punct: Extend the puncture table generation to support TCH6/9Sylvain Munaut2-12/+70
The scheme used in TCH6/9 is a bit special, with different puncture mask for the beginning / center / end. It also doesn't repeat the mask all the way through. This adds support for this kind of stuff. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-09-10l1/facch9: Add FACCH9 channel coding supportSylvain Munaut2-1/+147
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-04-18doc: Fix the Doxygen section endingsSylvain Munaut11-11/+11
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-03-14l1: Add RACH channel coding/decoding routinesSylvain Munaut2-1/+197
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-03-14l1: Do a bit of #include cleanup, make sure to include what's neededSylvain Munaut4-1/+15
... and not rely on someone to get it for us. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-03-01l1/a5: Use better numerotation for LFSR bitsSylvain Munaut1-14/+14
bit 0 == (1<<0) is feedback bit N-1 is the highest bit. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-02-01l1/a5: Add implementation of the GMR-1 A5/1 ciphering algorithmSylvain Munaut2-1/+285
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-12-15l1/tch3: Add support for TCH3 (speech) channel codingSylvain Munaut2-1/+184
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-12-14l1/conv: Add the special tail-biting code used in TCH3Sylvain Munaut1-0/+54
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-12-14l1/facch3: Add support for FACCH3 channel codingSylvain Munaut2-1/+169
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-12-14l1/punct: Add method to generate the puncturing array from a gmr1_puncturerSylvain Munaut1-0/+46
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-12-14l1/{bcch,ccch}: Add missing doc for conv_rv parameter and return valueSylvain Munaut2-0/+4
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-12-14l1/ccch: Fix missing const qualifier on gmr1_ccch_{encode,decode}Sylvain Munaut1-2/+2
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-19l1: Use constructor attribute to init the channel codersSylvain Munaut2-22/+2
Much more elegant than doing a manual check ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-30l1: Couple of fixes in the documentation of bcch/ccch channe codingSylvain Munaut2-4/+4
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-19l1/ccch: Add CCCH (PCH/AGCH) channel codingSylvain Munaut2-1/+114
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-18l1/bcch: Add 'const' to input arguments of channel coding funcsSylvain Munaut1-2/+2
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-16build: Add autotools magicSylvain Munaut1-0/+9
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-15l1/bcch: Fix trailing whitespacesSylvain Munaut1-2/+2
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-15l1/interleave: Fix mismatch in function prototype between .c & .hSylvain Munaut1-2/+2
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-15doc: Fix Doxygen tags in pre-existing filesSylvain Munaut6-12/+12
Most of the doc in the files committed so far has been written "blind" without actually running Doxygen. This commits fixes the various things needed to make it "look nice" Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-09l1/bcch: Fix documentation cut & paste errorSylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-18l1/bcch: Add complete BCCH stateless coder/decoderSylvain Munaut1-0/+109
The BCCH doesn't have inter-burst dependency, hence we just have a stateless coding/decoding routine. See GMR 05.003 Section 6.1 Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-18l1/scramb: Add scrambling primitivesSylvain Munaut1-0/+95
As described in GMR-1 05.003 Section 4.9 Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-18l1/punct: Add description of the puncturing schemesSylvain Munaut1-0/+238
Currently only the matrix, no helpers yet. As described in GMR-1 05.003 Section 4.5 Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-18l1/interleave: Add interleaving primitives (intra-burst only so far)Sylvain Munaut1-0/+82
As described in GMR-1 05.003 Section 4.8 Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-18l1/crc: Add CRC primitivesSylvain Munaut1-0/+65
As described in GMR-1 05.003 Section 4.3 Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-18l1/conv: Add convolutional coding primitivesSylvain Munaut1-0/+144
As described in GMR-1 05.003 Section 4.4 Signed-off-by: Sylvain Munaut <tnt@246tNt.com>