From 497e183487a352c0c23103a4cdb3ff4c5caa2a86 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Tue, 26 Oct 2021 10:10:26 +0200 Subject: [PATCH] rf_zmq_imp: disable Tx baseband scaling until the correct gain settings are documented and potential mis-configuration are handled. It seems that the default Tx/rx gains values are not working with this function. --- lib/src/phy/rf/rf_zmq_imp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/src/phy/rf/rf_zmq_imp.c b/lib/src/phy/rf/rf_zmq_imp.c index fbb0ea3d1..6b4c34fd4 100644 --- a/lib/src/phy/rf/rf_zmq_imp.c +++ b/lib/src/phy/rf/rf_zmq_imp.c @@ -957,7 +957,8 @@ int rf_zmq_send_timed_multi(void* h, } // Scale according to current gain - srsran_vec_sc_prod_cfc(buf, tx_gain, buf, nsamples_baseband); + // TODO: document baseband scaling for ZMQ with gain settings, etc. before enabling + // srsran_vec_sc_prod_cfc(buf, tx_gain, buf, nsamples_baseband); // Finally, transmit baseband int n = rf_zmq_tx_baseband(&handler->transmitter[i], buf, nsamples_baseband);