diff --git a/c/src/cm_stream.c b/c/src/cm_stream.c index 6878bf8..b33923c 100644 --- a/c/src/cm_stream.c +++ b/c/src/cm_stream.c @@ -480,6 +480,13 @@ static void service(stream_t *s) s->busy_until = (long)start + r.frame_chips; deliver(s, &r, t); } else { + /* A strong frame's last pilot (an up-chirp) can sync again just + * around its end, the time shift showing as a frequency offset. + * Nothing follows it, so its header fails. A real frame starting + * there, back to back, is still tried above and delivered if it + * decodes; only the failure is treated as the false alarm it is. */ + if (s->n_ok > 0 && start < s->busy_until + M) + continue; s->n_fail++; if (s->cfg.report_failures) deliver(s, &r, t);