From 857f9179f35216e36ca16ed08cde193e81a418bc Mon Sep 17 00:00:00 2001 From: Florian Kaltenberger Date: Mon, 1 Feb 2021 10:08:59 +0100 Subject: [PATCH] shifting also the TX 4 bits to the left to exploit dynamic range. adapted ssb_block_power but proper calibration still necessary. --- targets/ARCH/ETHERNET/benetel/5g/benetel.c | 2 +- targets/PROJECTS/GENERIC-LTE-EPC/CONF/benetel-5g.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/targets/ARCH/ETHERNET/benetel/5g/benetel.c b/targets/ARCH/ETHERNET/benetel/5g/benetel.c index ab9f970931..75706f591d 100644 --- a/targets/ARCH/ETHERNET/benetel/5g/benetel.c +++ b/targets/ARCH/ETHERNET/benetel/5g/benetel.c @@ -317,7 +317,7 @@ void benetel_fh_if4p5_south_out(RU_t *ru, int i; uint16_t *p = (uint16_t *)(&s->buffers.dl[slot][symbol*1272*4]); for (i = 0; i < 1272*2; i++) { - p[i] = htons(p[i]); + p[i] = htons(p[i]<<4); } } diff --git a/targets/PROJECTS/GENERIC-LTE-EPC/CONF/benetel-5g.conf b/targets/PROJECTS/GENERIC-LTE-EPC/CONF/benetel-5g.conf index 251a76f36e..ba44e989b9 100644 --- a/targets/PROJECTS/GENERIC-LTE-EPC/CONF/benetel-5g.conf +++ b/targets/PROJECTS/GENERIC-LTE-EPC/CONF/benetel-5g.conf @@ -194,7 +194,7 @@ gNBs = nrofUplinkSymbols = 4; //0; //4; #ssPBCH_BlockPower = 10; - ssPBCH_BlockPower = -25; + ssPBCH_BlockPower = -10; } );