Commit Graph

9786 Commits

Author SHA1 Message Date
Carlo Galiotto 861648aa35 rrc-nr: differentiate SA csi_meas_cfg from NSA
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto 3d39f4b55f rrc-nr: remove unnecessary variable toggle
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto 655fb7204f rrc-nr: set CSI config for SA only
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto d7e4018adf sched: remove unused function
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto b359c7b728 sched,nr: add comments and rename variables
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto 0f92869156 rrc,sched: add csi-MeasConfig setup in RRC
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto 9be9bd659e sched,nr: add CQI to SE and SE to MCS mapping ...
for scheduler + add CQi reporting from PHY to scheduler

Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto 2040a88bf9 sched: add comments + rename variable
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto cd32f1385a sched,test: add test for CQI->MCS mapping fnc
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto db983175a8 sched: remove CQI->MCS mapping from PDSCH allocator
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto 3a7739fba5 sched: add CQI->MCS mapping to PDSCH allocator
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto a7255cfac6 sched: add fnc to map CQI to MCS
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Francisco Paisana 40138c7125 changed namespace of asn1 ngap from 'ngap_nr' to simply 'ngap' 2022-01-05 18:26:05 +01:00
Ismael Gomez cc635168dd enb,rrc: add more context to log line 2021-12-30 20:11:27 +01:00
Ismael Gomez 4d382905fd ue,lte: run parse_meas_config after RACH is complete to avoid race condition with PHY reset 2021-12-22 22:41:24 +01:00
Ismael Gomez daa7d8cdb5 Increase number of tunnels per UE 2021-12-22 22:41:24 +01:00
Ismael Gomez 2d31e11144 ue,lte: update rx_gain_offset more frequently. Avoid calling UHD driver when getting rx_gain 2021-12-22 22:41:24 +01:00
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