osmocom-bb/src/host/trxcon
Vadim Yanitskiy 12357a7d37 trxcon/scheduler: FACCH: ensure fake measurements for BFI
According to 3GPP TS 45.003, clauses 4.2.5 and 4.3.5:

 - one FACCH/F frame steals a single speech frame,
 - one FACCH/H frame steals two speech frames.

A BFI (Bad Frame Indication) needs to be sent for each stolen
speech frame. This does not apply to CSD (data) channels though.

The BFI frames must have measurement data attached to them, and
due to their virtual nature (they do not actually come from the
air interface), the measurements must be crafted by trxcon.

Assigning a negative value to n_errors makes the code below the
'bfi' label craft fake measurement data. Otherwise, the actual
measurements belonging to the FACCH frame will be used.

Change-Id: Ia2f7c3cf7b1ef3737da6b1818cae2f001ee8768f
2020-03-08 22:50:54 +00:00
..
.gitignore host/trxcon/scheduler: add basic clock counter 2017-11-19 17:35:07 +07:00
Makefile.am trxcon/scheduler: add PDTCH channel support 2018-10-20 22:42:59 +02:00
configure.ac trxcon/configure.ac: add --enable-sanitize option 2018-03-11 14:14:51 +07:00
l1ctl.c trxcon/l1ctl.c: properly handle handover RACH request 2019-06-02 12:44:12 +00:00
l1ctl.h trxcon/l1ctl.c: pass band_arfcn to l1ctl_tx_rach_conf() 2019-05-09 22:01:28 +07:00
l1ctl_link.c trxcon/l1ctl_link.c: refactor l1ctl_link_init() 2019-01-17 11:12:00 +07:00
l1ctl_link.h trxcon: use bool for fbsb_conf_sent 2019-03-21 13:16:39 +01:00
l1ctl_proto.h host/trxcon: initial release of L1CTL handlers 2017-11-19 17:35:07 +07:00
logging.c trxcon/trxcon.c: do not expose tall_trx_ctx 2019-01-17 19:38:14 +07:00
logging.h trxcon/trxcon.c: do not expose tall_trx_ctx 2019-01-17 19:38:14 +07:00
sched_clck.c trxcon/scheduler: make TDMA_FN_INC(fn) behave like ++fn 2020-03-08 22:50:54 +00:00
sched_lchan_common.c trxcon/scheduler: refactor Downlink measurement processing 2020-03-08 22:50:54 +00:00
sched_lchan_desc.c trxcon/scheduler: refactor Downlink measurement processing 2020-03-08 22:50:54 +00:00
sched_lchan_pdtch.c trxcon/scheduler: refactor Downlink measurement processing 2020-03-08 22:50:54 +00:00
sched_lchan_rach.c host/trxcon: add optional GSMTAP frame logging support 2019-10-05 17:50:20 +07:00
sched_lchan_sch.c trxcon/scheduler: refactor Downlink measurement processing 2020-03-08 22:50:54 +00:00
sched_lchan_tchf.c trxcon/scheduler: FACCH: ensure fake measurements for BFI 2020-03-08 22:50:54 +00:00
sched_lchan_tchh.c trxcon/scheduler: FACCH: ensure fake measurements for BFI 2020-03-08 22:50:54 +00:00
sched_lchan_xcch.c trxcon/scheduler: refactor Downlink measurement processing 2020-03-08 22:50:54 +00:00
sched_mframe.c trxcon/sched_mframe.c: mark all stolen CBCH UL slots as TRXC_IDLE 2019-05-31 16:51:44 +00:00
sched_prim.c trxcon: Use current MS Power on dummy meas reports 2019-12-04 14:41:56 +01:00
sched_trx.c trxcon/scheduler: refactor Downlink measurement processing 2020-03-08 22:50:54 +00:00
sched_trx.h trxcon/scheduler: refactor Downlink measurement processing 2020-03-08 22:50:54 +00:00
scheduler.h trxcon/scheduler: make TDMA_FN_INC(fn) behave like ++fn 2020-03-08 22:50:54 +00:00
trx_if.c trxcon/scheduler: refactor Downlink measurement processing 2020-03-08 22:50:54 +00:00
trx_if.h trxcon: Suppress POWERON to TRX if we're already powered on. 2019-05-31 22:35:31 +07:00
trxcon.c Check for osmo_fsm_register() error return value 2019-12-01 13:46:06 +01:00
trxcon.h host/trxcon: add optional GSMTAP frame logging support 2019-10-05 17:50:20 +07:00