From d0d7ab4662f8e76eead8bd6c50c19e40d339d66d Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Mon, 28 Dec 2020 16:20:13 +0100 Subject: [PATCH] srsenb: log cell gain updates add a logline in info whenever the user updates the cell individual gain. Note that this log happens before checking whether the cell even exists and can be updated. This is mainly because phy_common doesn't have an own logger object. --- srsenb/src/phy/phy.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/srsenb/src/phy/phy.cc b/srsenb/src/phy/phy.cc index 791624f7c..9f1e60170 100644 --- a/srsenb/src/phy/phy.cc +++ b/srsenb/src/phy/phy.cc @@ -234,6 +234,7 @@ void phy::get_metrics(std::vector& metrics) void phy::cmd_cell_gain(uint32_t cell_id, float gain_db) { + Info("set_cell_gain: cell_id=%d, gain_db=%.2f\n", cell_id, gain_db); workers_common.set_cell_gain(cell_id, gain_db); }