From 58a9ef6e7f6ebd42e1ca0a9720769a2e65ab95d8 Mon Sep 17 00:00:00 2001 From: Xavier Arteaga Date: Wed, 7 Apr 2021 17:12:21 +0200 Subject: [PATCH] Minor NR PHY tweaks and aesthetic --- lib/src/phy/phch/csi.c | 2 +- lib/src/phy/ue/ue_dl_nr.c | 2 +- lib/test/phy/phy_dl_nr_test.c | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/src/phy/phch/csi.c b/lib/src/phy/phch/csi.c index 02ced3f83..9811a5d11 100644 --- a/lib/src/phy/phch/csi.c +++ b/lib/src/phy/phch/csi.c @@ -20,7 +20,7 @@ /// Implements SNRI to CQI conversion uint32_t csi_snri_db_to_cqi(srsran_csi_cqi_table_t table, float snri_db) { - return 6; + return 15; } // Implements CSI report triggers diff --git a/lib/src/phy/ue/ue_dl_nr.c b/lib/src/phy/ue/ue_dl_nr.c index 2e8cc014b..e8767b9d6 100644 --- a/lib/src/phy/ue/ue_dl_nr.c +++ b/lib/src/phy/ue/ue_dl_nr.c @@ -14,7 +14,7 @@ #include #define UE_DL_NR_PDCCH_CORR_DEFAULT_THR 0.5f -#define UE_DL_NR_PDCCH_EPRE_DEFAULT_THR -10.0f +#define UE_DL_NR_PDCCH_EPRE_DEFAULT_THR -80.0f static int ue_dl_nr_alloc_prb(srsran_ue_dl_nr_t* q, uint32_t new_nof_prb) { diff --git a/lib/test/phy/phy_dl_nr_test.c b/lib/test/phy/phy_dl_nr_test.c index 9af874437..ad1cc48f0 100644 --- a/lib/test/phy/phy_dl_nr_test.c +++ b/lib/test/phy/phy_dl_nr_test.c @@ -367,8 +367,6 @@ int main(int argc, char** argv) goto clean_exit; } - srsran_vec_fprint_i(stdout, (int*)ncce_candidates, nof_candidates); - // Setup DCI location srsran_dci_location_t dci_location = {}; dci_location.ncce = ncce_candidates[0];