Andre Puschmann
cbc0b43621
lib,radio,rf: fix printf arguments
3 years ago
Ismael Gomez
be5c3afc51
radio: fix invalid mapping of multiple channels to multiple devices
3 years ago
Robert Falkenberg
50ac1c6c0a
cmake: flag install() of compiled targets as OPTIONAL
...
This enables `make install` for partial builds of selected targets,
which otherwise fails because the omitted targets are not present.
3 years ago
Robert Falkenberg
57f84d4ca4
Radio: add support for file-based RF device abstraction
3 years ago
Robert Falkenberg
767d5390f9
benchmark_radio: don't join plot_thread if not requested
3 years ago
faluco
90d21f8426
Fix invalid log line formatting.
3 years ago
Andre Puschmann
229b1eef21
radio,test: fix Coverity warning about dead code
...
add default in switch instead of using the the END state directly
that is checked before entering the switch. Coverity correctly
reports this as dead code.
3 years ago
Ismael Gomez
d972fb368c
Some LGTM fixes ( #3564 )
...
* Fix LGTM issues
* ue: add logging to switch on function
* Fix new LGTM issues
3 years ago
faluco
dc31fb05a3
Fix ODR issue detected by ASAN in arch for the srsran_verbose global variable.
3 years ago
Xavier Arteaga
322f57a952
Initial real-time Tx gain setting ( #2976 )
...
* Make filename const in filesink
* Sine generation returns the next phase
* Avoid malloc/free in radio class
* Implement Tx gain in ZMQ
* Initial ratio RT gain test
* UHD: use timed Tx gain commands to align changes to subframes
* Minor improvement in test_radio_rt_gain
* Fix compilation
* Check RF gain thread id before joining
* Remove redundant zero initialization.
Co-authored-by: Fabian Eckermann <fabian@srs.io>
3 years ago
Ismael Gomez
bf566fbd29
radio: protect concurrent access from tx_end and tx
3 years ago
Xavier Arteaga
a9904c2b64
Fix info format string
3 years ago
Xavier Arteaga
e2facef540
Abort radio application if decimation/interpolation ratios are not integer
3 years ago
Xavier Arteaga
562fd1b4d4
Fix segfault
4 years ago
Andre Puschmann
ff5fe5df14
rf_uhd_imp: fix race in RF metrics
4 years ago
Xavier Arteaga
480f1b14fe
Protect Radio from null phy
4 years ago
Andre Puschmann
f823340a95
rf_imp: fix race when stopping gain thread
...
detected with TSAN using benchmark_radio test
4 years ago
Xavier Arteaga
d329297151
Implement radio invalid mapping countermeasure
4 years ago
Xavier Arteaga
3c93d5ba43
Fix carrier mapping concurrency issue
4 years ago
Codebot
4523ee6087
rename srsLTE to srsRAN
4 years ago
Xavier Arteaga
a8b5b8efa1
UHD: stability improvements
4 years ago
Xavier Arteaga
f3c0360842
Applied aesthetical changes
4 years ago
Xavier Arteaga
1463b11bad
Fix compilation
4 years ago
Xavier Arteaga
be8e8cbe3e
Fix radio decimation Rx stream stall
4 years ago
Francisco
3e9f93eb8a
refactor - remove old log_filter and logmap libraries from the codebase
4 years ago
faluco
173dcdd421
- Import latest srslog version.
...
- Remove string allocs in some log lines in radio.cc.
Add new tracing buffer capcity options into srsenb and srsue.
Add missing file.
4 years ago
Xavier Arteaga
b8b27709b9
Radio: implement resampling buffer protection
4 years ago
faluco
62fcf04083
Ported the all radio classes to use srslog.
4 years ago
faluco
9d15a44c73
Port lib/phy to srslog ( #2298 )
...
* - Ported the channel class to srslog.
- Removed all newlines of log messages in lib/phy.
* Remove more newlines that use the C debug macros.
4 years ago
Andre Puschmann
07d2bc4fe8
change license header to agnostic version with hint to root LICENSE file
4 years ago
Andre Puschmann
1b97ba5300
benchmark_radio: fix duration and thread priority
...
I noticed that the app didn't configure the process with
RT thread prio. But it then turned out that in order to do
that we need to actually spawn a new thread. Also a few other things
didn't work out of the box.
In summary the changes are:
* fix duration to support more than 120s
* move main functionality in thread
* set high priority for radio thread
* only return success if no radio errors occured
4 years ago
Xavier Arteaga
eba20b6367
Radio: fix frame overlap at start-of-burst
4 years ago
Andre Puschmann
5e7de0a95b
cmake: install individual libraries (common, phy, etc)
...
this seems to be important for package maintainers
or people who use srslte components in other projects
thar require to link against static libs
so besides installing headers, the apps and the RF lib, we also
install all individual libraries
this fixes https://github.com/srsLTE/srsLTE/issues/500#
and https://github.com/softwareradiosystems/srsLTE/issues/1754
4 years ago
faluco
dfeed52514
- Rename out_stream function to console.
4 years ago
faluco
62faef7c71
- Replaced all uses of the log::console method.
4 years ago
Xavier Arteaga
eb5210dbda
Radio stops Rx stream prior to stop and benchmark prompts RF metrics
4 years ago
Xavier Arteaga
de0501cc55
Fix radio benchmark
4 years ago
Ismael Gomez
1bd3e76f98
Move unncessary buffer in radio
4 years ago
Xavier Arteaga
080543815f
Solved compilation warnings and enb_phy_test stop
4 years ago
Xavier Arteaga
df2c949417
Radio: add individual Rx gain and integrate in srsue
...
Fix compilation
Fix compilation
Add missing variable. Wasn't compiling
Radio: revert some changes
4 years ago
Xavier Arteaga
b3d66c98c3
SRSENB: tx gain per channel and fix bug
4 years ago
Andre Puschmann
c327a18f59
radio: fix memleak of dummy buffers
4 years ago
Xavier Arteaga
7bad21c30a
Radio: added locks to protect sample rate change concurrent access
4 years ago
Xavier Arteaga
029f36b449
srsLTE: added efficient integer resampler and srsue/srsenb integration
4 years ago
Andre Puschmann
8e44d0504c
radio: fix device mapping for mimo
...
commit #51c6e8d1 introduced a regression in which the 2nd antenna
port was never considered. All MIMO ZMQ based tests therefore failed.
this fixes #1608
4 years ago
Andre Puschmann
d5da4bd8b6
radio: fix printf for 32bit
4 years ago
Xavier Arteaga
774c0926a6
UHD: added device args for log level, spp and return if timeout
5 years ago
Xavier Arteaga
2271aec6b2
Radio: remove trace
5 years ago
Xavier Arteaga
a5fefbfdd3
Radio: fix possible overflow
5 years ago
Xavier Arteaga
51c6e8d1a6
Radio: channel map includes device mapping, unmapped Rx uses dummy buffers
5 years ago