diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2020-03-05 05:01:18 +0700 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2020-03-08 22:50:54 +0000 |
commit | 61a06f4d36cf40c97bb6c08daccc84fe2beefe94 (patch) | |
tree | 2eba61216da164eb299f2135c328d76f28385abb | |
parent | 12357a7d37ccfbf9fddb1a5833826ac7460b1f94 (diff) |
trxcon/scheduler: fix n_errors for BFI triggered by FACCH
These BFI (Bad Frame Indications) substitute speech frames stolen
by FACCH/F or FACCH/H frames, so there can be no bit errors in
something that was not even transmitted over the air interface.
Change-Id: Icdb6209f75ead6581e3c18aeee0da9831aaa272a
-rw-r--r-- | src/host/trxcon/sched_lchan_tchf.c | 4 | ||||
-rw-r--r-- | src/host/trxcon/sched_lchan_tchh.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/host/trxcon/sched_lchan_tchf.c b/src/host/trxcon/sched_lchan_tchf.c index 788d1532..6531e11c 100644 --- a/src/host/trxcon/sched_lchan_tchf.c +++ b/src/host/trxcon/sched_lchan_tchf.c @@ -155,7 +155,9 @@ bfi: .toa256 = 0, .rssi = -110, }; - n_errors = 116 * 4; + + /* No bursts => no errors */ + n_errors = 0; } /* BFI is not applicable in signalling mode */ diff --git a/src/host/trxcon/sched_lchan_tchh.c b/src/host/trxcon/sched_lchan_tchh.c index 013dba94..e7037fe5 100644 --- a/src/host/trxcon/sched_lchan_tchh.c +++ b/src/host/trxcon/sched_lchan_tchh.c @@ -349,7 +349,9 @@ bfi: .toa256 = 0, .rssi = -110, }; - n_errors = 116 * 2; + + /* No bursts => no errors */ + n_errors = 0; } /* Calculate TDMA frame number of the first burst */ |