From 43220e42d69b4b80c6fcafc23333c9e2ae0aed5d Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Fri, 20 Nov 2020 17:51:48 +0100 Subject: [PATCH] enb: print cell bandwidth when initializing them carrier this allows to quickly check the cell bandwidth --- srsenb/src/phy/txrx.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/srsenb/src/phy/txrx.cc b/srsenb/src/phy/txrx.cc index 8ab5a7f81..6ad362f48 100644 --- a/srsenb/src/phy/txrx.cc +++ b/srsenb/src/phy/txrx.cc @@ -105,8 +105,11 @@ void txrx::run_thread() double tx_freq_hz = worker_com->get_dl_freq_hz(cc_idx); double rx_freq_hz = worker_com->get_ul_freq_hz(cc_idx); uint32_t rf_port = worker_com->get_rf_port(cc_idx); - srslte::console( - "Setting frequency: DL=%.1f Mhz, UL=%.1f MHz for cc_idx=%d\n", tx_freq_hz / 1e6f, rx_freq_hz / 1e6f, cc_idx); + srslte::console("Setting frequency: DL=%.1f Mhz, UL=%.1f MHz for cc_idx=%d nof_prb=%d\n", + tx_freq_hz / 1e6f, + rx_freq_hz / 1e6f, + cc_idx, + worker_com->get_nof_prb(cc_idx)); radio_h->set_tx_freq(rf_port, tx_freq_hz); radio_h->set_rx_freq(rf_port, rx_freq_hz); }