Commit Graph

10026 Commits

Author SHA1 Message Date
Carlo Galiotto dfe5cca7fb rrc-nr: adapt csi-meas_config to new source
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-26 10:47:26 +01:00
Xavier Arteaga 9cda4e058d Disable srsgnb time in advance offset 2022-01-25 21:08:35 +01:00
Xavier Arteaga 256bba0fd3 Handle NAN in NR PBCH reception and add unit test case 2022-01-25 16:08:41 +01:00
Bedran Karakoc 70084cf9cc Added unit test for K_gnb derivation 2022-01-25 14:24:58 +01:00
Bedran Karakoc efa13290a9 ue,rrc_nr,nas_5g: Introduce NR AS Key derivation and update context handling in 5G NAS 2022-01-25 14:24:58 +01:00
Bedran Karakoc cabdd05cb8 gnb,rrc: Fix typo in logging for NR UP integrity key 2022-01-25 14:24:58 +01:00
Bedran Karakoc a8eaf1cdd8 ue,nas_5g: Add get_k_amf() helper function and security context flag 2022-01-25 14:24:58 +01:00
Andre Puschmann 44a00feccb pdcp_entity_base: fix log typo 2022-01-24 21:07:22 +01:00
Andre Puschmann 366dfca7ff gnb,rrc: refactor AS security updates
refactor security updater to extra function and make sure
the config is applied to all active RBs, also DRBs
2022-01-24 21:07:22 +01:00
Andre Puschmann d035a57ed5 ue,rrc_nr: various smaller refactors to allow SA attach 2022-01-24 11:57:46 +01:00
Andre Puschmann 4f8991e41a ue,rrc_nr: temporarily add hard-coded SIB1 message for cell select
this will be remove shortly when SI reception is implemented but its
required right now to have the PLMN read correctly and to avoid
changes in the meas_cell_list class, etc. that require valid
values.
2022-01-24 11:57:46 +01:00
Andre Puschmann 9c9db176d5 ue: set NAS-5G args in ue module using NAS-LTE arguments 2022-01-24 11:57:46 +01:00
Andre Puschmann b5a39f9d9f ue,rrc_nr_proc: if bug connection_setup_proc that cause procedure to fail 2022-01-24 11:57:46 +01:00
Andre Puschmann f3fa0d6d46 ue,rrc_nr: add RRC Reconfig Complete sender 2022-01-24 11:57:46 +01:00
Xavier Arteaga 57b50edbe2 Fix initial buffer data and removed unimplemented method 2022-01-24 10:09:17 +01:00
Xavier Arteaga a9591f1d45 Avoid poping queue if empty 2022-01-24 10:09:17 +01:00
Francisco e6af64c147 rrc,nr: removal of ssb config from the rrc_nr_cfg_t 2022-01-21 14:51:29 +00:00
Francisco ab9fe90d3a rrc,nr: create DU configuration manager in RRC NR class to handle the generation of SIBs and other cell-specific parameters 2022-01-21 14:51:29 +00:00
Fabian Eckermann 12cc7cb4d7 Add support for RRC redirect. 2022-01-21 09:46:56 +01:00
Andre Puschmann dcf178a8a5 sched_nr: change wording when logging UE access to unknown RNTI
streamline with RRC logs for same event, facilitate parsing an
accept list entry in KPI analyzer
2022-01-21 09:42:43 +01:00
Francisco 52106be3d5 sched,nr: remove phy cfg types from sched_nr_cell_cfg_t 2022-01-20 10:54:00 +00:00
Francisco b25814de27 sched,nr: fix failing sched test due to misconfiguration 2022-01-20 10:54:00 +00:00
Francisco 7ef206e15b sched,rrc,nr: remove need to pass sched ue cfg object to rrc during ra procedure 2022-01-20 10:54:00 +00:00
Francisco 822a1f5d19 sched,nr: redesign sched nr ue object creation during rach. Update of sched nr tests to reflect this change 2022-01-20 10:54:00 +00:00
Francisco 7f200ac7f7 sched,nr: pass asn1 TDD configuration to scheduler as defined in ORAN 2022-01-20 10:54:00 +00:00
Francisco f1831d9027 sched,nr: change UE configuration Request struct to better match ORAN specs 2022-01-20 10:54:00 +00:00
Bedran Karakoc 6112871da9 gnb,ngap: Add basic handler for NGAP Paging 2022-01-20 11:08:51 +01:00
Andre Puschmann 4cda49a037 ue,rrc_nr: cosmetic changes, typo 2022-01-19 18:37:24 +01:00
Andre Puschmann 486483da13 nas_5g: small typo fixes 2022-01-19 18:37:24 +01:00
Andre Puschmann 09b8d3ba6b ue,rrc_nr: add message handler/sender for SA until security mode command 2022-01-19 18:37:24 +01:00
Bedran Karakoc 9507dbc534 enb,ngap: Fix global gnb ID in NGAP 2022-01-19 18:34:35 +01:00
Xavier Arteaga 0812a90d21 Removed unused attribute and fix end-of-burst in NR UE SA PHY 2022-01-19 18:33:39 +01:00
Xavier Arteaga 66f6c11561 Fix concurrent issues in dummy radio used in nr_phy_test 2022-01-19 18:33:39 +01:00
Xavier Arteaga 8a7a4a588d Fix concurrent access to decimator busy flag 2022-01-19 18:33:39 +01:00
Xavier Arteaga d089653bd2 Fix concurrent access in UE NR PHY clear pending states 2022-01-19 18:33:39 +01:00
Andre Puschmann 994c3127fa epc,nas: remove logging error when UE sends service request in ECM_STATE_CONNECTED
this causes errors to be logged without really failing anything.
UE might send this after a reestablishment.
2022-01-19 17:33:22 +01:00
Andre Puschmann aaceb029eb rlc_am_lte: fix wrong fmt string 2022-01-19 12:26:18 +01:00
dvdgrgrtt c9beba6f36 Use srsran_convert_dB_to_power
Instead of computing power using the power function.
2022-01-19 11:13:28 +01:00
dvdgrgrtt 3ffefe5ba7 Use copyright as file header 2022-01-19 11:13:28 +01:00
dvdgrgrtt a69fb1d50f ch_awgn: Improve API
The API of functions srsran_ch_awgn_X was causing confusion between
noise variance and standard deviation. Also, in the complex-valued case,
the noise variance did not take into account the fact that the signal is
two-dimensional.

