From 4ba4d43aa609d406e18e7534f8c0a2a1f6861e25 Mon Sep 17 00:00:00 2001
From: Cedric Roux <cedric.roux@eurecom.fr>
Date: Mon, 18 Jun 2018 12:51:02 +0200
Subject: [PATCH] set proper default values for puSch10xSnr and puCch10xSnr

20 was wrong, it means 2 dB.

200 is a bit high on my setup. Today the code hardcodes the noise
level as 30dB and a target of 20dB above noise is chosen by default.
Some more work is needed to estimate the real noise level. Some
more work is needed to set proper defaults.
---
 openair2/ENB_APP/MACRLC_paramdef.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/openair2/ENB_APP/MACRLC_paramdef.h b/openair2/ENB_APP/MACRLC_paramdef.h
index 5496e96e4e..6326691ea1 100644
--- a/openair2/ENB_APP/MACRLC_paramdef.h
+++ b/openair2/ENB_APP/MACRLC_paramdef.h
@@ -78,8 +78,8 @@
 {CONFIG_STRING_MACRLC_REMOTE_S_PORTC,                    NULL,     0,          uptr:NULL,           defintval:50020,           TYPE_UINT,     0},        \
 {CONFIG_STRING_MACRLC_LOCAL_S_PORTD,                     NULL,     0,          uptr:NULL,           defintval:50021,           TYPE_UINT,     0},        \
 {CONFIG_STRING_MACRLC_REMOTE_S_PORTD,                    NULL,     0,          uptr:NULL,           defintval:50021,           TYPE_UINT,     0},        \
-{CONFIG_MACRLC_PUSCH10xSNR,  		                     NULL,     0,          iptr:NULL,           defintval:20,             TYPE_INT,     0},         \
-{CONFIG_MACRLC_PUCCH10xSNR,  		                     NULL,     0,          iptr:NULL,           defintval:20,             TYPE_INT,     0}         \
+{CONFIG_MACRLC_PUSCH10xSNR,  		                     NULL,     0,          iptr:NULL,           defintval:200,             TYPE_INT,     0},         \
+{CONFIG_MACRLC_PUCCH10xSNR,  		                     NULL,     0,          iptr:NULL,           defintval:200,             TYPE_INT,     0}         \
 }
 #define MACRLC_CC_IDX                                          0
 #define MACRLC_TRANSPORT_N_PREFERENCE_IDX                      1
-- 
GitLab