Pedro Alvarez
981e682d2e
enb,rrc: disable SRB2 in mac controller during handover. This is to
...
avoid transporting NAS messages before we received the RRC Reconf
complete and the HO is finished.
2022-07-13 18:34:46 +01:00
Pedro Alvarez
36354ef6ff
srsgnb,cfg_parser: adding parsing for SA SRB configs
2022-05-11 18:19:29 +01:00
Andre Puschmann
d854bbc22e
enb,rrc: remove hard-coded SCG bearer config
...
Use 5QI config when configuring secondary cell group bearer for NSA.
The 5QI used for this needs to match with the QCI used for the initial
LTE DRB.
This allows to use RLC AM over NSA.
2022-04-22 13:40:23 +02:00
Francisco
0de1565e52
rrc,s1ap: configurable target eNB TACs during LTE handover.
2022-04-06 12:16:11 +01:00
Ismael Gomez
2bbeef6068
srsgnb,metrics: add ul_pucch_ni metric and refactor rssi/epre nomenclature. Fix bug in rsrp_avg computation in pucch
2022-03-26 22:39:16 +01:00
Ismael Gomez
cf647b1fd5
srsenb,metrics: add PUSCH/PUCCH RSSI metrics. Add bearer DL total data metric for RLC UM
2022-03-26 22:39:16 +01:00
Francisco Paisana
e4a15c9c51
rrc,gnb: move non-phy fields out of phy_cell_nr_t
2022-02-08 18:21:07 +01:00
Joaquim Broquetas
b2075673e5
Crest Factor Reduction feature for the phy layer ( #3720 )
...
* Add CFR module to the phy lib
* Add dynamic threshold with PAPR estimation
* Add a CFR unit test, CFR module improvements and refactoring.
Swap the gain normalization before the CFR.
* Add CFR config interface to srsenb
* Add CFR support to pdsch_enodeb
* Add DL PAPR measurement to eNB.
Co-authored-by: Cristian Balint <cristian.balint@gmail.com>
* Add test coverage to srsran_vec_gen_clip_env
2022-02-04 10:35:35 +01:00
Pedro Alvarez
c99ecd8009
enb,s1ap: make sure we don't processa the ICS request if there is an ICS already on-going.
2022-01-27 15:13:32 +00:00
Ismael Gomez
daa7d8cdb5
Increase number of tunnels per UE
2021-12-22 22:41:24 +01:00
Francisco
e8f6c723b6
refactor: isolate rrc interfaces for pdcp, rlc and s1ap into separate files. This will avoid importing lte asn1 symbols to srsgnb code
2021-12-15 23:25:26 +00:00
Ismael Gomez
6947f87bcb
Add minimum NR SA logic in parent PHY class
2021-11-30 14:45:26 +01:00
Francisco
74fda904ac
nr,gnb,stack: use common gtpu_pdcp_adapter class for both NSA and SA cases
2021-11-29 10:08:07 +00:00
Francisco
ffc1ea5c86
nr,gnb,phy: decoupled gnb and enb phy config structs by moving them to separate files
2021-11-23 10:56:38 +00:00
Francisco
ed1514cf68
nr,gnb,sched: implement ConRes CE scheduling command in NR sched
2021-11-22 12:56:02 +00:00
Fabian Eckermann
74a289976a
Add enb MAC procedures for PDCCH orders.
2021-11-18 14:56:31 +01:00
faluco
453a7760b3
Port misc SSN changes to dev.
2021-11-16 14:46:51 +01:00
Andre Puschmann
9987b9e70b
phy_common: fix number of antenna port for NR-only configs
2021-11-15 09:50:39 +01:00
Pedro Alvarez
e5a83474cc
Added max_s1_setup retries option to S1AP
2021-11-12 15:09:39 +00: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
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
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
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
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
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
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
885e1bcc60
nr,gnb,sched: ensure the users only get allocated if they have buffer state > 0
2021-11-02 00:41:24 +00:00
Francisco
6fb5257609
nr,gnb,sched: cleanup of checks in sched_nr_allocator and removal of unused classes
2021-11-02 00:41:24 +00:00
Francisco
7b989d9976
nr,gnb,sched: refactored slot_ue class to use pointer to ue_carrier instead of deriving all necessary parameters
2021-11-02 00:41:24 +00:00
Francisco
da9c564ad4
nr,gnb,sched: remove unused sched_nr_interface types
2021-11-02 00:41:24 +00:00
Francisco
1a56629a72
nr,gnb,sched: centralized all feedback/event management (cc-specific and non-cc-specific) into a single class
2021-11-02 00:41:24 +00:00
Francisco
7c146c5198
nr,gnb,sched: refactored sched nr common event handling to use accumulated event handling logging
2021-11-02 00:41:24 +00:00
Francisco
e5e047bc63
nr,gnb,sched: avoid that the nr sched handles the rach before it creates the ue object
2021-11-02 00:41:24 +00:00
Francisco
40fded7222
nr,gnb,sched: improve logging of slot events in the scheduler
2021-11-02 00:41:24 +00:00
Francisco
e19a0aa281
nr,gnb,sched: refactored sched nr common event handling
2021-11-02 00:41:24 +00:00
Francisco
f2409534e4
nr,gnb,sched: Simplify sched api and locking design to better reflect the mac-phy FAPI interface
...
- removal of condition variables from sched main calls
- addition of sched sched::slot_indication call as a point of synchronization per slot
- removal of sched_worker_manager class
- removal of serv_cell_manager class
- centralization of cc-specific functionality and components in cc_worker
2021-11-02 00:41:24 +00:00
Francisco
d3a100257d
lte,enb,s1 handover: stop ts1 handover timers when an handover cancel occurs after the Handover preparation
2021-11-01 12:42:43 +00:00
Francisco
0dc9cf142a
lte,enb,rrc: verify the drbtoaddmodlist is correctly updated in the add_erab case, and change the function add_erab to addmod_erab
2021-10-30 15:31:19 +01:00
Andre Puschmann
5f837c0c67
enb,nr: rewrite UL PDU processing to handle CEs in reverse order but SDUs in order
...
this makes sure that C-RNTI CE gets processed before any SDU gets processed.
but it also makes sure that all SDUs then are processed in-order to
avoid reordering at higher layers.
2021-10-27 19:50:35 +02:00
Alejandro Leal Conejos
af3a2ef589
Fixes coverity 359789
2021-10-27 19:47:45 +02:00
Alejandro Leal Conejos
6cd917fca5
Fixes coverity 370816
2021-10-27 19:47:45 +02:00
Alejandro Leal Conejos
0fdbfcffd0
Removes unnecesary cast
2021-10-27 19:47:45 +02:00
Bedran Karakoc
a14cc451d0
Addition NGAP cleanup
2021-10-27 19:37:49 +02:00
Carlo Galiotto
9c74dda039
rrc,nr: add msg5 and inactivity timers to RRC-NR
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2021-10-26 23:18:17 +02:00
Ismael Gomez
d972fb368c
Some LGTM fixes ( #3564 )
...
* Fix LGTM issues
* ue: add logging to switch on function
* Fix new LGTM issues
2021-10-26 21:15:36 +02:00
Alejandro Leal Conejos
547ebf11f7
Fixes coverity 372880
2021-10-26 21:09:44 +02:00
Francisco
67a39fbb81
nr,sched: push BSRs into the scheduler when nr_phy_test is run with PUSCH enabled
2021-10-25 20:55:00 +02:00