Commit Graph

9691 Commits

Author SHA1 Message Date
Francisco 5cc7863379 nr,gnb,sched: fix and extend sched_nr_test to verify that the DL allocated bytes match the bytes passed as DL buffer state to the scheduler 2021-12-09 17:11:41 +00:00
Francisco 107e2aa938 nr,gnb,sched: implemented standalone PDSCH allocator class 2021-12-09 17:11:41 +00:00
Francisco b2f5f6c620 nr,gnb,sched: fix sched parallel unit test 2021-12-09 14:26:19 +00:00
Francisco c3d682bba8 nr,gnb,sched: cache ue phy dci_cfg to avoid computing it at every slot 2021-12-09 14:26:19 +00:00
Francisco 949c34112e nr,gnb,sched: implement pusch allocator and fix prb grant allocation when UEs are using common SS 2021-12-09 14:26:19 +00:00
Francisco 70c5eff6d0 nr,gnb,sched: wrote unit test for sched PDSCH allocations 2021-12-09 14:26:19 +00:00
Francisco 8ba08032b5 nr,gnb,sched: implemented standalone PDSCH allocator class 2021-12-09 14:26:19 +00:00
Francisco 20b327c320 nr,gnb,sched: extend PDCCH allocator test to cover most allocation fail paths 2021-12-09 14:26:19 +00:00
Andre Puschmann 2e70256548 ue,nsa,rrc: fix RRC's unfinished PHY config for CSI in NSA mode
if this commit brakes the attach in SA, we need to investigate again
and provide another fix that works for both NSA/SA.
2021-12-09 12:58:28 +01:00
Andre Puschmann fee0351dd3 Revert "Modify PUSCH power normalization"
This reverts commit a4b86e5a0a
which causes low UL throughput against Amarisoft (max MCS not achieved over RF).
See issue #3723.

We need to investigate this again and revert the revert.
2021-12-09 12:58:28 +01:00
Pedro Alvarez 57fc2470ad lib,rlc_am_lte: added some debug logging to t-PollRetranmission expiry and re-arming. 2021-12-09 11:30:59 +00:00
Pedro Alvarez ee4bf85209 lib,rlc_am_lte: check segment's polling requirements after updating the RETX queue. This makes sure that if the RETX and TX queues are empty after the last segment, polling is requested and the t-PollRetransmission is restarted 2021-12-09 11:30:59 +00:00
Pedro Alvarez 17d2eb0ea7 lib,rlc_am_lte: added unit test for t-pollRetransmssion re-arming when ACK/NACK is received. 2021-12-09 11:30:59 +00:00
Pedro Alvarez b425316936 lib,rlc_am_nr: fixed tx_mod_base_nr(). Added unit test for inside_tx_window(). 2021-12-07 16:46:26 +00:00
Pedro Alvarez ab8577ff43 lib,rlc_am_nr: switched back to unsigned rx_mod_base. Removed if that is always true. 2021-12-07 16:46:26 +00:00
Pedro Alvarez 3d5682b180 lib,rlc_am_nr: added unit tests to check inside_rx_window helper 2021-12-07 16:46:26 +00:00
Pedro Alvarez fea7828d3e lib,rlc_am_nr: added struct to hold state variables. This is consistent
with TX and makes it easier to make getter/setters.
2021-12-07 16:46:26 +00:00
Pedro Alvarez bca9ef2454 lib,rlc_am_nr: made mod_nr configurable 2021-12-07 16:46:26 +00:00
Pedro Alvarez 665aea599c lib,rlc_am_nr: made sure that the return of rx_mod_base and tx_mod_base is signed by changing from a macro to an class method. 2021-12-07 16:46:26 +00:00
Pedro Alvarez 4b69af7ca2 lib,rlc_am_nr: possible fix for ubuntu 16.04 compilation warning 2021-12-07 16:46:26 +00:00
Francisco 88461646ac nr,gnb,sched: fix failing sched unit test 2021-12-07 12:30:39 +00:00
Francisco bf275282ae nr,gnb,sched: simplify PDCCH allocation abortion api, and implemented method to print PDCCH allocations 2021-12-07 12:30:39 +00:00
Francisco 384004d8d1 nr,gnb,sched: implemented sched helper functions, wrote a unit test for PDCCH allocations 2021-12-07 12:30:39 +00:00
Francisco de13c68df7 nr,gnb,sched: make logging of PDCCH allocation failures consistent 2021-12-07 12:30:39 +00:00
Francisco 9a4a5345c4 nr,gnb,sched: improve sched sanity checks, and improve bwp_pdcch_allocator api 2021-12-07 12:30:39 +00:00
Francisco 5f36b9b116 nr,gnb,sched: rename pdcch scheduler to pdcch allocator 2021-12-07 12:30:39 +00:00
Francisco 0929177fa2 nr,gnb,sched: wrap coreset list in pdcch_scheduler 2021-12-07 12:30:39 +00:00
Bedran Karakoc 8f6ead0d55 nr,gnb,rrc: Added option to test RRC-NGAP integration with real core 2021-12-06 14:21:44 +01: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
Francisco 6c872a014e nr,gnb,sched: fix loop for searching for searchspace candidate in scheduler 2021-12-03 16:01:06 +00:00
Ismael Gomez f04227c3fb srsue,nr: add default NAS 5G ia5g and ea5g arguments 2021-12-03 12:49:38 +01:00
Ismael Gomez 825d363d44 srsue,nr: fix crnti mac CE not being added in msg3 2021-12-03 11:29:23 +01:00
Francisco ecaaf8d595 nr,gnb,sched: implement helper methods to check available PRBs in BWP, taking into account common SearchSpace BW limitations 2021-12-02 17:38:54 +00:00
Pedro Alvarez 2d42766b2e epc,s1ap,nas: reduce the logging level of MAC failures on identity response and authentication response 2021-12-02 15:20:09 +00:00
Ismael Gomez 3c929ed24c ue,sa: Sends PRACH and receives RAR, then Msg4, resolves contention resolution and pushes ConnectionSetup to RRC 2021-12-01 22:36:10 +01:00
Francisco 8a5ecfea40 nr,gnb,ngap: rename functions for extra clarity 2021-12-01 18:54:33 +00:00
Francisco 11b4a572a0 nr,gnb,rrc&ngap: implementation of NGAP UE Context Release Request and RRC Release for the case RRC_CONNECTED->RRC_IDLE 2021-12-01 18:54:33 +00:00
Andre Puschmann 091877fd2a gnb,rrc: inverse order of configuring lower layers when establishing bearer
start with lower layers first, so MAC, RLC then PDCP.
Since PDCP requires that the LCID is already registered at RLC to make config
checks. It checks for RLC mode (UM) in this case causing log entries like:

