From 4c6a1c722bfef281f3bdf324a26ea3bd32714895 Mon Sep 17 00:00:00 2001 From: Roberto Louro Magueta Date: Fri, 16 Dec 2022 17:56:55 +0000 Subject: [PATCH] Change input of rrc_get_max_nr_csrs() from uint8_t to int --- common/utils/nr/nr_common.h | 2 +- openair2/RRC/NR/nr_rrc_config.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/utils/nr/nr_common.h b/common/utils/nr/nr_common.h index 8cd210dec8..858ccd4109 100644 --- a/common/utils/nr/nr_common.h +++ b/common/utils/nr/nr_common.h @@ -82,7 +82,7 @@ int get_dmrs_port(int nl, uint16_t dmrs_ports); uint16_t SL_to_bitmap(int startSymbolIndex, int nrOfSymbols); int get_nb_periods_per_frame(uint8_t tdd_period); int get_supported_band_index(int scs, int band, int n_rbs); -long rrc_get_max_nr_csrs(uint8_t max_rbs, long b_SRS); +long rrc_get_max_nr_csrs(const int max_rbs, long b_SRS); void get_samplerate_and_bw(int mu, int n_rb, int8_t threequarter_fs, diff --git a/openair2/RRC/NR/nr_rrc_config.c b/openair2/RRC/NR/nr_rrc_config.c index 7476286d5f..e5c1d4bd2b 100644 --- a/openair2/RRC/NR/nr_rrc_config.c +++ b/openair2/RRC/NR/nr_rrc_config.c @@ -375,7 +375,7 @@ void config_csiim(int do_csirs, int dl_antenna_ports, int curr_bwp, } // TODO: Implement to b_SRS = 1 and b_SRS = 2 -long rrc_get_max_nr_csrs(const uint8_t max_rbs, const long b_SRS) { +long rrc_get_max_nr_csrs(const int max_rbs, const long b_SRS) { if(b_SRS>0) { LOG_E(NR_RRC,"rrc_get_max_nr_csrs(): Not implemented yet for b_SRS>0\n");