56 Commits (51e4711bc4b68719999f4e753d5910f9149aaac4)

Author SHA1 Message Date
Andre Puschmann 403c5d1cbe examples: fix compile error when using float value for abs()
./lib/examples/npdsch_enodeb.c:509:11: error: using integer absolute value function 'abs' when argument is of floating point type [-Werror,-Wabsolute-value]
      if (abs(srate - srate_rf) > MAX_SRATE_DELTA) {
2 years ago
Nick Hall 3abf9f8e0b Fix for Pluto AD9363 sample rate delta 2 years ago
Joaquim Broquetas 520128162e
Add CFR to srsue LTE UL (#3865)
lte,phy: Add CFR to srsue LTE UL

This commit adds the configuration steps needed to enable
and configure the CFR module for the srsue's uplink signal.
Parsing of the CFR manual threshold has been streamlined.
3 years ago
Joaquim Broquetas b2075673e5
Crest Factor Reduction feature for the phy layer (#3720)
* Add CFR module to the phy lib

* Add dynamic threshold with PAPR estimation

* Add a CFR unit test, CFR module improvements and refactoring.
Swap the gain normalization before the CFR.

* Add CFR config interface to srsenb

* Add CFR support to pdsch_enodeb

* Add DL PAPR measurement to eNB.

Co-authored-by: Cristian Balint <cristian.balint@gmail.com>

* Add test coverage to srsran_vec_gen_clip_env
3 years ago
dvdgrgrtt a69fb1d50f ch_awgn: Improve API
The API of functions srsran_ch_awgn_X was causing confusion between
noise variance and standard deviation. Also, in the complex-valued case,
the noise variance did not take into account the fact that the signal is
two-dimensional.

All uses of these functions are modified accordingly.
3 years ago
faluco dc31fb05a3 Fix ODR issue detected by ASAN in arch for the srsran_verbose global variable. 3 years ago
yagoda 9501283c1c fixing support for extended Cyclic Prefix
small cosmetic fixes of CP code
4 years ago
Codebot 4523ee6087 rename srsLTE to srsRAN 4 years ago
Xavier Arteaga 1e55d68b55 Removed set RNTI from API 4 years ago
faluco 6545df6681 Removed new lines in log macros in all example apps. 4 years ago
Andre Puschmann 07d2bc4fe8 change license header to agnostic version with hint to root LICENSE file 4 years ago
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
4 years ago
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
4 years ago
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
5 years ago
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()
5 years ago
Andre Puschmann dd04f45ca0 rename global rf object in examples to radio
LGTM complains about global variables with short names (foo)
5 years ago
Xavier Arteaga 77d5dedddc Fix LGTM warnings and recommendations 5 years ago
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.
5 years ago
Xavier Arteaga 9a2b0b7cc7 Standard vector allocation uses vector library 5 years ago
Xavier Arteaga e832769ae6 Updated copyright 5 years ago
Andre Puschmann 476f970ee1 replace FIXME with TODO 5 years ago
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
5 years ago
Ismael Gomez 2dbbd8b466 Minor esthetic changes 5 years ago
Xavier Arteaga 6d896ee453 Fixed more static code analysis warnings 5 years ago
Xavier Arteaga b48bb0d754 Removed atof, atoll and atoi calls 5 years ago
Xavier Arteaga 8dd1c59e18 Added amplitude and power conversions to dB and viceversa 5 years ago
Xavier Arteaga db5a21e659 Remove set_master_clock_rate from PHY RF API 5 years ago
Robert Falkenberg c75f314c3f Fixed incorrect DCI location assignment in pdsch_enodeb.c example 5 years ago
Andre Puschmann e0bd7f156d replace remaining warning macros with pragma message 6 years ago
Guillem Foreman db4127ca64 Fixes 256QAM, added pdsch table 2, fixed warnings 6 years ago
Andre Puschmann 4b01a2e4a0 update copyright notice 6 years ago
Ismael Gomez 7780b1aba5 add tdd/ca support 6 years ago
Andre Puschmann ef544e64c2 expose RF device as paramter for pdsch_enodeb/_ue 6 years ago
yagoda 2acf282a8b adding fixes to embms channel estimation 6 years ago
Pedro Alvarez 788dc7bd7a Fixed compilation issues introduced from the changes in the crash_handler. 7 years ago
Pedro Alvarez 7aaa9a1789 Moved srslte_debug_handle_crash to common/debug.c 7 years ago
yagoda 326f987a14 small fix in the power levels in pdsch_enodeb 7 years ago
yagoda 54bdfd83ec adding support for mbsfn subframe configuration to pdsch examples 7 years ago
yagoda e4c3f0bc30 adding mbms-gw and mch generation tables 7 years ago
yagoda 9d7d6c9415 adding adaptations to the phy layer for mbms 7 years ago
Xavier Arteaga a2129601df Noise level in MIMO is not divided by number of antennas 7 years ago
Ismael Gomez 2347fe0e6f Fixed incorrect DCI location bug. Make all calls to regs/pdcch atomic w.r.t. the CFI 7 years ago
Andre Puschmann 07cd9ae528 fix coverity issues 7 years ago
Xavier Arteaga 10fc1855d6 Fixed Coverity INFO/DEBUG messages with too many arguments and a few more 7 years ago
Andre Puschmann 8da4373d30 fix various coverity bugs 7 years ago
yagoda 23afd44a7d modifications to enable phy lib logging 7 years ago
yagoda 1b1301101c adding support for phy(C level) logging to file 7 years ago
Xavier Arteaga 176dae270c Fixes #105. Added backtrace print in 'srsLTE.backtrace.crash' 7 years ago
Ismael Gomez 1d095b006a Removed unused nof_tb variable 7 years ago
Xavier Arteaga c8bba2f4d0 DFT optimization. memcpy removal (#76)
* Solved PHICH Segmentation fault for MIMO

* Initial Guru FFT optimitzation

* Guru (i)FFT implemented. All test passed!

* Integrated new DFT into pdsch_enodeb and pdsch_ue. Solved more DFT bugs.

* Solved Merge Errors and bugs

* Solved UL Guru bug (DC missing). Updated Init and OFDM calls for enb and ue (cell measurement too).
7 years ago