1735 Commits (637e7ce9fa9fb84ae6b1ee20a03e86b3772c90b5)

Author SHA1 Message Date
Piotr 894b449fca
io: use proper pointer type in filesink (#4105) 2 years ago
Robert Falkenberg ebefc73d0c rf: print the cause of failed RF plugins to stdout 2 years ago
Robert Falkenberg 7e7eceda15 ctest: Viterbi test skips 0dB for non AVX2 machines
The accuracy of the 8-bit implementation of the Viterbi decoder used on
non-AVX2 machines falls below the theoretical accuracy at 0dB.
2 years ago
Robert Falkenberg 06f2ab6d7c ctest: PDCCH test skips 100PRB for non AVX2 machines
The current 8-bit Viterbi decoder implementation for SSE (non-AVX2)
is not accurate enough to reliably decode all messages with a
code rate ~0.9 or higher, e.g. DCI format 2/2A messages in 100 PRB cell
at aggregation level 0.
2 years ago
Andre Puschmann 70eaec21e2 all: fix uninitialized variables detected by coverity 3 years ago
Andre Puschmann cbc0b43621 lib,radio,rf: fix printf arguments 3 years ago
Andre Puschmann 8505523928 ue,ue_sync: fix CP setting for find and track objects
move setting of CP for find and track objects further down
after the respective objects have been resized and updated
there frame_len, fft_size, etc. members.

Doing this too early cause a segfault with div by zero
because the values were all zero
3 years ago
Andre Puschmann 319a185eba phy_common_test: fix test when compiled with USE_LTE_RATES 3 years ago
Andre Puschmann 68695078f0 phy_common: add basic test for sample rate for different bandwidths 3 years ago
Ismael Gomez f83557b891 srsue,phy: use common pucch for msg3. Completed table for all pucch_common_idx values 3 years ago
Ismael Gomez 65dbac0bd3 srsenb,metrics: use epre for snr computation instead of rsrp 3 years ago
Ismael Gomez 2bbeef6068 srsgnb,metrics: add ul_pucch_ni metric and refactor rssi/epre nomenclature. Fix bug in rsrp_avg computation in pucch 3 years ago
Ismael Gomez cf647b1fd5 srsenb,metrics: add PUSCH/PUCCH RSSI metrics. Add bearer DL total data metric for RLC UM 3 years ago
Robert Falkenberg a5c61418d5 lib,rf_imp: load rf plugins when loading this library
This fixes race of concurrently loading the same plugins
when srsran_rf_open_devname is called by multiple threads

Plugins are now loaded when srsran_rf is loaded (for
shared lib) or right before main() (for static lib)
3 years ago
Xavier Arteaga f57cf0b195 PHY: Initial PUCCH default resource selection (hard-coded row index 11) 3 years ago
Xavier Arteaga 99d2cd068f PHY: Initial PUCCH Format 1 frequency hopping 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
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
Robert Falkenberg 7410182c64 srsran_rf: fix warning of mismatching expressions in if() and endif() 3 years ago
Robert Falkenberg 3daa43e732 srsran_rf: also build shared library when built without plugins 3 years ago
Robert Falkenberg e4d012388b phy,ctest: change anchor of relative paths used for test inputs
Use ${CMAKE_CURRENT_SOURCE_DIR} instead of ${CMAKE_HOME_DIRECTORY}
as anchor when specifying input files of tests.
Otherwise input files won't be found, when this project (srsRAN)
is not the root CMake project.
3 years ago
Robert Falkenberg e086479a7b srsran_rf: fix build without any active RF plugin 3 years ago
Robert Falkenberg 2dca581741 srsran_rf: only build each plugin when found AND enabled
Since [PLUGINNAME]_FOUND are cached variables, some plugins
were always built if they were found once, regardless if
the current value of ENABLE_[PLUGINNAME]
3 years ago
Robert Falkenberg 2570c2ce77 srsran_rf: cosmetic changes 3 years ago
Robert Falkenberg 3a73d84294 srsran_rf: support dynamic loading of RF plugins
This adds flexible plugin-like loading of the individual RF
implementations (zmq, uhd, soapy,...) as per availability at runtime.
Unlike before, the binary application is not terminated if the
dependencies of individual RF interfaces are not installed on the
executing system.  To do this, the plugins are not linked by the linker
at compile time, but opened at runtime via dlopen() and dropped in case
of failure due to missing dependencies.
3 years ago
Xavier Arteaga 8140e62a7f GNB-PHY: fix max PUSCH LDPC iterations 3 years ago
dvdgrgrtt 01ef334a24 lib,phy: Fix thresholds in Viterbi test
Under the NEON architecture, one of the BER thresholds was too tight.
3 years ago
Francisco Paisana e4a15c9c51 rrc,gnb: move non-phy fields out of phy_cell_nr_t 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
Robert Falkenberg 03bab82cd8 zmq: apply tx_gain to transmitted signal
This feature was temporary disabled in 497e183487
3 years ago
Robert Falkenberg 6b79116805 rf_file: close tx/rx files properly
Previously tests were failing on some machines, because
receiver was unable to receive the last few samples from file.
Reason: the transmitter did not close  the file properly, so
the last samples were (sometimes) not yet flushed to disk.
3 years ago
Robert Falkenberg c26f2b2041 rf_file: fix check for number of channels and cleanup after test 3 years ago
Robert Falkenberg f3d144dd59 filerf: add tx, multi-channel, open via device string and test
This commits extends the file-based RF device as follows:

* open device via device string
* add tx to file
* add multi-channel support (multiple files)
* add rf_file_test.c to for testing
3 years ago
Robert Falkenberg d3eca325f7 Add file-based RF device for rx from arbitrary FILE*
It comes with the following changes:

* Add RF frontend API function "srslte_rf_open_file()"
* Open file-based RF via explicit call of custom
  "rf_file_open_file()", instead of "srslte_rf_open_multi()"
  function pointer as for regular devices.
* Introduce device name "file"
* Introduce new SRSLTE_ERROR_RX_EOF error code
* ZMQ: make update_rates() static to resolve conflicts
3 years ago
Xavier Arteaga a74fdb84c9 Added SSB encode and decode from grid, plus unit test 3 years ago
dvdgrgrtt a630889d44 Fix AWGN in NR PUSCH performance test
Fix needed after modifying AWGN API.
3 years ago
dvdgrgrtt 3e85c3bed0 Improve coding style 3 years ago
dvdgrgrtt 69a7519cb7 Modify pusch_nr_bler_test user interface
The maximum number of simulated transport blocks is now a CLI parameter.
3 years ago
dvdgrgrtt b00b260605 Use copyright as file header 3 years ago
dvdgrgrtt bb767814fa Fix minor typo 3 years ago
dvdgrgrtt 442f95ee8b Document PUSCH NR BLER test 3 years ago
dvdgrgrtt 63899ef4bc Improve PUSCH NR BLER test output
When full BLER is enabled, the code also outputs false alarm and missed
detection probabilities.
3 years ago
dvdgrgrtt 6b0a3669cf Provide PUSCH BLER test
The new test measures BLER and received throughput for the PUSCH. For
now, only AWGN channel and perfect equalization are considered.
3 years ago
dvdgrgrtt 3fad800ef6 Fix various typos and minor issues
Some typos in the comments/error messages.
A couple of minor bugs (should not have any impact in the performance).
3 years ago
dvdgrgrtt 1390eeea88 sch_nr: Fix CRC-related bug
CRC failure was not reported correctly when the TB consists of a single
block.
3 years ago
Robert Falkenberg cceae68958 zmq: extend test to 4 trx, w/wo decimation 3 years ago
Robert Falkenberg b4bbbc902a zmq: fix scaling of samples when decimation is applied 3 years ago
Xavier Arteaga fbf178e958 Decrease PBCH-DMRS threshold to pass test 3 years ago
dvdgrgrtt cac62e01e0 Improve coding style 3 years ago
dvdgrgrtt 2df371fdd6 Provide PRACH NR performance test 3 years ago