Pedro Alvarez
debb4a0c6b
Refactored RLC AM segment pool for re-use in both LTE and NR
...
Moved RLC AMD PDU definitions from rlc_am_lte.h to rlc_common.h to make them re-usable in both RLC LTE and RLC NR
3 years ago
Pedro Alvarez
54be15e7a6
Moved write pdu to rlc_am_base::rlc_am_base_rx
3 years ago
Pedro Alvarez
476f9e1156
Changed logger initialization in RLC AM entities
3 years ago
Pedro Alvarez
022c51493b
Refactored RLC AM NR/LTE Rx and Tx entities to use a rlc_am_base_rx/tx class.
...
This was done to make it easier to share entity specific code between LTE and NR.
This removes the previously used templates.
3 years ago
Pedro Alvarez
b15f63f32f
Added an RLC AM base class to avoid code duplication in the RLC AM NR entity.
...
This class is based on a template that receives as argument the
rlc_am_*_tx/rx entities, so that those are different for LTE and NR.
Moved code from rlc_am_lte/nr entities so that they use the new base class.
3 years ago
Pedro Alvarez
e65bcd7147
Changed default max S1 Setup retries to infinity
3 years ago
Pedro Alvarez
e5a83474cc
Added max_s1_setup retries option to S1AP
3 years ago
Pedro Alvarez
930e3699d0
Added max_s1_retries parameter
3 years ago
Francisco
83c1fb65d7
nr,gnb,rrc: add rrc nr message handler and send functions to establish an SA RRC connection
3 years ago
Robert Falkenberg
02f261c0a9
rf: build srsran_rf as static library
...
For Ubuntu 18.04: Linking the static srsran_rf to libuhd
also requires to link Boost's "system" library.
Newer systems do not require this special handling.
3 years ago
Andre Puschmann
085d561f65
skiq: allow running without root permissions
...
do what the comment says, when thread can't be created with privelages,
try to create it without them.
3 years ago
Francisco
16753a006a
nr,gnb,rrc: add test logger delimiter; handle rrc setup complete
3 years ago
Ismael Gomez
360f718a5e
Add PHY resource allocation calculation for SIB common 0 search space
3 years ago
Francisco
9734f2e393
adt: fix optional_vector ctor, and add emplace method
3 years ago
Andre Puschmann
0967cda042
gnb,stack: move gNB components into own folder
...
* move RRC, MAC, NGAP, SDAP into gnb folder
* move testing code below respective layers
3 years ago
Andre Puschmann
951fea5f61
bearer_manager,rlc: reduce log level of message to warning level
...
relevant for the UE when it receives 2nd reconfiguration it could
be that the bearers are added again. in this case the handling is fine
and everything will work as expected. No reason to log error.
3 years ago
Francisco
5f3afffd05
nr,gnb: implementation of sib and mib asn1 generation functions
3 years ago
Francisco
96fd3aae3c
nr,gnb: small gnb interface refactors and fix of byte buffer operator=
3 years ago
Pedro Alvarez
2a5d21164f
Adding RLC AM NR unit tests
3 years ago
Pedro Alvarez
d528d8af4c
Added initial skeleton for RLC AM NR entity
3 years ago
Pedro Alvarez
2bb249bf09
Moved RLC AM LTE and NR packing functions to their own file.
3 years ago
Pedro Alvarez
f93d428e49
Moved RLC AM data structures to their own file
3 years ago
Francisco
7e7f7b4c01
nr: fix failing unit tests
3 years ago
Ismael Gomez
fa600ebda1
update sampling rate calculation from prb for nr
3 years ago
Francisco
dab6e8bdcd
nr,gnb: updates in parsing and phy files to allow the splitting of NR and LTE stacks
3 years ago
Andre Puschmann
1ead159f3f
backward: make signalhandler object static
...
having the sh a normal stack variable made the backtrace disappear
in some runs.
3 years ago
Andre Puschmann
b44372faae
crash_handler: write backtrace to stderr instead of backtrace file
...
the backtrace file is hard to collect in some environment but the stdout
and stderr is usually captured by default.
3 years ago
Francisco
8d719db43d
nr,gnb,mac: implement zero-copy get_dl_sched/get_ul_sched NR scheduler interface
3 years ago
Carlo Galiotto
ba50bbfb76
rlc,rrc,nr: remove rb_type from rlc_um_config
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto
9c2099f680
rrc,rlc,nr: fix RB label in RLC-NR for UE logs + ..
...
add rb_type in rlc_um_config
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto
d95c31d2de
rlc,rrc,nr: fix rlc bearer string diplayed in logs
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
faluco
90d21f8426
Fix invalid log line formatting.
3 years ago
Andre Puschmann
0bf2674d22
bearer_manager: reduce log level for clean/delete operations
...
this was causing errors in logs that aren't severe. the operations
are called when removing a UE regardless whether a bearer has been
created or not
3 years ago
Francisco
f6e1ecdaf3
nr,gnb,mac: remove redundant checks and unused lcid enum constants
3 years ago
Francisco
c615df9d1d
nr,gnb,mac: prioritize CRNTI CE handling over remaining SDUs and CEs in gNB mac receiver
3 years ago
Francisco
4286ab81d9
nr,gnb,mac: fix const-correctness of some methods of class srsran::mac_sch_pdu_nr
3 years ago
faluco
74456bf3d2
Whitelist a reported deadlock involving read lock.
3 years ago
Francisco
dfc2ea0a3e
nr,gnb,pdcp: extend the use of local rb_name member to pdcp nr
3 years ago
Francisco
c64be663d2
nr,gnb,pdcp: store the PDCP RB name in base class for easier use
3 years ago
Francisco
3c18e7c1f3
lte,enb,pdcp: fix addition of DRB logging in PDCP
3 years ago
Francisco
5b8d4c39af
pdcp,lte: fix drb/srb id logging to account for dynamic mapping
3 years ago
Andre Puschmann
e491aef74e
rlc_um_nr_test: disable test9 until low TCP UL rates are understood/fixed
3 years ago
Andre Puschmann
296758e4ab
Revert "rlc_um_nr: reimplement update of RX_Next_Reassembly"
...
This reverts commit 5b025cfbf8
.
3 years ago
Andre Puschmann
229b1eef21
radio,test: fix Coverity warning about dead code
...
add default in switch instead of using the the END state directly
that is checked before entering the switch. Coverity correctly
reports this as dead code.
3 years ago
Ismael Gomez
8a53a9d35c
ssb_decode_test: Fix stack overflow pbch_msg buffer
3 years ago
Andre Puschmann
6d0aafcf69
rlc_um_nr: fix has_missing_byte_segment() routine
...
return true if rx_window contains segment of this SN
3 years ago
Andre Puschmann
5b025cfbf8
rlc_um_nr: reimplement update of RX_Next_Reassembly
3 years ago
Andre Puschmann
2366dc286d
rlc_um_nr: improve logging
3 years ago
Andre Puschmann
85e478d8ad
rlc_um_nr_test: add TC to reproduce reassembly issue
...
* add TC to reproduce reassembly issue that causes low TCP throughput
* fix PCAP writing
* fix other testcase to wait for t_reassembly to expire
3 years ago
Alejandro Leal Conejos
ca7a377878
Fixes coverity 262740
3 years ago