Commit Graph

104 Commits

Author SHA1 Message Date
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
Andre Puschmann 2deaab8ded fix synch_file example to work with sample rates other than 1.92 2019-10-01 16:54:42 +02:00
David Rupprecht f9a668861a Fixed USRP capture sync due to missing channel ptr 2019-09-23 14:36:08 +02:00
Xavier Arteaga 8e17aba5d8 Improved SSS decoding and improved scell_search_test 2019-09-20 16:20:31 +02:00
Xavier Arteaga db5a21e659 Remove set_master_clock_rate from PHY RF API 2019-09-20 15:43:07 +02:00
Andre Puschmann a2ab043c0d fix memleaks and uninitialized vars found by cppcheck 2019-09-20 10:55:29 +02:00
Ismael Gomez bfddc55148
RRC-PHY interface (#639)
RRC-PHY interface refactor. Moved RRC-MAC interface to rrc_asn1_utils and created RRC-PHY interface also in rrc_asn1_utils. All ASN1 includes should be made from rrc_asn1_utils only keeping ue_interfaces clean of ASN1

Tested with different common and dedicated configurations (64QAM UL, 256QAM, CA, SRS enabled/disabled, etc)
2019-09-04 16:59:10 +02:00
Robert Falkenberg c75f314c3f Fixed incorrect DCI location assignment in pdsch_enodeb.c example 2019-08-29 20:49:16 +02:00
Andre Puschmann e0bd7f156d replace remaining warning macros with pragma message 2019-07-23 15:38:21 +02:00
Ismael Gomez 126f2efb5c
Radio and UHD fixes to avoid changing master clock rate and fixes X300 (#589)
* Fixes X300 MIMO

* Do not change sampling rate and calibrate time_adv_nsamples for b210
2019-07-16 18:22:09 +02:00
Guillem Foreman eab73829f6 Changes requested 2019-07-12 14:11:26 +02:00
Guillem Foreman db4127ca64 Fixes 256QAM, added pdsch table 2, fixed warnings 2019-07-04 15:49:43 +02:00
Ismael Gomez b31b668a8e Remove unnecessary find_package(GUI) 2019-06-04 13:31:31 +02:00
Andre Puschmann 4b01a2e4a0 update copyright notice 2019-04-29 09:20:02 +02:00
Ismael Gomez 7780b1aba5 add tdd/ca support 2019-04-25 20:57:58 +02:00
Andre Puschmann ef544e64c2 expose RF device as paramter for pdsch_enodeb/_ue 2019-01-31 15:31:33 +01:00
Andre Puschmann bdbdef41c0 fix compiler warning in pdsch_ue 2018-12-18 11:53:16 +01:00
yagoda 2acf282a8b adding fixes to embms channel estimation 2018-11-28 14:14:40 +01:00
Ismael Gomez 9e0d7281f5 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-07-16 15:17:07 +02:00
Ismael Gomez fda4c39590 pdsch_ue RSRP in dBm. Fix default rx_gain_offset in ue.conf differs from code 2018-07-16 15:16:52 +02:00
Pedro Alvarez 788dc7bd7a Fixed compilation issues introduced from the changes in the crash_handler. 2018-07-13 19:17:59 +01:00
Pedro Alvarez 597cf18b9d Changing common/debug.h to crash_handler.h 2018-07-13 11:57:15 +01:00
Pedro Alvarez 7aaa9a1789 Moved srslte_debug_handle_crash to common/debug.c 2018-07-09 14:33:50 +01:00
jctallon 50589108c6 Mbms fixes (#225)
* fixing the threading structure for mbms in the gtpu

fixing some leaks in pmch tests

fixing stack overflow caused by radio objext

* adding sib.conf.mbsfn.example

* creating a different thread_mch object for the gtpu

* Make mch_thread an isolated class

* excluding mbsfn subframes from noise estimation and cfo estimation

* fixing pdsch ue plotting to only show pmch constellation when mbsfn is activated.
2018-07-02 17:51:09 +02:00
Xavier Arteaga 22c0a67b97 Fixed minor issues 2018-06-25 14:57:11 +02:00
Xavier Arteaga 301415a00a Fixed AGC out of bounds gain 2018-06-11 13:14:47 +02:00
yagoda 326f987a14 small fix in the power levels in pdsch_enodeb 2018-06-01 12:49:36 +02:00
yagoda 9e8b68821c small cmake fix for disable_rf case 2018-05-28 16:13:10 +02:00
yagoda 54bdfd83ec adding support for mbsfn subframe configuration to pdsch examples 2018-05-22 16:03:25 +02:00
yagoda e4c3f0bc30 adding mbms-gw and mch generation tables 2018-05-15 17:27:10 +02:00
yagoda 9d7d6c9415 adding adaptations to the phy layer for mbms 2018-05-15 16:13:03 +02:00
Joseph Giovatto ab1d9e98f3 Format and typelimit warnings (#169)
* merge with origin 4fc7dbc3 8daa8346

* fixed whitespace diff

* added .gitignore

* added format warning flags to C_FLAGS
added typelimit check to C_FLAGS and CXX_CLAGS

* Revert "added format warning flags to C_FLAGS"

Apply to branch format_and_typelimt branch

This reverts commit bf7467e82ec7b056ad06dc50cc964fcce18be99b.

* check for format warnings to top level C_FLAGS
added typelimit warnings to top level C_FLAGS and CXX_FLAGS
beset effort attempt to remedy warnings
removed unused param names in hex_log baseclass methods due to multitude of unused-warnings
2018-04-29 17:26:35 +02:00
Ismael Gomez c574b8d8a4 Missed change during merge 2018-03-19 14:21:17 +01:00