Commit Graph

136 Commits

Author SHA1 Message Date
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
Andre Puschmann 8bec22ff11 fixed naming for ue_sync_nbiot 2019-12-10 16:53:44 +01:00
Andre Puschmann 447f71b8c9 fix compilation of zmq_remote_rx 2019-12-10 16:53:44 +01:00
Andre Puschmann 4dbbcaa668 add cell search and USRP capture examples for NB-IoT 2019-12-10 16:53:44 +01:00
Xavier Arteaga a51d989e2e Fixed static analysis float/double conversion 2019-12-05 09:41:12 +01:00
Ismael Gomez f7e6da050e
Adds PUB/SUB model to ZMQ and option to use sc16 sample type over the socket (#815)
* Adds PUB/SUB model to ZMQ and option to use sc16 sample type over the socket. Adds example application for remote RX RF head using ZMQ

* Addressed comments and other bugs

* Removed atoi atof
2019-12-03 09:57:12 +01:00
Ismael Gomez 2dbbd8b466 Minor esthetic changes 2019-12-02 17:51:09 +01:00
Xavier Arteaga 6d896ee453 Fixed more static code analysis warnings 2019-12-02 09:47:22 +01:00
Xavier Arteaga b48bb0d754 Removed atof, atoll and atoi calls 2019-12-02 09:47:22 +01:00
Xavier Arteaga 8dd1c59e18 Added amplitude and power conversions to dB and viceversa 2019-12-02 09:47:22 +01:00
Andre Puschmann 3e4bbbda5c fix PSS threshold value in cell_search 2019-10-01 16:54:42 +02:00