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
8376111419
- LGTM fixes.
4 years ago
Xavier Arteaga
caf37b8e62
Added serving cell index in UCI/CSI report trace
4 years ago
Douglas Anderson
fe21b2717c
Fix "Comparison is always true because ret >= 0" LGTM warnings
...
... and refactor out some other dead code in the vacinity of these warnings
4 years ago
Andre Puschmann
1a03839f78
rlc_am_lte: fix potential bug when setting uint32_t to -1
...
discovered in Coverity CID 359664
4 years ago
Andre Puschmann
5a31c5765b
rf_soapy: fix auto selection of Soapy device
...
when the default RF args are used, NULL is passed as argument
to the RF driver. In this case, we should use the previous
SoapySDRDevice_enumerate() and let Soapy pick the device
4 years ago
Xavier Arteaga
ca6566ad46
Fix PUCCH format1b false detection
4 years ago
Pedro Alvarez
b43e724b4c
Remove packing/unpacking code for M2AP.
4 years ago
Jan Remeš
8c7b7cc55a
libsrslte_rf: add library version
...
This patch adds version string to the 'libsrslte_rf' library.
This results in the library being built as
libsrslte_rf.so.20.04.2
with the following symbolic links
libsrslte_rf.so.0 -> libsrslte_rf.so.20.04.2
libsrslte_rf.so -> libsrslte_rf.so.0
The SRSLTE_SOVERSION variable should be increased with each backwards
incompatible change of the library.
Signed-off-by: Jan Remes <jan.remes@invasys.com>
4 years ago
yagoda
615af5cc4d
setting seed to constant in prach test
4 years ago
Andre Puschmann
b08a586fd4
pdu: refactor error logging
...
just some refactoring of error messages when a PDU packing error occurs
4 years ago
faluco
693d2f10b7
- Fix hex dumps newlines.
4 years ago
Pedro Alvarez
2f0125ef4e
Fix issue recovering key state, when the first HO fails (specifically, is_first_ncc was not recovered). Minor improvements in key logging.
4 years ago
faluco
079ae70e64
- Fix logs entries having two newlines instead of one. The old log formatter will delegate this to the new one.
4 years ago
Andre Puschmann
f73fa47a7b
pdu: fix printing of buffer state of long BSR
...
extracted wrong number of bits for 2nd LCID in long BSR
4 years ago
Xavier Arteaga
ef9d77c966
SRSUE: add PRACH config present field in PHY configuration structure
4 years ago
faluco
51b27fc255
Import latest srslog version ( #1796 )
...
* - Import latest srslog version.
- Adjusted the nas_test to create logs correctly.
- Remove timestamp formatting now that is provided by srslog.
4 years ago
Ismael Gomez
4e88daae21
Set DCI unpacking errors to info ( #1781 )
4 years ago
faluco
85544bb8d3
- Remove unnecessary newline character and optimize the code to use fputs instead of fprintf since no formatting is required.
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
faluco
302f9793ca
- Add common utils to print to stdout and stderr as a first step to remove the log::console method.
4 years ago
Andre Puschmann
795db30338
pdcp: drop PDCP control PDUs
...
this patch adds a check to drop all PDCP control PDUs
in order to prevent handling them as data PDUs.
This could happen when the size exceeded the arbitrary length check.
This should fix #1787
4 years ago
Xavier Arteaga
d375e305ec
Initial NR DMRS for PDSCH
4 years ago
Ismael Gomez
76bfc78147
Fix issues with Sounding-RS ( #1761 )
...
* Fix deadlock caused by update_measurements calling in_sync
* Fix overlapping SRS condition
* Do not use shortened PUSCH in transmissions and retx from RAR
* Revert "Fix deadlock caused by update_measurements calling in_sync"
This reverts commit f58c8c8c766f8f95baa3a3bf8287d8e25b2057ba.
4 years ago
Ismael Gomez
b94d24ed98
Take into account CRS from neigbhour cells when measuring interference ( #1757 )
...
* Take into account CRS from neigbhour cells when measuring interference
* fix std::isnormal compilation
* Fixed compilation of test
* Address comments
* Remove unused overrides
4 years ago
Xavier Arteaga
236ef4378d
Fix u32 parsing
4 years ago
Xavier Arteaga
ede58319ae
Vector: added conjugate complex float to short
4 years ago
Xavier Arteaga
8566cbb079
Added device name to prach_test_usrp
4 years ago
Xavier Arteaga
60d563aa06
Fix ringbuffer read conversion
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
Xavier Arteaga
c20d4ff5cc
Added ringbuffer zerocopy a timeout
4 years ago
Xavier Arteaga
759719ad55
Improved RF helper
4 years ago
faluco
f0d651ae8e
- Fixed a leak in the MME class not releasing the static byte buffer pool.
...
- Now the pool gets destroyed on program exit using a unique_ptr.
- Removed manual cleanup() calls in all the code base to free the pool instance.
4 years ago
faluco
b892da0294
- Calculate the FFT of the PRACH on demand.
...
- Fixed a PRACH test that was failing with ASAN.
4 years ago
Xavier Arteaga
8cb3945886
SRSUE: fix RV assertion for PUSCH
4 years ago
Xavier Arteaga
44c2412be2
SRSUE: silent PUSCH encoding error by dropping invalid grant
4 years ago
Andre Puschmann
9dd02af15c
network_utils: lower verbosity of when socket connection fails
...
the network helper can log this event but it should be up to
the caller to decide whether this is an error or not.
4 years ago
Andre Puschmann
33c050791f
pdu: add missing to_string() content for MAC SCH PDU subheaders
...
* add both scell activation CE
* add rnti to CRNTI and CONT RES CE
4 years ago
Xavier Arteaga
1d71cf8557
Avoid zero division
4 years ago
faluco
1860006203
- Fixed leaks in prach module spotted by asan.
4 years ago
yagoda
24574caf44
cleaning up the PRACH time offset calculation
4 years ago
yagoda
b5a8d82058
-adding more prach tests to make test, removing some variables from stack
...
-PRACH time offset to TA unit conversion
4 years ago
yagoda
59082770d3
moving some arrays to the heap, fixing formatting, setting dft norm
4 years ago
yagoda
f6ea431555
-adopting new PRACH equalization approach for successive cancellation
...
-adding frequency domain time offset detection
-adding to testing of PRACH
4 years ago
yagoda
ec7873e7cc
refactoring PRACH, adding phase correction to successive cancellation
4 years ago
yagoda
4d8888aae6
- adding simple successive cancellation to PRACH detection
...
- adding testing for same and for offset detection
4 years ago
Ismael Gomez
1bd3e76f98
Move unncessary buffer in radio
4 years ago
Ismael Gomez
c4080e35cc
Set different timestamp behaviour for X300 and B200
4 years ago