Commit Graph

42 Commits

Author SHA1 Message Date
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 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
Piotr Krysik 0a932e638d Commented out one include 2016-08-29 07:37:30 +02:00
Piotr Krysik 43af70d360 Don't compute requency offset when freq. correction was triggered during FCCH burst 2016-07-20 21:37:24 +02:00
Piotr Krysik 8630fac60c Merged uplink-decoding branch (with complete support for control channels decoding on uplink)
# Conflicts:
#	examples
#	lib/demapping/universal_ctrl_chans_demapper_impl.cc
#	lib/receiver/receiver_impl.cc
2016-05-14 19:37:14 +02:00
Piotr Krysik f0ec659303 Removed burst detection - everything on hopping channels is treated as bursts now. 2016-03-11 09:05:46 +01:00
Piotr Krysik 97d4f8a4ca Removed old and now not needed hack from the receiver's synchronization algorithm 2016-02-11 08:40:44 +01:00
ptrkrysik 380dea8a76 Added uplink processing to the receiver 2015-08-06 10:11:58 +02:00
ptrkrysik 91c28357fb Corrected CX channels timeslot numbering
Corrected bug where channels other than C0 had incorrect timeslot number - greater by 1 from the correct value.
2015-06-07 18:36:15 +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
Piotr Krysik eee456ca54 Merge pull request #6 from dholm/bugfix/gnuradio-HEAD
receiver: Use std::vector for gr_complex
2015-01-03 12:14:12 +01: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
Piotr K. bb69c799d5 Merge pull request #5 from dholm/feature/osx-support
endian: MacOS X support for endian conversion macros
2014-12-03 00:51:20 +01:00
ptrkrysik d57745d31f Removed assert.h as it caused more problems than it was worth. Fixes #7 2014-12-02 19:05:36 +01:00
ptrkrysik 529895b14c Updated copyleft statements of my files #3 2014-12-02 18:07:38 +01:00
David Holm f2497bdb70 receiver: Use std::vector for gr_complex
On GNU Radio HEAD the type gr_complex is not POD so it cannot be placed
inside a variable size array.  This change makes rhh_temp a std::vector
instead to fix this issue.

If this function is performance critical rhh_temp should probably be
made into a max-size array and put on the top of the stack instead.
2014-12-01 21:30:44 +01:00
David Holm 9880653e0f endian: MacOS X support for endian conversion macros
betohX/htobeX are only available on GNU/Linux.  This change introduces a
header file that maps these functions to the ones available on MacOS X.
2014-12-01 21:27:27 +01:00
ptrkrysik 8db1561f9a Removed a debug message that was left accidently. 2014-11-21 16:32:17 +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 d85d460c62 Commenting files included for debugging. Fixed #2 issue. 2014-11-13 10:11:53 +01:00
ptrkrysik 6f6d46db01 Corrected frame number 2014-11-12 22:50:18 +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 6bb450daca Merge branch 'master' of github.com:Jakotako/gr-gsm 2014-10-30 09:05:30 +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 7f61c6440c Changes in control channels decoder to output messages in PDU format - when connected to Socket PDU the messages can be dissected with Wireshark now. The information in the header might be not complete/fully correct at this moment (no SNR, power measurements, channel type statically set to BCCH). 2014-10-30 08:57:27 +01:00
Piotr K 66bb3cdc31 Changed directory structure.
Corrected clock_offset_corrector (for some streange and yet unknown reason fractional resampler eats strem tags for some values of sps).
(this commit may contain some changes that are not described)
2014-08-13 19:04:57 +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 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