Commit Graph

6196 Commits

Author SHA1 Message Date
Francisco Paisana a6c3144d92 remove extra byte from rrc dl_dcch and dl_ccch messages 2020-08-11 14:48:12 +01:00
Francisco Paisana 9d877e55b3 add test for when scope exit lambda is an lvalue 2020-08-10 17:23:43 +01:00
faluco 9e2a116e11 - Fix a missing template parameter in the constructor.
- Decay the type to the template.
- Switched member order to improve memory layout.
2020-08-10 17:23:43 +01:00
Francisco Paisana 0f67bee556 creation of a scope exit standalone file. Created a new folder ADT. Added test for scope exit. 2020-08-10 17:23:43 +01:00
Andre Puschmann 6c12728cc7 cmake: only add large function growth param when using gcc
the param is only available in gcc so we must not add it to the CFLAGS
when compiling with clang
2020-08-10 15:48:55 +02:00
Andre Puschmann fffff5e7bc cmake: increase function inlining limit
gcc sets the inlining limit a bit arbitrary and the default gcc
on the RPi2 seems to use a lower value so compiling the SIMD
extensions fails with an "inlining failed" error in
srslte_mat_2x2_mmse_csi_simd().

this patch increases the default value. even though its
increased for all platforms it shouldn't case issues on other
machines. the value isn't used by clang.
2020-08-10 11:27:29 +02:00
Andre Puschmann cb2d7f4c16 rf_uhd_generic: add explicit ctor and dtor
clang 6 complained about a missing virtual dtor and thus
failed compilation. this patch adds both, an explicit ctor and dtor.
2020-08-10 10:42:54 +02:00
Andre Puschmann 498af989bf rf_uhd: add missing endl to UHD log macros 2020-08-06 22:42:48 +02:00
Xavier Arteaga 46ab07123d UHD: fix compatibility with 3.9.7 LTS 2020-08-06 22:42:48 +02:00
faluco 0a01bd4e1b - Fix a race condition where the prach struct was being free while the prach worker was still running.
This could cause heap corruption making the enb_phy_test to fail sometimes.
2020-08-05 16:48:53 +02:00
Andre Puschmann 5867668c0c rf_uhd_rfnoc: fix compilation for UHD before 3.15
the enable_rx_timestamps() for the radio_ctrl object has only been
introduced in Nov 2019 for UHD 3.15 and therefore needs
to be excluded when compiling for 3.14 and below.

Note: According to the original UHD commit in
67dbaa41f2 (diff-60a9387c0fc8406fd5b39fa995dd8c14)
it looks like the Rx timestamps are disabled by default
for UHD versions before 3.15