All uses of these functions are modified accordingly.
2022-01-19 11:13:28 +01:00
Andre Puschmann 7dc2313957 gnb,rrc: fix compilation
caused by GH merge timing issue and remove asn1 call
2022-01-18 18:26:02 +01:00
Andre Puschmann 92a13294b2 rrc_nr_utils: set RAT for PDCP config for SRB to NR 2022-01-18 18:20:04 +01:00
Andre Puschmann e9252c731e ue,rrc: fix cell selection and RRC setup procedure
* fix event processing in RRC procedures
* add UE timer and constants
* parse SRB setup
2022-01-18 18:20:04 +01:00
Andre Puschmann c13797d287 ue,mac: remove double newlines in logs 2022-01-18 18:20:04 +01:00
Andre Puschmann 99c2d16c1b ue_nr_interface: include SRB ARFCN in cell search result 2022-01-18 18:20:04 +01:00
Andre Puschmann c49615c059 gnb,rrc: handle reestablishment complete
* add message handler
* rename internal calls
2022-01-18 18:07:21 +01:00
Andre Puschmann f17e77f391 gnb,rrc: add GTPU interface to RRC 2022-01-18 18:07:21 +01:00
Andre Puschmann 4923f0a07b gnb,mac: schedule CON_RES CE when handling CCCH
this avoids implicit CON_RES scheduling in the scheduler
2022-01-18 18:07:21 +01:00
Andre Puschmann db065239e0 sched_nr: add dl_mac_ce() method to allow MAC to schedule CE
MAC can give the scheduler hints as to when to schedule certain
CEs in the DL. For example when receiving a CCCH on SRB0.
2022-01-18 18:07:21 +01:00
Andre Puschmann 33378c32c0 gnb,rrc: fix key derivation in reestablishment 2022-01-18 18:07:21 +01:00