fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/27483 )
Change subject: osmo-bts-trx: rx_tchh_fn(): do not calculate BER10k for FACCH twice ......................................................................
osmo-bts-trx: rx_tchh_fn(): do not calculate BER10k for FACCH twice
We already have BER10k calculated in the generic code path, so do not calculate it once again in the FACCH specific branch.
Change-Id: I5d3955d09990e280d11d687385eeaf5edf437395 --- M src/osmo-bts-trx/sched_lchan_tchh.c 1 file changed, 0 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/83/27483/1
diff --git a/src/osmo-bts-trx/sched_lchan_tchh.c b/src/osmo-bts-trx/sched_lchan_tchh.c index e47eeb4..ea3d63d 100644 --- a/src/osmo-bts-trx/sched_lchan_tchh.c +++ b/src/osmo-bts-trx/sched_lchan_tchh.c @@ -271,7 +271,6 @@ /* FACCH */ if (rc == GSM_MACBLOCK_LEN) { chan_state->ul_ongoing_facch = 1; - uint16_t ber10k = compute_ber10k(n_bits_total, n_errors); if (lchan->nr == 0) fn_begin = gsm0502_fn_remap(bi->fn, FN_REMAP_FACCH_H0); else