Commit Graph

21 Commits

Author SHA1 Message Date
Sylvain Munaut 90526bca2e gmr1_rx: FCCH SNR computation improvement
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 d84bdfd598 gmr1_rx: Better DKAB handling
Now that the SDR part of DKAB can tell us if it found one or
not, we can do better tracking.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-07-06 13:14:56 +02:00
Sylvain Munaut 7be04d6567 gmr1_rx: Don't count the borders when computing energy
Since the 'burst' vector often include some margin, the center
will be more representative of the real average energy.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-07-06 13:14:56 +02:00
Sylvain Munaut 0ddd957165 gmr1_rx: Don't try to low pass frequency correction
Some receivers (like rtl-sdr) have fast changes in the frequency
error, especially while they're warming up and this prevents good
tracking.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-07-06 13:14:56 +02:00
Sylvain Munaut ab3af93a19 gmr1_rx: Fix warnings about unused var
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-07-06 13:14:56 +02:00
Sylvain Munaut 76db8c2c13 gmr1_rx: First draft of FACCH9/TCH9 decoding
Not very clean but gmr1_rx will be replaced by the live version
'soonish'.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-10-14 21:13:15 +02:00
Sylvain Munaut 797baad4a6 gmr1_rx: Rename tch_state to tch3_state in preparation for TCH9 support
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-10-14 21:11:04 +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 83e63c2009 apps/gmr1_rx: Add deciphering support
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-02-01 08:05:18 +01:00
Sylvain Munaut 626193583d apps/gmr1_rx: Add TCH3 channel follow
Simple "follow first TCH"

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-12-17 16:39:16 +01:00
Sylvain Munaut 9cfb493b81 apps/gmr1_rx: Better formatting of the FN debug status line
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-19 19:26:27 +01:00
Sylvain Munaut 1e7e483ff6 apps/gmr1_rx: Fix wrong initial value for bcch_energy
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-19 19:26:27 +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 9d1af55983 apps/gmr1_rx: Add proper TDMA sync yielding correct frame number
This way the FN & TN are properly set.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-30 21:31:10 +01:00
Sylvain Munaut e9509fa521 apps/gmr1_rx: Add CCCH detection/processing
(only in BCCH/CCCH channels)

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-19 08:35:48 +02:00
Sylvain Munaut 8b388923e7 apps/gmr1_rx: Protect against negative alignement
In the code we have margin because of START_DISCARD, but if someone
modifies that it could cause an unexpected crash.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-17 22:04:46 +02:00
Sylvain Munaut 05df2ac27d apps/gmr1_rx: Fix 'wrong' warning about possible uninitialized var
Those can't be used uninitialized but the compiler doesn't 'get' that ...

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-16 21:24:08 +02:00
Sylvain Munaut b6fc11d17c apps/gmr1_rx: Fix type in error string
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-16 13:02:42 +02:00
Sylvain Munaut d1a06e3c4d apps: Add demo application gmr1_rx
This currently try to lock to any FCCH alignement
and process the BCCH to wireshark

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-16 12:21:28 +02:00