Pedro Alvarez
e780eb5ab0
Fixed missing TM and RLC AM NR in mem_pool
3 years ago
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
99e8ddefee
Terminate application if the eNB cannot connect to the MME after max s1 retries is reached
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
faluco
8d33d93c77
Fix a race condition in the enb csv metrics where set_handle was called while the metrics thread is running causing a race in the enb member variable.
...
Fix it by setting it during object construction.
3 years ago
Francisco
f3b427cbd7
nr,gnb,rrc: separate rrc_nr::ue into its own file
3 years ago
Pedro Alvarez
174648e487
Restart S1AP on SCTP_ERROR event
3 years ago
Francisco
16753a006a
nr,gnb,rrc: add test logger delimiter; handle rrc setup complete
3 years ago
Francisco
fd7c5e375c
nr,gnb,rrc: implement NR RRCSetup in RRC and wrote unit test
3 years ago
Francisco
89ca761680
nr,gnb,sched: small fixes in sched sib allocation logging
3 years ago
Francisco
aba3ac9ddf
nr,gnb,sched: increase SIB grant size in PRBs, to ensure it fits the message
3 years ago
Francisco
ae4071a3df
nr,gnb,rrc: propagate RRC SIB configurations to mac and scheduler
3 years ago
Francisco
5766ddfa38
nr,gnb,sched: fix nr_phy_tests. The default sched cell config was not being correctly generated
3 years ago
Francisco
1807ba1e37
nr,gnb,sched: fix si softbuffer allocation. Add extra comments
3 years ago
Ismael Gomez
360f718a5e
Add PHY resource allocation calculation for SIB common 0 search space
3 years ago
Francisco
a34a1f3f6b
fix failing compilation due to rebase
3 years ago
Francisco
a137835d07
gnb,rrc: use phy helper to generate coreset#0
3 years ago
Francisco
2fc41acd9a
nr,gnb: generation of CORESET#0 and SearchSpace#0 parameters in rrc. Passing CORESET#0/SS#0 to scheduler
3 years ago
Francisco
87635fe8c5
nr,gnb,sched: fix sib nof_retxs. Log SIB scheduling
3 years ago
Francisco
9a267d7ed0
nr,gnb,sched: fix SIB1 periodicity derivation in NR sched
3 years ago
Francisco
72c2129cd3
nr,gnb,sched: fix sib1 window derivation in NR sched
3 years ago
Francisco
60d4d12070
nr,gnb,mac: implement basic sib1 scheduling
3 years ago
Francisco
30c0ffe3e5
nr,gnb,mac: decouple UL PDU decoding from the UE object
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
2d6ce768c7
nr,gnb,rrc: generation of MIB/SIB1 inside rrc_nr class and test to verify the correct output
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
0ac3f8b242
nr: fix ngap initialization in case of NR SA
3 years ago
Francisco
7e7f7b4c01
nr: fix failing unit tests
3 years ago
Ismael Gomez
d5c235635f
check lteworker is not null in log line
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