trxcon/l1sched: tx_tch[fh]_fn(): fix sending idle CSD frames
commitc56247071cc6faf8bcbbb511795d1e39aa87a0de
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>
Thu, 9 Nov 2023 19:39:48 +0000 (10 02:39 +0700)
committerlaforge <laforge@osmocom.org>
Tue, 14 Nov 2023 20:44:38 +0000 (14 20:44 +0000)
tree7c7a28bda6439077f8c8ccfe682162ec6388c605
parent3aa20b9959abad8ce6e31f09d1344ddfd70c9208
trxcon/l1sched: tx_tch[fh]_fn(): fix sending idle CSD frames

In accordance with 3GPP TS 44.021, sections 8.1.6 and 10.2.3, the
transmission of idle frames to the DTE is mandated when no data is
received from the radio interface.  An idle frame has all data,
status, and E-bits to binary '1' (excluding the alignment pattern).

This requirement is currently implemented by osmo-bts for the Uplink,
and is going to be adopted for the Downlink (see the related patch).

This patch brings trxcon/l1sched in sync with osmo-bts-trx.

Change-Id: I7dea3dde46bc02814e99c3e873298cc7ed045a51
Related: osmo-bts.git I0b25cfac41b6d8dcf3bfd9d46d51a9665f1b047a
Related: OS#1572, OS#4396
src/host/trxcon/src/sched_lchan_tchf.c
src/host/trxcon/src/sched_lchan_tchh.c