Commit Graph

9395 Commits

Author SHA1 Message Date
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.
2021-11-12 15:33:36 +01:00
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.
2021-11-12 13:39:42 +01:00
Francisco f3b427cbd7 nr,gnb,rrc: separate rrc_nr::ue into its own file 2021-11-11 20:50:28 +00:00
Pedro Alvarez 174648e487 Restart S1AP on SCTP_ERROR event 2021-11-11 11:57:43 +00:00
Francisco 16753a006a nr,gnb,rrc: add test logger delimiter; handle rrc setup complete 2021-11-11 10:55:35 +00:00
Francisco fd7c5e375c nr,gnb,rrc: implement NR RRCSetup in RRC and wrote unit test 2021-11-11 10:55:35 +00:00
Francisco 89ca761680 nr,gnb,sched: small fixes in sched sib allocation logging 2021-11-09 18:28:44 +00:00
Francisco aba3ac9ddf nr,gnb,sched: increase SIB grant size in PRBs, to ensure it fits the message 2021-11-08 20:29:18 +00:00
Francisco ae4071a3df nr,gnb,rrc: propagate RRC SIB configurations to mac and scheduler 2021-11-08 14:36:45 +00:00
Francisco 5766ddfa38 nr,gnb,sched: fix nr_phy_tests. The default sched cell config was not being correctly generated 2021-11-08 14:36:45 +00:00
Francisco 1807ba1e37 nr,gnb,sched: fix si softbuffer allocation. Add extra comments 2021-11-08 14:36:45 +00:00
Ismael Gomez 360f718a5e Add PHY resource allocation calculation for SIB common 0 search space 2021-11-08 14:36:45 +00:00
Francisco a34a1f3f6b fix failing compilation due to rebase 2021-11-08 14:36:45 +00:00
Francisco a137835d07 gnb,rrc: use phy helper to generate coreset#0 2021-11-08 14:36:45 +00:00
Francisco 2fc41acd9a nr,gnb: generation of CORESET#0 and SearchSpace#0 parameters in rrc. Passing CORESET#0/SS#0 to scheduler 2021-11-08 14:36:45 +00:00
Francisco 87635fe8c5 nr,gnb,sched: fix sib nof_retxs. Log SIB scheduling 2021-11-08 14:36:45 +00:00
Francisco 9a267d7ed0 nr,gnb,sched: fix SIB1 periodicity derivation in NR sched 2021-11-08 14:36:45 +00:00
Francisco 72c2129cd3 nr,gnb,sched: fix sib1 window derivation in NR sched 2021-11-08 14:36:45 +00:00
Francisco 60d4d12070 nr,gnb,mac: implement basic sib1 scheduling 2021-11-08 14:36:45 +00:00
Francisco 30c0ffe3e5 nr,gnb,mac: decouple UL PDU decoding from the UE object 2021-11-08 13:45:34 +00:00
Francisco 9734f2e393 adt: fix optional_vector ctor, and add emplace method 2021-11-05 16:13:09 +00:00
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
2021-11-05 15:26:06 +01:00
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.
2021-11-05 15:26:06 +01:00
Francisco 2d6ce768c7 nr,gnb,rrc: generation of MIB/SIB1 inside rrc_nr class and test to verify the correct output 2021-11-04 18:05:14 +00:00
Francisco 5f3afffd05 nr,gnb: implementation of sib and mib asn1 generation functions 2021-11-04 18:05:14 +00:00
Francisco 96fd3aae3c nr,gnb: small gnb interface refactors and fix of byte buffer operator= 2021-11-04 18:05:14 +00:00
Pedro Alvarez 2a5d21164f Adding RLC AM NR unit tests 2021-11-04 16:12:07 +00:00
Pedro Alvarez d528d8af4c Added initial skeleton for RLC AM NR entity 2021-11-04 16:12:07 +00:00
Pedro Alvarez 2bb249bf09 Moved RLC AM LTE and NR packing functions to their own file. 2021-11-04 16:12:07 +00:00
Pedro Alvarez f93d428e49 Moved RLC AM data structures to their own file 2021-11-04 16:12:07 +00:00
Francisco 0ac3f8b242 nr: fix ngap initialization in case of NR SA 2021-11-04 15:24:57 +00:00
Francisco 7e7f7b4c01 nr: fix failing unit tests 2021-11-04 15:24:57 +00:00
Ismael Gomez d5c235635f check lteworker is not null in log line 2021-11-04 15:24:57 +00:00
Ismael Gomez fa600ebda1 update sampling rate calculation from prb for nr 2021-11-04 15:24:57 +00:00
Francisco dab6e8bdcd nr,gnb: updates in parsing and phy files to allow the splitting of NR and LTE stacks 2021-11-04 15:24:57 +00:00
Andre Puschmann 1ead159f3f backward: make signalhandler object static
having the sh a normal stack variable made the backtrace disappear
in some runs.
2021-11-04 14:53:41 +01:00
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.
2021-11-04 14:53:41 +01:00
Francisco 8d719db43d nr,gnb,mac: implement zero-copy get_dl_sched/get_ul_sched NR scheduler interface 2021-11-03 21:21:45 +01:00
Carlo Galiotto 2eaf9add48 rrc,nr: rename boolean variable 2021-11-03 19:31:47 +01:00
Carlo Galiotto ba50bbfb76 rlc,rrc,nr: remove rb_type from rlc_um_config
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2021-11-03 19:31:47 +01:00
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>
2021-11-03 19:31:47 +01:00
Carlo Galiotto d95c31d2de rlc,rrc,nr: fix rlc bearer string diplayed in logs
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2021-11-03 19:31:47 +01:00
Andre Puschmann c02aeee0d8 gtpu: only add missing whitespace 2021-11-03 17:55:32 +01:00
Andre Puschmann 79c443fd60 rrc_nr: add log_rrc_message helper to UE object to print RNTI 2021-11-03 17:55:32 +01:00
Andre Puschmann c913db5ade enb,rrc_nr: log RRC messages as Json
* add log messages for RRC NR message containers sent to EUTRA RRC
* add helper function to pack RRC message into byte_buffer
2021-11-03 17:55:32 +01:00
faluco 90d21f8426 Fix invalid log line formatting. 2021-11-03 16:51:33 +01:00
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
2021-11-03 16:20:16 +01:00
Francisco f6e1ecdaf3 nr,gnb,mac: remove redundant checks and unused lcid enum constants 2021-11-03 13:31:16 +00:00
Francisco c615df9d1d nr,gnb,mac: prioritize CRNTI CE handling over remaining SDUs and CEs in gNB mac receiver 2021-11-03 13:31:16 +00:00
Francisco 4286ab81d9 nr,gnb,mac: fix const-correctness of some methods of class srsran::mac_sch_pdu_nr 2021-11-03 13:31:16 +00:00