osmocom-bb/src/host
Vadim Yanitskiy 1bffe899d9 trxcon/scheduler: introduce TCH/H TDMA frame mapping helpres
Unlike xCCH, TCH/H channels are using block diagonal interleaving,
so every single burst carries 57 bits of one traffic frame, and 57
bits of another one. Moreover, unlike TCH/F where both traffic
and FACCH/F frames are interleaved over 8 bursts, a FACCH/H is
interleaved over 6 bursts, while a traffic frame is interleaved
over 4 bursts.

This is why a TCH/H burst transmission can't be initiated on
an arbitrary TDMA frame number. It shall be aligned as of
stated in GSM 05.02, clause 7, table 1.

This change introduces two basic functions:

  - sched_tchh_block_map_fn - checks if a TCH/H block transmission
    can be initiated / finished on a given frame number
    and a given channel type;

  - sched_tchh_block_dl_first_fn - calculates TDMA frame number of
    the first burst using given frame number of the last burst;

and some auxiliary wrappers to simplify the usage of
sched_tchh_block_map_fn().

Change-Id: Iaf4cb33f1b79df23f8a90c8b14ebe0cd9907fbb9
2018-09-16 02:12:09 +07:00
..
calypso_pll Initial import of OsmocomBB into git repository 2010-02-18 16:46:36 +01:00
fb_tools Drop unused imports from the python utilities. 2012-10-01 03:21:53 +02:00
gprsdecode Import gprsdecode utility from SRLabs 2018-02-06 14:05:17 +07:00
gsmmap gsmmap: Dump SYSTEM INFORMATION messages while processing 2011-07-31 10:48:46 +02:00
layer23 common/l1ctl.c: fix: use signed type for TA in l1ctl_tx_param_req() 2018-09-07 09:02:19 +00:00
osmocon osmoload: Use osmo_sock_unix_init_ofd() from libosmocore 2018-09-06 16:14:47 +02:00
rita_pll add perl scripts to compute MTK RF Transceiver PLL settings 2010-12-11 05:23:58 +01:00
trxcon trxcon/scheduler: introduce TCH/H TDMA frame mapping helpres 2018-09-16 02:12:09 +07:00
virt_phy cosmetic: add commandline help 2018-08-27 13:03:20 +02:00