Commit Graph

2542 Commits

Author SHA1 Message Date
Xavier Arteaga 5760080b27 Fix multiple nr_phy_test tests 2022-01-12 10:27:33 +01:00
Francisco f7efee9884 asn1: use typedefs for amf_ue_ngap_id, ran_ue_ngap_id, mme_ue_s1ap_id and enb_ue_s1ap_id and changed interface to access s1ap and ngap protocol_ies 2022-01-11 22:59:38 +00:00
Francisco Paisana 2d2a5bee03 asn1: update procotol_ie_single_container interface to use -> operator instead of .value to access container content 2022-01-11 22:59:38 +00:00
Francisco Paisana 6b181e7a94 asn1: move protocol_ie_single_container_s to asn1_utils, so it can be used by ngap, s1ap, and other layers 2022-01-11 22:59:38 +00:00
Ismael Gomez cc635168dd enb,rrc: add more context to log line 2021-12-30 20:11:27 +01:00
Ismael Gomez daa7d8cdb5 Increase number of tunnels per UE 2021-12-22 22:41:24 +01:00
Fabian Eckermann cdbe6a6e1d Make sure to not access out-of-bounds iterator when erasing vector elements. 2021-12-17 17:30:25 +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 9f1a1c297c
Merge pull request #3710 from softwareradiosystems/feature_nr_sa_igm
Initial version of UE NR SA
2021-12-03 19:54:20 +01:00
Andre Puschmann 2a12e91594 enb,metrics_stdout: fix printing in SA mode 2021-12-01 14:25:17 +01:00
Francisco d1ddd3da4d gnb,rrc: make plmn and cell id configurable in SIB1 2021-12-01 12:22:14 +01:00
Ismael Gomez 6947f87bcb Add minimum NR SA logic in parent PHY class 2021-11-30 14:45:26 +01:00
dvdgrgrtt 32c4da8db0 Fix typos 2021-11-29 15:25:34 +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 61e923a6a6 nr,gnb,rrc: configurable RRC NR inactivity timeout 2021-11-26 17:20:18 +00:00
Francisco 5411e75ce3 fix failing unit tests due to bug in enb parser related to the rf_port 2021-11-25 19:03:30 +00:00
Pedro Alvarez f86fbe97bd gnb,rrc_nr: simplified parsing of NEA/NIA preference list 2021-11-25 16:11:09 +00:00
Pedro Alvarez 84f94b26b2 gnb,rlc_nr: re-used security algo preference list from LTE. Added the ability to enable integrity/encription at the PDCP upon the security mode command. 2021-11-25 16:11:09 +00:00
Andre Puschmann 77a7185274 cfg_parser: check RF port numbering starts with zero
make sure all RF ports are in-order with no gaps and zero indexed
2021-11-25 16:30:34 +01:00
Francisco 976532fb52 nr,gnb,cfg: set phy nr cell cfg only after the rrc cfg is completely generated 2021-11-24 20:24:39 +00:00
Francisco 9ecb3f516d nr,gnb,rrc: add helper function to derive rrc cfg parameters for all cells 2021-11-24 12:30:00 +00:00
Andre Puschmann bef3553586 enb.conf.example: remove already removed parameter 2021-11-24 12:10:17 +01:00
Pedro Alvarez 2fad9ded01 Make sure that the pcap is started before NGAP init, so that the NGSetupRequest is caught 2021-11-23 17:12:53 +00:00
Pedro Alvarez 5e22e42762 Added option to save NGAP pcaps. 2021-11-23 17:12:53 +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
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