From f8fc226b89ccef19f07d152bd519c851faafe55a Mon Sep 17 00:00:00 2001 From: Xavier Arteaga Date: Fri, 24 Jan 2020 10:12:36 +0100 Subject: [PATCH] Removed 5dB offset to the minimum Rx gain of the AGC --- lib/src/phy/agc/agc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/phy/agc/agc.c b/lib/src/phy/agc/agc.c index b45216700..c75073529 100644 --- a/lib/src/phy/agc/agc.c +++ b/lib/src/phy/agc/agc.c @@ -105,7 +105,7 @@ static inline void agc_enter_state_hold(srslte_agc_t* q) // Bound gain in dB float gain_db = q->gain_db + q->gain_offset_db; if (gain_db < q->min_gain_db) { - gain_db = q->min_gain_db + 5.0; + gain_db = q->min_gain_db; INFO("Warning: Rx signal strength is too high. Forcing minimum Rx gain %.2fdB\n", gain_db); } else if (gain_db > q->max_gain_db) { gain_db = q->max_gain_db;