diff options
author | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2015-04-06 00:12:02 +0300 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2015-09-22 16:41:31 +0200 |
commit | 6fceaca584aa84214ccf747257344f1fe95caeee (patch) | |
tree | 8e139d2f300c759402ec2d99f0f41d697db7c7c8 /src/osmo-bts-trx/l1_if.h | |
parent | ddc0bf14d5d5c8b3248eab0463399ae0a5bb8e3f (diff) |
trx: Implement BER calculations.
A known issue with this code is that BER is not updated for lost TCH frames,
because osmo-trx doesn't send any indication for them and we don't have
a callback to handle this.
Otherwise the code seem to work fine.
Diffstat (limited to 'src/osmo-bts-trx/l1_if.h')
-rw-r--r-- | src/osmo-bts-trx/l1_if.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/osmo-bts-trx/l1_if.h b/src/osmo-bts-trx/l1_if.h index 5110cde1..278537e1 100644 --- a/src/osmo-bts-trx/l1_if.h +++ b/src/osmo-bts-trx/l1_if.h @@ -171,7 +171,9 @@ int check_transceiver_availability(struct gsm_bts *bts, int avail); int l1if_provision_transceiver_trx(struct trx_l1h *l1h); int l1if_provision_transceiver(struct gsm_bts *bts); int l1if_mph_time_ind(struct gsm_bts *bts, uint32_t fn); -int l1if_process_meas_res(struct gsm_bts_trx *trx, uint8_t chan_nr, float qta, - float ber, float rssi); +void l1if_fill_meas_res(struct osmo_phsap_prim *l1sap, uint8_t chan_nr, float ta, + float ber, float rssi); +int l1if_process_meas_res(struct gsm_bts_trx *trx, uint8_t tn, uint32_t fn, uint8_t chan_nr, + int n_errors, int n_bits_total, float rssi, float toa); #endif /* L1_IF_H_TRX */ |