Xavier Arteaga
f21590735d
refactored FEC directories
4 years ago
Xavier Arteaga
7093a85f81
Refactored FEC directories
4 years ago
Xavier Arteaga
c2621cc4f8
Protect ring-buffer write from nullptr
4 years ago
Francisco Paisana
a865858db3
disable srbs UL during handover to avoid UL grants and scheduling requests before the handover is complete
4 years ago
Andre Puschmann
f647343f18
rlc_am: fix poll bit during header reconstruction
...
this makes sure that the reconstructed RLC AM header
has the poll bit set when any of its segments had it set.
this triggered a bug in RLC AM because the Status PDU
isn't transmitted for a RLC PDU that was segmented and
only the first segment had the P flag set.
4 years ago
Francisco Paisana
b40a5a958e
use common function to fill rrc reconf message in handover
4 years ago
Francisco Paisana
e9b693942f
diff-based cell selection activation
4 years ago
Francisco Paisana
836e7d7ede
refactor scell addition in the srsenb::rrc to follow the same style of other rrc recfg fields
4 years ago
Francisco Paisana
f26b5ccde7
fix drb reestablishment during handover
4 years ago
Francisco Paisana
97f2e4336e
refactor of functions for filling the asn1 radio resource config structs. This functions are used during rrc setup/reest/reconf
4 years ago
Xavier Arteaga
9487d27ef9
Renamed NR constants and comments
4 years ago
Xavier Arteaga
e8f168b20c
PDSCH NR: Added files
4 years ago
Xavier Arteaga
c8477483d9
PDSCH NR: Added files
4 years ago
Xavier Arteaga
30d8e05d50
Fix PDSCH-DMRS symbol index
4 years ago
Xavier Arteaga
275cbafe6e
Modified comments
4 years ago
Xavier Arteaga
8d34d344a8
Created PDSCH-NR configuration structures and refactored DMRS
4 years ago
Xavier Arteaga
009f300c5e
Initial PHY Data procedures
4 years ago
Xavier Arteaga
775692f461
Rearanged PDCCH NR functions structures
4 years ago
Xavier Arteaga
452eb2dbbf
Updated some DOCS
4 years ago
Xavier Arteaga
937c52339d
Added PDCCH DMRS estimation and measurement
4 years ago
Xavier Arteaga
5799100e42
FFT based Resampler admits NULL inputs/outputs
4 years ago
Xavier Arteaga
44ae70dcc6
Initial implementation of the 5G NR PDCCH DMRS encoding
4 years ago
Xavier Arteaga
29ad2427d9
Initial implementation of the 5G NR PDCCH DMRS encoding
4 years ago
Xavier Arteaga
579526f1fe
Added sequence advance without generating data
4 years ago
Xavier Arteaga
eba20b6367
Radio: fix frame overlap at start-of-burst
4 years ago
Xavier Arteaga
be400503b9
Add pass criteria to PRACH USRP test
4 years ago
Xavier Arteaga
28bb4709ff
Solved possible high impact PHY out-of-bounds issues
4 years ago
Pedro Alvarez
e4f143059e
Simple log fix to make it easier to compare PDCP RX and TX.
4 years ago
Xavier Arteaga
58be68f856
Changed cell gain command from cell index to cell id
4 years ago
Andre Puschmann
0740154bff
rrc,sync: fix two uninit vars
...
detected by Valgrind when running UE with TDD cell
4 years ago
Andre Puschmann
723ca2dd48
ra_dl: fix TDD reference symbol extraction
...
reported/provided by user softdev86 in https://github.com/srsLTE/srsLTE/issues/566
author tested with local 4 port cell. I am not able to verify locally but
it looks ok, we'll revise later if needed.
4 years ago
gracid
f67a152a2a
Remove unnecessary Lime calibration step from Soapy implementation
...
When using srsLTE with Lime devices, calibration was performed before any configuration steps have happened, thus making calibration values invalid. Removing Lime specific calibration step from rf_soapy_imp makes so that devices will be automatically calibrated by SoapyLMS on rf_soapy_start_stream call.
Tested and working with srsENB using LimeSDR-USB v1.4 and LimeSDR-Mini v1.2 boards.
4 years ago
gracid
78b63c9465
Set same antennas for all Soapy channels
...
This commit adresses an issue where two or more channels could have different antennas, despite being explicitly set in the configuration file
4 years ago
Francisco Paisana
4cb6ed27eb
updated scheduler ue mcs computation to account for new 256QAM tables
4 years ago
Francisco Paisana
c7697b62a6
fix asn1_utils_test. arrays used for equal comparison where not being initialized.
4 years ago
Xavier Arteaga
fac6d40a45
SRSENB: fix PUSCH max number of iterations
4 years ago
Xavier Arteaga
791c979063
Vector: fix cf to cs conjugate conversion
4 years ago
Francisco Paisana
698af97ec4
updated asn1 utils to account for conversion from 0 to bitstring. Added asn1 utils test to repository.
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
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
48e7734188
phy_dl_test: fix uninit var
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
bb1dd0f4cf
gnb_interface: remove FIXME
4 years ago
Francisco Paisana
665b3996bb
now the phy controller handles the scenario where the phy cell selection failed to be initialized
4 years ago
Pedro Alvarez
4c1416b84f
Remove redundant declaration of EIA2
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
Francisco Paisana
9b10acff06
implemented logical channel prioritization in DL scheduler
4 years ago
Xavier Arteaga
ca6566ad46
Fix PUCCH format1b false detection
4 years ago
Andre Puschmann
fab86382c1
mac,rrc: add interface to set SR config explicitly without touching any other MAC function
...
when releasing PUCCH/SRS (see 5.3.13 in 36.331) we need to reset the SR config as well.
In our case, SR is handled by MAC so we need to (re-)configure MAC, not all of
MAC though, just SR.
4 years ago
Francisco Paisana
e7239163e9
silence noisy unhandled in_sync_ev logs
4 years ago
Francisco Paisana
b7ed8b1858
- added react method to to_state<...> transitions
...
- s1 handover composite state simplified
- the eNB now starts a HO cancellation when it receives an invalid
Handover Command
- the FSM log now prints the current state when it receives an unhandled
event
4 years ago
Andre Puschmann
30b8848ea9
metrics_hub: protect access to vector of metrics_listener
...
prevent potential race between metrics hub thread trying
to access the metrics vector and another thread
adding another element to it
4 years ago
Pedro Alvarez
b43e724b4c
Remove packing/unpacking code for M2AP.
4 years ago
Pedro Alvarez
5a4e71a6e4
Created k_enb_context structure that holds k_enb, NCC and NH to make it easier to restore context from failed handover.
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
Pedro Alvarez
00ac85e1b3
Small compilation fixes for GCC 10.1
4 years ago
Xavier Arteaga
da54e2b501
Better docs in RRC interface types and apply clang-format
4 years ago
Xavier Arteaga
6ae47b6510
SRSUE: Deafult PUCCH/SRS does not imply full PHY dedicated defaults
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
Francisco Paisana
137e554eb3
reestablish pdcp bearers is required in case of AM bearers
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
58ce9d3959
pdcp: adding basic test to check if control PDUs are handled correctly
...
use a 3 B long status PDU to check if its dropped from the rx'ing entity
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
Sylvain Munaut
2890bd07ea
liblte_mme.h: Adjust LIBLTE_MME_PACKET_FILTER_MAX_SIZE for IPv6
...
Original was 20 but TS 24.008, section 10.5.6.12 specifies a max
of 60 for ipv6 packet filter
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
Pedro Alvarez
86f4d469c6
Added some functions to save and restore AS keys for the case of failed handover in the USIM
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
Andre Puschmann
1afc137032
[REBASE] Make PHY non-blocking and fefactor HO procedure ( #1753 )
...
* Make PHY non-blocking and fefactor HO procedure
* makes entire PHY non-blocking through command interface
* adds dedicated queue for cell_search/cell_select commands
* refactor HO procedure to run faster, in one stack cycle. Looks closer to the specs
* force ue to always apply SIB2 configuration during reestablishment
* Run update_measurements in all workers
Co-authored-by: Ismael Gomez <ismagom@gmail.com>
4 years ago
faluco
c1e680769c
- Remove stray code left behind.
4 years ago
faluco
f604506858
- Fixed missing initialization issues in nas that caused several jumps in liblte_mme to use uninitialized memory.
...
- Fixed missing initialization in spgw that caused recvfrom to use an unitialized argument.
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
Francisco Paisana
dcf5a727f2
do not send RRC release in case the eNB receives a S1AP UEContextRelease command and the UE is doing handover. Handle GTPU end marker
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
6dc7841369
epoll_helper: move code to block OS signals into own helper function
...
before epoll can handle signals, the calling thread needs to block
them. the blocking needs to happen before any other threads get
spawned so they inherit the mask.
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