From 44921bd65dd0701e783a9f99dcda32204d3f0279 Mon Sep 17 00:00:00 2001 From: Thomas Kolb Date: Fri, 20 Sep 2024 23:10:49 +0200 Subject: [PATCH] Decrease the AGC bandwidth during signal acquisition This prevents rapid squelch activation/deactivation if only noise is present. The AGC bandwidth was tuned such that it still allows preambles to be detected reliably. --- impl/src/layer1/rx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/impl/src/layer1/rx.c b/impl/src/layer1/rx.c index 4415813..a0027b5 100644 --- a/impl/src/layer1/rx.c +++ b/impl/src/layer1/rx.c @@ -33,7 +33,7 @@ #define HEADER_SIZE_BYTES 2 #define FREQ_EST_L 24 -#define AGC_BW_ACQUISITION 5e-2f +#define AGC_BW_ACQUISITION 3e-2f #define AGC_BW_TRACKING 1e-4f #define SQUELCH_TIMEOUT_MS 2