Commit Graph

4514 Commits

Author SHA1 Message Date
Francisco 632f2dbddd nr,gnb,sched: changed pdsch_allocator interface and extended its respective unit tests 2021-12-15 13:20:38 +00:00
joaquim-SRS 213769fa3d Fix stringop overflow error 2021-12-14 20:37:28 +01:00
Fabian Eckermann 6252d94ef4 Change NSA RRC reconfiguration interface to prepare for SA. 2021-12-14 18:00:49 +01:00
Fabian Eckermann 93210d9bb3 Add unit tests for new functions. 2021-12-14 18:00:49 +01:00
Fabian Eckermann affdacd9b4 Add decoding of sib1. 2021-12-14 18:00:49 +01:00
Fabian Eckermann 361054da12 Clarify error message. 2021-12-14 18:00:49 +01:00
Andre Puschmann 04d3e516af awgn_channel_test: fix memleak 2021-12-10 09:48:27 +01: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
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 9a4a5345c4 nr,gnb,sched: improve sched sanity checks, and improve bwp_pdcch_allocator api 2021-12-07 12:30:39 +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
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 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
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 f30059004b gtpu: remove warning when GTPU_EXT_HEADER_PDU_SESSION_CONTAINER is received 2021-12-01 14:25:17 +01:00
Ismael Gomez 46f4be458a ue,sa: can sync and receive pbch successfully 2021-12-01 10:18:27 +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 c71ab70b83 Completed basic sync module with bypass camping. Removed ue_phy_nr and ue_phy_lte base classes 2021-11-30 14:45:26 +01:00
Ismael Gomez 6947f87bcb Add minimum NR SA logic in parent PHY class 2021-11-30 14:45:26 +01:00
Ismael Gomez fb897d2998 Refactor PHY interfaces to remove difference between SA and NSA PHY 2021-11-30 14:45:26 +01:00
Ismael Gomez 58ab8086ff Added multi gNb simulation and RF 2021-11-30 14:45:26 +01:00
Xavier Arteaga f5446422bc UE NR SA interface expects PBCH message instead of spare fields 2021-11-30 14:45:26 +01:00
Xavier Arteaga fb17e3326f More development in UE NR SA cell search 2021-11-30 14:45:26 +01:00
Xavier Arteaga b1bcc1a8c0 Initial UE NR SA PHY classes 2021-11-30 14:45:26 +01:00
dvdgrgrtt 864cb14eec Fix some clang-tidy warnings 2021-11-29 15:25:34 +01:00
dvdgrgrtt 7752feb3c2 Fix typos 2021-11-29 15:25:34 +01:00
dvdgrgrtt a4b86e5a0a Modify PUSCH power normalization
The PUSCH signal was normalized to fix the maximum amplitude instead of
the transmitted power.
2021-11-29 15:25:34 +01:00
dvdgrgrtt 7d8c519865 Restore proper file mode
The file had been mistakenly given executable permissions.
2021-11-29 15:25:34 +01:00
dvdgrgrtt f95c654aba Minor change
Forgot to check for unsuccessful malloc.
2021-11-29 15:25:34 +01:00
dvdgrgrtt 32c4da8db0 Fix typos 2021-11-29 15:25:34 +01:00
dvdgrgrtt 081428aab8 Check for Gaussianity in AWGN unit test
Implements the Anderson-Darling test to check whether noise samples are
drawn from a Gaussian distribution.
2021-11-29 15:25:34 +01:00
dvdgrgrtt bae6f13c89 Introduce function srsran_vec_sc_sum_fff
This function adds a float scalar to all elements of a float vector.
2021-11-29 15:25:34 +01:00
Francisco b27c184d2f nr,gnb,stack: add bearer manager to gNB stack to correctly map between eps bearer ids and lcids 2021-11-26 20:33:47 +00:00
Pedro Alvarez 194fb4fabf lib,rlc_am_nr: stop status prohibit timer when a polling bit is received. 2021-11-26 16:25:53 +00:00
Pedro Alvarez a038c74cc0 Only run the status prohibit timer, if it has been set before. 2021-11-26 16:25:53 +00:00
Francisco 71c0d69461 nr,gnb,phy: fix dci padding for the case of common search space type1 2021-11-26 12:34:41 +00:00
Pedro Alvarez f9a2850d74 gnb,ngap: Added interface so the NGAP can pass a NAS message to the RRC
upon starting the RRC Security Mode command. This allows the gNB to
pass this message only after the SM procedure is complete.

Also made sure that the RRC notifies the NGAP upon the end of the
reconfiguration procedure, to make sure that the NGAP sends the UE
context setup response.
2021-11-25 19:03:30 +00:00
Pedro Alvarez 942c75ae80 gnb,rrc_nr: move location of creation of nr srb PDCP configs to rrc_nr_utils.cc 2021-11-25 19:03:30 +00:00
Pedro Alvarez 14170bbba2 lib,rrc_nr: made separate function to create default PDCP SRB configs 2021-11-25 19:03:30 +00:00