Commit Graph

2517 Commits

Author SHA1 Message Date
Francisco ed1514cf68 nr,gnb,sched: implement ConRes CE scheduling command in NR sched 2021-11-22 12:56:02 +00:00
Francisco 79a018683f nr,gnb,rrc: consistent generation of rachConfig for phy, SIB1, and NSA reconf 2021-11-18 22:48:14 +00:00
Andre Puschmann 7eb4fb944d gnb,ngap: set NGAP connect params to S1AP equivalents
in SA mode we use the S1AP params for AMF and NGC
2021-11-18 17:29:15 +01:00
Fabian Eckermann 74a289976a Add enb MAC procedures for PDCCH orders. 2021-11-18 14:56:31 +01:00
faluco 65460b7a6e Backport a modification for ssn. 2021-11-17 17:17:29 +01:00
Francisco e8beb2ef81 nr,rrc: redesign fetching of asn1 obj ids for comparison and addmod/rem to asn1 lists 2021-11-16 19:04:51 +00:00
faluco 86d2eb853c Change the column order for the enb stdout metrics so that rat is first and pci second. 2021-11-16 14:46:51 +01:00
faluco 453a7760b3 Port misc SSN changes to dev. 2021-11-16 14:46:51 +01:00
Francisco fec97689a2 rrc,nr,gnb: refactored rrc nr cfg default and derived param generation to be mostly independent of parser 2021-11-16 00:12:36 +00:00
Francisco 0b8a6970f0 nr,gnb,rrc: fix ssb frequency derivation when coreset0 is active 2021-11-15 15:47:31 +01:00
Francisco 92c4e6e2d0 nr,gnb: account for CORESET#0 RB offset (See 38.213, table 13-1) in computation of SSB center frequency 2021-11-15 15:47:31 +01:00
Pedro Alvarez e68bdf3718 Added support to sending error indication when receiving some S1AP messages in the wrong state 2021-11-15 11:31:01 +00:00
Andre Puschmann 800933c38e slot_worker: disable baseband dump by default and don't exit after finishing 2021-11-15 09:50:39 +01:00
Andre Puschmann 2117aa93e2 slot_worker: add compile time option to write baseband signal to file 2021-11-15 09:50:39 +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 e65bcd7147 Changed default max S1 Setup retries to infinity 2021-11-12 15:09:39 +00:00
Pedro Alvarez 99e8ddefee Terminate application if the eNB cannot connect to the MME after max s1 retries is reached 2021-11-12 15:09:39 +00:00
Pedro Alvarez e5a83474cc Added max_s1_setup retries option to S1AP 2021-11-12 15:09:39 +00:00
Pedro Alvarez 930e3699d0 Added max_s1_retries parameter 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
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
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 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
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
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
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 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