From 8940400aa6c7fc7bd16f792971e257a8edbe0266 Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Mon, 8 Apr 2024 14:19:35 +0200 Subject: [PATCH] Define subband power avg through MAX_ANT, is bigger --- openair1/PHY/defs_gNB.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openair1/PHY/defs_gNB.h b/openair1/PHY/defs_gNB.h index c4ef28bc0b..9a73311c6a 100644 --- a/openair1/PHY/defs_gNB.h +++ b/openair1/PHY/defs_gNB.h @@ -519,7 +519,7 @@ typedef struct { //! estimated avg subband noise power (dB) unsigned int n0_subband_power_avg_dB; //! estimated avg subband noise power per antenna (dB) - unsigned int n0_subband_power_avg_perANT_dB[NB_ANTENNAS_RX]; + unsigned int n0_subband_power_avg_perANT_dB[MAX_ANT]; //! estimated avg noise power per RB (dB) int n0_subband_power_tot_dB[275]; //! estimated avg noise power per RB (dBm)