Appleman4321
a60589b8ef
Fixed duplicate code and comments
2 years ago
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
Andre Puschmann
225a7741b3
pssch_ue: fix uninitialized variables
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
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
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
edf0926a2f
Batch of LGTM fixes.
3 years ago
faluco
dc31fb05a3
Fix ODR issue detected by ASAN in arch for the srsran_verbose global variable.
3 years ago
David Rupprecht
85d7a851fb
Added 5G NAS PCAP support
4 years ago
yagoda
9501283c1c
fixing support for extended Cyclic Prefix
...
small cosmetic fixes of CP code
4 years ago
Xavier Arteaga
b6fa82bf9a
Fix more static analysis warnings
4 years ago
Andre Puschmann
ff53d2b8b8
all: set of trivial changes reported by LGTM
...
mainly fixmes, unused/empty code, etc.
4 years ago
herlesupreeth
aff9091ad3
Make use of RF device passed as argument
4 years ago
herlesupreeth
00a7d3a4cd
Add option to provide RF device to use for cell search
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
ef19b1a9bd
fix various uninit vars detected by cppcheck
...
non-critical fixes in tests mostly, still good to have those clean
4 years ago
Andre Puschmann
07d2bc4fe8
change license header to agnostic version with hint to root LICENSE file
4 years ago
Andre Puschmann
d014a89cfb
pdsch_ue: enable EVM measurements for PDSCH
...
enable EVM measurements by default and print them in to stdout.
This is very useful for manual receiver calibration with the
PDSCH eNB example.
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
Francisco Paisana
510959b50f
update nr asn1 files, and asn1 tests
4 years ago
Xavier Arteaga
21e9a3958f
Minor changes
4 years ago
Xavier Arteaga
74fde5597f
PDSCH_UE: added synchronization error to console
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
ff508a2c6b
npdsch_ue: add rf_dev param and make remove samp rate check
...
the remove of the samp rate check was needed on the PlutoSDR
because the result would not be the exact value that was
asked for
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
14143f8560
pssch_ue: fix memory leaks and operation with RF
...
- add missing free's for ofdm and chest objects
- fix sf_idx setting
- add getchar() when plotting from file to observe output
5 years ago
Andre Puschmann
52799192ab
pssch_ue: fix uninit var
5 years ago
faluco
7ff251f112
- Fixed warnings caught by Clang 9.0.0
5 years ago
Andre Puschmann
e3e3848210
cell_search_nbiot: show DL frequency in MHz
5 years ago
Andre Puschmann
f5d55847c2
nbiot: add r14 parameter to NPDSCH eNB and file test and make it the default
...
also add skip SIB2 option to UE example
5 years ago
Xavier Arteaga
d94078d543
Minor changes
...
Fix UE sequence generation
minor change
5 years ago
Andre Puschmann
f4f7210c56
pssch_ue: LGTM fixes
5 years ago
Andre Puschmann
68a1868c33
npdsch_{ue,enodeb}: few more LGTM fixes
5 years ago
Xavier Arteaga
9d0a3268e8
Added DL channel estimator algorithm options
5 years ago
Andre Puschmann
1a8bb82c0f
pssch_ue: fix compile issue on gcc 9.3
...
gcc 9.3 complained about incompatible pointer type
5 years ago
Andre Puschmann
edd6e881e3
pssch_ue: fix use of uninit var
5 years ago
Andre Puschmann
0fdb5f0114
nbiot_examples_tests: make npdsch_ue tests depend on npdsch_enodeb
...
this fixes issue with CTest in parallel mode where npdsch_ue
test would run before the input file was even created
5 years ago
Andre Puschmann
8d52343c72
pssch: address review comments
5 years ago
Andre Puschmann
7355bc499e
pssch_ue: add support for PCAP and reading from file
5 years ago
luis_pereira87
baf0ad5bf4
PSSCH implementation
5 years ago
Andre Puschmann
9132446e6b
npdsch_ue: rename global variables
5 years ago
Andre Puschmann
e52577ecd3
npdsch_enodeb: rename too short global variable
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
89dcd6339f
More LGTM fixes
5 years ago
Xavier Arteaga
77d5dedddc
Fix LGTM warnings and recommendations
5 years ago