From 7e3a45d29c39f520516d523ebc2c52a1d05b7244 Mon Sep 17 00:00:00 2001
From: "lu.xu" <lu.xu@nexedi.com>
Date: Wed, 13 Mar 2024 14:34:36 +0100
Subject: [PATCH] software/ors-amarisoft: mac_config and dpc_snr_target adapted
 for RU

---
 software/ors-amarisoft/buildout.hash.cfg     |  2 +-
 software/ors-amarisoft/config/enb.jinja2.cfg | 11 +++++++++--
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/software/ors-amarisoft/buildout.hash.cfg b/software/ors-amarisoft/buildout.hash.cfg
index e12bb6143..c6c56ae5c 100644
--- a/software/ors-amarisoft/buildout.hash.cfg
+++ b/software/ors-amarisoft/buildout.hash.cfg
@@ -112,7 +112,7 @@ md5sum = 3b901e8733e6afff8940c6c318da4493
 
 [enb.jinja2.cfg]
 filename = config/enb.jinja2.cfg
-md5sum = 30a26b975100b1af8937dfe3a7f5f496
+md5sum = f2bcf871173026880c2160f1accfd060
 
 [drb_lte.jinja2.cfg]
 filename = config/drb_lte.jinja2.cfg
diff --git a/software/ors-amarisoft/config/enb.jinja2.cfg b/software/ors-amarisoft/config/enb.jinja2.cfg
index 27be970e5..b22abe712 100644
--- a/software/ors-amarisoft/config/enb.jinja2.cfg
+++ b/software/ors-amarisoft/config/enb.jinja2.cfg
@@ -420,17 +420,24 @@
     sr_period: 20,
 
     cqi_period: 40,
-
+{%-     if ors %}
     mac_config: {
        ul_max_harq_tx: 5,
        dl_max_harq_tx: 5,
     },
+    dpc_pucch_snr_target: 25,
+{%-     else %}
+    mac_config: {
+       ul_max_harq_tx: 28,
+       dl_max_harq_tx: 28,
+    },
+    dpc_pucch_snr_target: 20,
+{%-     endif %}
 
     pusch_max_its: 6,
 
     dpc: true,
     dpc_pusch_snr_target: 25,
-    dpc_pucch_snr_target: 25,
 
     cipher_algo_pref: [],
     integ_algo_pref: [2, 1],
-- 
2.30.9