2021-12-01T13:47:40.453641 [RLC-NR ] [W] LCID 4 doesn't exist.
2021-12-01 17:44:10 +01:00
Andre Puschmann a27562cb58 gnb_stack_nr: init loglevel of common log channel
to avoid netsocket stuff to spam logs with:

2021-12-01T14:16:58.946080 [COMN   ] [D] [    0] Setting RTO_INFO options on SCTP socket. Association 0, Initial RTO 3000, Minimum RTO 1000, Maximum RTO 6000
2021-12-01T14:16:58.946084 [COMN   ] [D] [    0] Setting SCTP_INITMSG options on SCTP socket. Max attempts 3, Max init attempts timeout 5000
2021-12-01T14:16:58.946109 [COMN   ] [D] [    0] Successfully bound to address 10.8.1.22:0
2021-12-01T14:16:58.998936 [COMN   ] [D] [    0] RxSockets: socket fd=7 has been registered.
2021-12-01T14:16:58.999049 [COMN   ] [D] [    0] Successfully bound to address 10.8.1.22:2152
2021-12-01T14:16:58.999056 [COMN   ] [D] [    0] RxSockets: socket fd=8 has been registered.
2021-12-01 17:44:10 +01:00
AlaiaL c2fd340cd4
build: building srsran_rf as shared library too
* Created shared library for srsran_rf
* Using an object to build static and shared library.
* Remove the instalation of the srsran_rf library
* Renaming library to srsran_rf_shared so the name becames clearer
2021-12-01 17:37:10 +01:00
Andre Puschmann 118a2a3bc2 awgn_channel_test: disable strict check for Gaussianity
this seems to cause issues with some platforms/compilers.
needs to be dissable until proper RNG is in place
2021-12-01 14:39:36 +01:00
Andre Puschmann 2a12e91594 enb,metrics_stdout: fix printing in SA mode 2021-12-01 14:25:17 +01:00
Andre Puschmann f30059004b gtpu: remove warning when GTPU_EXT_HEADER_PDU_SESSION_CONTAINER is received 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 15025f5d57 Merge remote-tracking branch 'origin/sa_ue_rrc2' into feature_nr_sa_igm 2021-12-01 10:50:27 +01:00
Ismael Gomez 46f4be458a ue,sa: can sync and receive pbch successfully 2021-12-01 10:18:27 +01:00
Andre Puschmann 38da5a9c94 ue,rrc,test: add RRC conn setup testcase 2021-11-30 18:13:31 +01:00
Andre Puschmann 28bd93be40 ue,sa: add minimal cell selection and setup request procedure
skeleton based on EUTRA procedures
2021-11-30 18:13:23 +01:00
Ismael Gomez 219bae4fd3 srsue,sa: dummy rrc_nr to initiate dummy cell_select and phy_cfg 2021-11-30 14:45:26 +01:00
Ismael Gomez c08c56fd1d add missing library to nr_phy_test 2021-11-30 14:45:26 +01:00