From 9eb1d24504abbc684e9a19bbbaa0cdd37c8f8b65 Mon Sep 17 00:00:00 2001 From: Thomas Schlichter Date: Fri, 11 Nov 2022 10:50:09 +0100 Subject: [PATCH] fix size of arrays n0_subband_power and n0_subband_power_dB --- openair1/PHY/defs_gNB.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openair1/PHY/defs_gNB.h b/openair1/PHY/defs_gNB.h index 77b8548d83..d009e53671 100644 --- a/openair1/PHY/defs_gNB.h +++ b/openair1/PHY/defs_gNB.h @@ -648,9 +648,9 @@ typedef struct { //! estimated avg noise power (dB) unsigned int n0_power_tot_dB; //! estimated avg noise power per RB per RX ant (lin) - unsigned int n0_subband_power[MAX_NUM_RU_PER_gNB][275]; + unsigned int n0_subband_power[NB_ANTENNAS_RX][275]; //! estimated avg noise power per RB per RX ant (dB) - unsigned int n0_subband_power_dB[MAX_NUM_RU_PER_gNB][275]; + unsigned int n0_subband_power_dB[NB_ANTENNAS_RX][275]; //! estimated avg subband noise power (dB) unsigned int n0_subband_power_avg_dB; //! estimated avg subband noise power per antenna (dB)