Commit Graph

9819 Commits

Author SHA1 Message Date
Ismael Gomez 120ad5c72f ue: store new EARFCN in the foreground of cell_select to avoid race conditions with the other cmd_worker 2021-12-22 22:41:24 +01:00
Ismael Gomez 99632d6b41 Add lib dependency for new skiq version 2021-12-22 22:41:10 +01:00
Ismael Gomez 70d6e596f7 nr: add RAR ue_dl_nr_file test 2021-12-22 17:15:49 +01:00
Robert Falkenberg 226001709d srsUE: refactor option to filter N_id_1 / SSS to configuration
* pick the cell with strongest peak (instead of last match)
* proper selection if N_id_2 was forced too
* add comment explaining potential occlusion of cells
2021-12-22 17:13:21 +01:00
Merlin Chlosta c967b688ff emergency handler for NAS PCAP to close file
Previously NAS PCAP wasn't closed/fflushed on
unclean exit, resulting in missing or corrupted PCAP.
2021-12-22 17:13:21 +01:00
Matan Perelman 0dff58613f srsUE: Add option to filter N_id_1 / SSS to configuration 2021-12-22 17:13:21 +01:00
Matan Perelman 5302f1b23c Sync: Fix incorrect log line 2021-12-22 17:13:21 +01:00
Nils Fürste 5403468f14 Fix cmake for SoapySDR 2021-12-20 16:34:34 +01:00
Robert Falkenberg 767d5390f9 benchmark_radio: don't join plot_thread if not requested 2021-12-20 10:15:32 +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
Fabian Eckermann 94c2967486 Return correct iterator value. 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
Francisco 486dd9099c nr,gnb,sched: fix crash in mcs selection loop 2021-12-15 13:20:38 +00:00
Francisco ffca2f7684 nr,gnb,sched: expose cqi in slot_ue object 2021-12-15 13:20:38 +00:00
Francisco 2a933ed8ad nr,gnb,sched: refactor filling of dci harq fields 2021-12-15 13:20:38 +00:00
Francisco 632f2dbddd nr,gnb,sched: changed pdsch_allocator interface and extended its respective unit tests 2021-12-15 13:20:38 +00:00
Andre Puschmann dd28f173b0 ue: log fixes 2021-12-15 12:15:33 +01:00
joaquim-SRS 213769fa3d Fix stringop overflow error 2021-12-14 20:37:28 +01:00
faluco 12c1e68156 Raise the minimum CMake version to 3.10 as it is the one used in Ubuntu 18.04LTS. 2021-12-14 20:35:32 +01:00
Fabian Eckermann 7f6fd45b1f Add NSA TDD/FDD tests for new RRC reconfiguration interface. 2021-12-14 18:00:49 +01:00
Fabian Eckermann 6252d94ef4 Change NSA RRC reconfiguration interface to prepare for SA. 2021-12-14 18:00:49 +01:00
Fabian Eckermann 1407983c75 Add decoding of RRC setup. 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
Ismael Gomez 0ea7dbee2d srsue,phy: initialize NR PHY only if NR carriers are defined in ue.conf 2021-12-09 21:15:16 +01:00
Francisco fe35787130 nr,gnb,sched: remove unused files 2021-12-09 17:11:41 +00:00
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