Commit Graph

44 Commits

Author SHA1 Message Date
Sylvain Munaut 9ebb5aca34 l1/xch_dc12: Add channel coding for various channel types over DC12 bursts
Used in GMR-1 3G

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-08-31 08:15:37 +02:00
Sylvain Munaut ccf3609ee5 l1/punct: Add all puncturing codes used in GMR-1 3G
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-08-31 08:15:37 +02:00
Sylvain Munaut f176495e0d l1/conv: Add all convolutional codes used in GMR-1 3G
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-08-31 08:15:37 +02:00
Sylvain Munaut d573f62005 sdr/nb: Add DC12 burst definition used in GMR-1 3G
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-08-31 08:15:37 +02:00
Sylvain Munaut aa207a8cc7 sdr/pi4cxpsk: Add support for pi/2-CBPSK
The rotation is not always pi/4 now.
Ideally everything should get renamed but that's a big diff and
will be done later.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-08-31 08:15:37 +02:00
Sylvain Munaut 207b9edd57 sdr/fcch: Add support for FCCH3 used in GMR-1 3G
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-08-31 08:15:37 +02:00
Sylvain Munaut 3706e9729a General copyright notice update
find . -name \*.c -exec sed -i -e "s/(C) [0-9\-]*/(C) 2011-2019/g" {} \;
find . -name \*.h -exec sed -i -e "s/(C) [0-9\-]*/(C) 2011-2019/g" {} \;

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-08-31 08:15:37 +02:00
Sylvain Munaut a23f3d3243 sdr/pi4cxpsk: Add a method for modulation of pi/4 CxPSK bursts
This currently only supports 1sps. To upconvert, it should be
convoluted with a RRC filter.

It required adding a second table of symbol in the modulation
type where the entries are sorted by the 'bits' value rather
than the symbol number.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-04-04 13:54:30 +02:00
Sylvain Munaut e8730785b3 codec: First code import
Lots of fixups still needed before merge into master

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-12-17 18:15:42 +01:00
Sylvain Munaut 255a32a391 doc: Fix a couple of missing documentation string
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-12-17 18:15:31 +01:00
Sylvain Munaut c67ace3d2b gsmtap: Remove type #define. Those are in mainline gsmtap.h now
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-07-06 13:14:56 +02:00
Sylvain Munaut 028f0bd95d l1/tch9: Fix typo in header
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-07-06 13:14:56 +02:00
Sylvain Munaut d0d8406004 l1/tch9: Add TCH9 channel coding support
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-09-10 23:30:47 +02:00
Sylvain Munaut feb82555c6 l1/interleave: Add support for inter-burst interleaving
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-09-10 23:30:46 +02:00
Sylvain Munaut b067a532de l1/punct: Extend the puncture table generation to support TCH6/9
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-10 23:30:46 +02:00
Sylvain Munaut e7af1dab37 l1/facch9: Add FACCH9 channel coding support
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-09-10 23:30:46 +02:00
Sylvain Munaut 01b82dd8b3 Follow the rename from libosmosdr -> libosmodsp
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-05-11 21:10:49 +02:00
Sylvain Munaut a45956af0b doc: Fix the Doxygen section endings
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-04-18 22:17:22 +02:00
Sylvain Munaut ade05aaf4d l1: Add RACH channel coding/decoding routines
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-03-14 11:24:52 +01:00
Sylvain Munaut c70e5208d5 l1/a5: Add implementation of the GMR-1 A5/1 ciphering algorithm
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-02-01 08:04:44 +01:00
Sylvain Munaut 135ce0561e sdr/pi4cxpsk: Add method to detect modulation order
Just another possible method to differentiate FACCH3 from TCH3

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-12-17 16:04:58 +01:00
Sylvain Munaut 010025b7c9 sdr/pi4cxpsk: Add method to detect burst type by correlating training sequences
The _gmr1_pi4cxpsk_sync_find method is modified to:
 - Return the pwr peak of the match
 - Divide the peak by the number of corr point (to scale it appropriately)

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-12-17 16:04:58 +01:00
Sylvain Munaut 80e0aabf91 sdr/dkab: Add support for Dual Keep Alive Bursts demodulation
The actual data out of the demodulation is not tested tough since
the upper layers can't handle that yet.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-12-16 14:11:16 +01:00
Sylvain Munaut 2556c6d04b sdr: Fix documentation references error (to 05.003 instead of 05.004)
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-12-16 14:11:16 +01:00
Sylvain Munaut ecceb996aa l1/tch3: Add support for TCH3 (speech) channel coding
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-12-15 10:12:03 +01:00
Sylvain Munaut 069fa2e094 l1/conv: Add the special tail-biting code used in TCH3
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-12-14 23:02:53 +01:00
Sylvain Munaut 77037d37bc l1/facch3: Add support for FACCH3 channel coding
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-12-14 23:02:53 +01:00
Sylvain Munaut 98db75d85e l1/punct: Add method to generate the puncturing array from a gmr1_puncturer
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-12-14 23:02:53 +01:00
Sylvain Munaut a145d368a1 gsmtap: Send proper FN & TN
... and adapt gsm1_rx consequently

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-30 21:32:40 +01:00
Sylvain Munaut a41f641457 l1/ccch: Add CCCH (PCH/AGCH) channel coding
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-19 08:34:25 +02:00
Sylvain Munaut 93848d25af l1/bcch: Add 'const' to input arguments of channel coding funcs
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-18 22:33:39 +02:00
Sylvain Munaut 9a69e5cc0c build: Add autotools magic
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-16 12:21:28 +02:00
Sylvain Munaut ea5a308cae sdr/nb: Add normal bursts definitions
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-15 20:21:50 +02:00
Sylvain Munaut 953237c5db sdr/pi4cxpsk: Add pi4-CxPSK raw primitives
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-15 20:21:50 +02:00
Sylvain Munaut fed4cd84f9 sdr/fcch: Add FCCH raw primitives
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-15 20:21:50 +02:00
Sylvain Munaut 49f4670fb5 sdr: Add a SDR sublibrary
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-15 20:21:50 +02:00
Sylvain Munaut b6ae0e101a doc: Fix Doxygen tags in pre-existing files
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-15 15:17:01 +02:00
Sylvain Munaut 33e5d23450 l1/bcch: Add complete BCCH stateless coder/decoder
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-18 12:08:53 +02:00
Sylvain Munaut 96ecf1e8bd l1/scramb: Add scrambling primitives
As described in GMR-1 05.003 Section 4.9

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-18 12:07:17 +02:00
Sylvain Munaut 32ef35f1b9 l1/punct: Add description of the puncturing schemes
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-18 12:06:27 +02:00
Sylvain Munaut 0912fc0e27 l1/interleave: Add interleaving primitives (intra-burst only so far)
As described in GMR-1 05.003 Section 4.8

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-18 12:05:24 +02:00
Sylvain Munaut bb67f01ff5 l1/crc: Add CRC primitives
As described in GMR-1 05.003 Section 4.3

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-18 12:04:43 +02:00
Sylvain Munaut de44ed88bf l1/conv: Add convolutional coding primitives
As described in GMR-1 05.003 Section 4.4

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-18 12:00:48 +02:00
Sylvain Munaut 7dffb95f7d gsmtap: Add initial GSMtap helpers for GMR-1
Far from complete but it gets the job done

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-18 12:00:00 +02:00