Commit Graph

146 Commits

Author SHA1 Message Date
faluco 6545df6681 Removed new lines in log macros in all example apps. 2021-02-11 12:01:13 +01:00
Andre Puschmann ef19b1a9bd fix various uninit vars detected by cppcheck
non-critical fixes in tests mostly, still good to have those clean
2020-12-12 15:59:26 +01:00
Andre Puschmann 07d2bc4fe8 change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
Andre Puschmann d014a89cfb pdsch_ue: enable EVM measurements for PDSCH
enable EVM measurements by default and print them in to stdout.
This is very useful for manual receiver calibration with the
PDSCH eNB example.
2020-12-12 15:59:25 +01:00
Andre Puschmann cfee074756 pdsch_enodeb: add tx gain control over page-up/down keys
this allows to modify the tx gain of a running pdsch_enodeb
with the page-up/down keys in 1dB steps
2020-12-12 15:59:25 +01:00
Andre Puschmann 382f56fbea pdsch_{ue,enodeb}: add -Q switch to enable use of standard LTE rates
this is useful for RF equipment that doesn't support the shorter symbol
size we use by default, e.g. the N310
2020-12-12 15:59:25 +01:00
Francisco Paisana 510959b50f update nr asn1 files, and asn1 tests 2020-12-12 15:58:32 +01:00
Xavier Arteaga 21e9a3958f Minor changes 2020-07-28 09:31:34 +02:00
Xavier Arteaga 74fde5597f PDSCH_UE: added synchronization error to console 2020-07-28 09:31:34 +02:00
Ismael Gomez 29e126a583
Add per-channel TX gain (#1450)
* Change type of rf_set_gain() to avoid unambiguous return with negative gains

* Add per-channel TX gain
2020-06-19 11:00:12 +02:00
Andre Puschmann ff508a2c6b npdsch_ue: add rf_dev param and make remove samp rate check
the remove of the samp rate check was needed on the PlutoSDR
because the result would not be the exact value that was
asked for
2020-05-28 14:17:20 +02:00
Andre Puschmann bdd97ca25f pdsch_enodeb: remove check in while-loop
this check is always true since the false case is caught
before and the application is closed()
2020-05-11 14:49:56 +02:00
Andre Puschmann 14143f8560 pssch_ue: fix memory leaks and operation with RF
- add missing free's for ofdm and chest objects
- fix sf_idx setting
- add getchar() when plotting from file to observe output
2020-05-08 14:33:12 +02:00
Andre Puschmann 52799192ab pssch_ue: fix uninit var 2020-05-07 19:53:10 +02:00
faluco 7ff251f112 - Fixed warnings caught by Clang 9.0.0 2020-05-07 10:10:24 +02:00
Andre Puschmann e3e3848210 cell_search_nbiot: show DL frequency in MHz 2020-05-04 17:52:21 +02:00
Andre Puschmann f5d55847c2 nbiot: add r14 parameter to NPDSCH eNB and file test and make it the default
also add skip SIB2 option to UE example
2020-05-04 17:52:21 +02:00
Xavier Arteaga d94078d543 Minor changes
Fix UE sequence generation

minor change
2020-05-01 21:07:33 +02:00
Andre Puschmann f4f7210c56 pssch_ue: LGTM fixes 2020-04-29 18:56:46 +02:00
Andre Puschmann 68a1868c33 npdsch_{ue,enodeb}: few more LGTM fixes 2020-04-29 18:56:46 +02:00
Xavier Arteaga 9d0a3268e8 Added DL channel estimator algorithm options 2020-04-28 17:26:01 +02:00
Andre Puschmann 1a8bb82c0f pssch_ue: fix compile issue on gcc 9.3
gcc 9.3 complained about incompatible pointer type
2020-04-28 15:26:45 +02:00
Andre Puschmann edd6e881e3 pssch_ue: fix use of uninit var 2020-04-28 10:55:03 +02:00
Andre Puschmann 0fdb5f0114 nbiot_examples_tests: make npdsch_ue tests depend on npdsch_enodeb
this fixes issue with CTest in parallel mode where npdsch_ue
test would run before the input file was even created
2020-04-27 22:38:51 +02:00
Andre Puschmann 8d52343c72 pssch: address review comments 2020-04-27 21:01:46 +02:00
Andre Puschmann 7355bc499e pssch_ue: add support for PCAP and reading from file 2020-04-27 21:01:46 +02:00
luis_pereira87 baf0ad5bf4 PSSCH implementation 2020-04-27 21:01:46 +02:00
Andre Puschmann 9132446e6b npdsch_ue: rename global variables 2020-04-27 21:00:36 +02:00
Andre Puschmann e52577ecd3 npdsch_enodeb: rename too short global variable 2020-04-27 21:00:36 +02:00
Andre Puschmann dd04f45ca0 rename global rf object in examples to radio
LGTM complains about global variables with short names (foo)
2020-04-27 21:00:36 +02:00
Xavier Arteaga 89dcd6339f More LGTM fixes 2020-04-22 18:01:43 +02:00
Xavier Arteaga 77d5dedddc Fix LGTM warnings and recommendations 2020-04-22 18:01:43 +02:00
Andre Puschmann 7587490c96 npdsch_ue: fix compilation on Ubuntu 16.04 2020-04-19 21:07:41 +02:00
Andre Puschmann ca8be29219 nbiot_ue: fix compile error 2020-04-19 12:03:51 +02:00
Andre Puschmann 0b756ac27d convert #warning macro to pragma to avoid compile error 2020-04-18 12:14:23 +02:00
Andre Puschmann c145d80547 nbiot: address review comments 2020-04-17 23:12:11 +02:00
Andre Puschmann 09ee7588b0 npdsch_ue: decode SIB1 and extract scheduling params for SIB2/3
also extend GUI and show JSON formated system information
2020-04-17 23:12:11 +02:00
Andre Puschmann e76e31e652 adding NB-IoT DL shared channel, UE DL object and PHY examples 2020-04-17 23:12:11 +02:00
Andre Puschmann 6dc9c8f26a fix compile error when RF is not enabled
void sig_int_handler(int signo) was declared in this case
but never used.
2020-04-15 13:42:26 +02:00
Tiago Alves 47145c18b7 sidelink: refactor channel estimation 2020-04-10 14:58:18 +02:00
Xavier Arteaga 9a2b0b7cc7 Standard vector allocation uses vector library 2020-04-02 20:49:58 +02:00
Xavier Arteaga e832769ae6 Updated copyright 2020-03-16 11:26:06 +01:00
Ismael Gomez 4e12405fff
Remove radio_multi class and organize channels, ports and carrier buffers (#1019) 2020-03-06 15:26:48 +01:00
Andre Puschmann 2e455908e8 fix issue compiling pssch_ue when RF driver wasn't found 2020-03-05 11:37:24 +01:00
Andre Puschmann e9e57153dc adding basic pssch_ue example 2020-03-03 16:22:51 +01:00
Andre Puschmann 8a33fde8e7 adding GPS sync support to USRP capture example 2020-02-10 20:25:54 +01:00
Andre Puschmann c7343cf6d8 protect sf_buffer from overrun in receive_samples
this patch adds a buffer len paramter to the receive_samples() call
that protects the (also) provided buffer from overflowing.

currently each call to srslte_ue_sync_zerocopy() which then calls receive_samples()
relies on a buffer that is "big enough". But that buffer is sometimes
2 subframes, sometimes 3 or 5, sometimes has space for the maximum PRB size, sometimes
only for 6 PRBs (i.e. during cell search).

By extending the interface to pass the buffer size we can make sure that
only samples are received that actually fit inside the provided buffer.
2020-02-07 10:21:30 +01:00
Xavier Arteaga c92dce71b7 srsLTE: AGC only uses boundaries for requesting gain to Radio 2019-12-23 22:57:37 +01:00
Andre Puschmann 476f970ee1 replace FIXME with TODO 2019-12-18 11:25:56 +01:00
Pedro Alvarez c5979f59eb Clang format UE, eNB and lib (#850)
* Clang-formated UE, eNB and lib.
* Fixed compiling errors from clang-format.
* Fix linking issues introduced by clang-format
* Fix poor formating in initializing arrays of arrays.
* Fix mistake in conflict resolution on rm_turbo.c
* Re-apply clang format to gtpc_ies.h
2019-12-16 16:04:22 +01:00