summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-03-10 15:32:25 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2019-03-10 15:32:29 +0700
commit803e420a4f23c9e83286d521eb39621f736d3e11 (patch)
treefa4dc25e2ef25dedc717ae98f179d789a8990add
parent4d3337c9ab9d90c2e86d2766076f0f7c045bb83b (diff)
trxcon/scheduler: clarify decoding of incomplete xCCH blocks
Inspired by Sylvain's message at #osmocom. Change-Id: I3f499837413e1dbd0ca62229dc9cb6f0f7475a42
-rw-r--r--src/host/trxcon/sched_lchan_xcch.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/host/trxcon/sched_lchan_xcch.c b/src/host/trxcon/sched_lchan_xcch.c
index 71eb38d..2d2b1d9 100644
--- a/src/host/trxcon/sched_lchan_xcch.c
+++ b/src/host/trxcon/sched_lchan_xcch.c
@@ -92,6 +92,10 @@ int rx_data_fn(struct trx_instance *trx, struct trx_ts *ts,
(*first_fn) % ts->mf_layout->period,
ts->mf_layout->period,
lchan_desc->name);
+ /* NOTE: xCCH has an insane amount of redundancy for error
+ * correction, so even just 2 valid bursts might be enough
+ * to reconstruct some L2 frames. This is why we do not
+ * abort here. */
}
/* Attempt to decode */