Commit Graph

32 Commits

Author SHA1 Message Date
Piotr Krysik 59257a11a3 receiver: removed redundant parameter from synchronized_handler
Change-Id: I64862f60eecadd60580a117ab865ea597eaad30b
2019-07-18 10:33:49 +02:00
Piotr Krysik c5ed04572f receiver/time_sample_ref: SDR hardware time tracking
Gr-gsm's receiver needs a stream of samples with sampling frequency that
is integer multiply of gsm symbol rate. Many hardware receivers don't
support such rates, and even if they do there might be error in their
time source. Sample rate is adapted and corrected with use of a resampler.
Moreover corrections are applied in the runtime so resampler's resample
rate is changed dynamically. Those changes need to be tracked in order
to be able to track time of the hardware after resampling.

Hardware time tracking is needed to enable triggering of events in the
hardware (i.e. frequency changes, burst transmissions).

Changes were made in time_sample_ref and receiver in order to enable
SDR hardware time tracking.

Change-Id: Ide8149a5fc6c22700d3a4542115306a4dc682ff2
2019-07-18 10:33:28 +02:00
Piotr Krysik cd69577a40 receiver: Added resamp_rate parameter
Change-Id: Iaffbe8fc28be9a70fbf8fa1689687fbd171f6b0e
2019-07-18 10:33:16 +02:00
Piotr Krysik 8a8d41a583 Merge branch 'ptrkrysik/trx' into development 2018-04-16 22:21:29 +02:00
Piotr Krysik 3b11689d22 Change ints to size_t 2018-02-27 14:45:14 +01:00
Piotr Krysik bfb47dca69 Fix: don't send SCH burst to the output if it wasn't correctly decoded
This had very bad effect of incorrect fn_time values coming into txtime_setter block.
They, subsequently, might have caused busts with tx_time values in distant future. The result on uhd sink is deadlock.
2017-11-11 11:12:02 +01:00
Piotr Krysik d7efc05b79 Moved gsm_constants file to include directory 2017-11-07 19:33:22 +01:00
Piotr Krysik 96f2ea75b0 Correction needed to make TX and RX integration work 2017-10-16 15:47:08 +02:00
Piotr Krysik df978693eb Added timestamping of bursts in the gsm receiver 2017-09-27 21:58:24 +02:00
Piotr Krysik a6268a5bc1 Big update of copyright statements so they can be automatically processed to produce debian/copyright file 2017-08-23 16:02:19 +02:00
Vadim Yanitskiy cc82cf0300 receiver_impl.cc: refactor the source code
This change formats the receiver implementation source code
according to a mix of GNURadio and the Kernel coding styles.

The main changes are:

  - Line length limit is 80 columns
  - Usage of /* comments */ is prefered
  - Do not use curly braces for single line loops / conditions

For more details, see:

https://wiki.gnuradio.org/index.php/Coding_guide_impl
https://www.kernel.org/doc/html/v4.10/process/coding-style.html
2017-07-24 19:59:46 +07:00
Piotr Krysik 654d652a73 Ressurected old frequency correction function 2017-01-23 21:53:48 +01:00
Piotr Krysik 9bc0fc0c59 Changed frequency estimator to the old one that worked better 2017-01-18 21:53:17 +01:00
Piotr Krysik d61f85ba6d Changed method of frequency estimation 2016-08-29 07:38:25 +02:00
ptrkrysik 380dea8a76 Added uplink processing to the receiver 2015-08-06 10:11:58 +02:00
ptrkrysik 42411c6ef0 Added more includes of STL containers definitions.
In some configurations lack of these includes cause compile errors.
2015-07-08 10:50:41 +02:00
ptrkrysik 32c2116d88 Removed boost timer from clock_offset_control to avoid race conditions.
The time is now tracked by the receiver based on samples count and send through the 'measurements' interface to the clock_offset_control.
clock_offset_control takes time into account during fcch_search.
2015-04-04 14:01:52 +02:00
ptrkrysik ef5e2dbf47 Removed some typedefs 2015-01-03 12:10:14 +01:00
ptrkrysik 3be74a732b Changed grgsm install directories and prefixes from "gsm" to "grgsm". The old prefix caused conflicts with libraries already available. 2014-12-13 10:11:00 +01:00
ptrkrysik 529895b14c Updated copyleft statements of my files #3 2014-12-02 18:07:38 +01:00
ptrkrysik 617ba03ffc Changed format of messages containing bursts to PDU. Corrected types of bursts. 2014-11-21 10:11:05 +01:00
ptrkrysik 7a7b9b0a3a Changed cell allocation elements type from float to int 2014-11-19 11:27:34 +01:00
ptrkrysik e518bbfedd Added capability to receive multiple channels of a single BTS to the receiver. It is now possible to receive bursts on channels for which frequency hopping was used. Changed examples to work without hierarhical GSM Receiver block. 2014-11-06 14:50:59 +01:00
ptrkrysik 58213797c1 First step to add multichannel capability to the GSM receiver. At this moment it might still contain debuging code. The training sequence number for non C0 channels is embedded in the code. 2014-10-30 09:05:15 +01:00
ptrkrysik 4c82577d16 Repaired cmake buildsystem - include files paths were inconsistent with source files after changing directory structure 2014-08-16 11:34:54 +02:00
Piotr K 608a08e0a5 Removed completely old method of frequency offset correction 2014-08-07 17:01:55 +02:00
piotr d6d6687691 Removed redundant state from the receiver 2014-08-06 15:20:33 +02:00
piotr 4089c1a7f3 Added new blocks for clock freqeuncy correction 2014-08-06 14:10:56 +02:00
piotr f2b6a1ba4d Added reset to the receiver, computation of power and function for setting arfcn of the receiver 2014-08-04 11:28:59 +02:00
piotr faacc72413 Added typical signalization channels (CCCH, BCCH, SDCCH) decoder and demapper for BCCH.
The implementation is quite dirty at this moment.
2014-07-20 23:48:32 +02:00
piotr 7f3f3666b8 Little changes commited from all files. Cleanup in the lib directory - files moved associated with different blocks moved to associated directories. 2014-07-08 16:47:53 +02:00
piotr 7af92cadd5 Correction in plotting.h 2014-07-08 16:38:42 +02:00