This commit fixes #1602
2020-08-05 13:05:29 +02:00
faluco 51dc82a735 - Fix missing static tag in add_library, that could cause linker issues in srsenb. 2020-07-31 22:20:16 +02:00
faluco e5a792d508 - Fix unused variable. 2020-07-31 13:13:15 +02:00
Xavier Arteaga 0cd61145ca RFNOC: added optional FPGA FIFO 2020-07-31 13:11:10 +02:00
Xavier Arteaga 237de07ab3 UHD: disable AD936x based device reset 2020-07-31 13:11:10 +02:00
Xavier Arteaga ff8925b6ec UHD: use same timeout policy than previous release 2020-07-31 13:11:10 +02:00
Xavier Arteaga ac76a398fe UHD: Minor stability improvement 2020-07-31 13:11:10 +02:00
Xavier Arteaga d2abaaf719 UHD: add initial test for AD936x based devices during initialization 2020-07-31 13:11:10 +02:00
Xavier Arteaga f80c779d88 RFNOC: added DUC/DDC internal loopback option and test 2020-07-31 13:11:10 +02:00
Xavier Arteaga dcf05f7a53 UHD: Improved RFNOC 2020-07-31 13:11:10 +02:00
Xavier Arteaga 38d9545e99 UHD: API improvement 2020-07-31 13:11:10 +02:00
Xavier Arteaga 405e0c8195 UHD: Check if tree exist before requesting access 2020-07-31 13:11:10 +02:00
Xavier Arteaga 5d43fc903e UHD: fix SPP equal 0 2020-07-31 13:11:10 +02:00
Xavier Arteaga 774c0926a6 UHD: added device args for log level, spp and return if timeout 2020-07-31 13:11:10 +02:00
Xavier Arteaga 88a1ab12c5 UHD: Generic detects if it a AD9361, USB based device and resets if LIBUSB_TRANSFER_ERROR is detected 2020-07-31 13:11:10 +02:00
Xavier Arteaga 04a661d239 UHD: RFNOC class detects custom DDC and DUC 2020-07-31 13:11:10 +02:00
Xavier Arteaga 180fb42dc3 UHD: minor aesthetic corrections 2020-07-31 13:11:10 +02:00
Xavier Arteaga 0f24d510ac UHD: Fix RFNOC DDC frequency calculator 2020-07-31 13:11:10 +02:00
Xavier Arteaga ebf995c621 UHD: better RFNOC detection and configuration 2020-07-31 13:11:10 +02:00
Xavier Arteaga 0e360b3953 UHD: RFNOC Dynamic re-configuration 2020-07-31 13:11:10 +02:00
Xavier Arteaga d9cb51d261 UHD: Added custom DDC/DUC support
UHD: Aesthetic corrections

UHD: minor aesthetic changes
2020-07-31 13:11:10 +02:00
Xavier Arteaga e4a794fdbd UHD: Initial RFNOC implementation
UHD: Fix RFNOC for multiple carriers
2020-07-31 13:11:10 +02:00
faluco cfd3f51931
Import of srslog into srsepc and srsenb. (#1574)
* - Import of srslog into srsepc and srsenb.
* - Removed logger_file and logger_stdout files.
2020-07-30 19:17:23 +02:00
Xavier Arteaga 21e9a3958f Minor changes 2020-07-28 09:31:34 +02:00
Xavier Arteaga 202ec283ff SRSUE: fix erroneous code in MUX 2020-07-28 09:31:34 +02:00
Xavier Arteaga 2271aec6b2 Radio: remove trace 2020-07-28 09:31:34 +02:00
Xavier Arteaga a5fefbfdd3 Radio: fix possible overflow 2020-07-28 09:31:34 +02:00
Xavier Arteaga 4e1e8cea1a SRSUE: MAC HARQ entities vector is fixed 2020-07-28 09:31:34 +02:00
Xavier Arteaga 09af743361 SRSUE: minor PHY modfifications 2020-07-28 09:31:34 +02:00
Xavier Arteaga 51c6e8d1a6 Radio: channel map includes device mapping, unmapped Rx uses dummy buffers 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
Xavier Arteaga 55a208ede8 SRSENB: added PRACH worker plot 2020-07-28 09:31:34 +02:00
Xavier Arteaga a1a58507c1 SRSENB: Added eNb CC index to PRACH log trace 2020-07-28 09:31:34 +02:00
Xavier Arteaga edda1f730a srsLTE: Placeholder Band correction 2020-07-28 09:31:34 +02:00
Xavier Arteaga 443378adcb SRSENB: Add GUI window for every cell/carrier 2020-07-28 09:31:34 +02:00
Xavier Arteaga 0b02f8948c SRSUE: fix shadow variable 2020-07-28 09:31:34 +02:00
Xavier Arteaga d8eaa99132 Radio: do not use more radios than necessary 2020-07-28 09:31:34 +02:00
Xavier Arteaga bcc6c3e449 SRSENB: quit without initiating more components if radio fails to initiate 2020-07-28 09:31:34 +02:00
Xavier Arteaga 5258f27490 Fix start-of_burst for PRACH Test USRP 2020-07-28 09:31:34 +02:00
Ismael Gomez dda91b14f7 Remove duplicate add_rnti() function since already done in set_config 2020-07-27 17:58:06 +02:00