osmo-bts/tests
Vadim Yanitskiy 284f16e7d7 measurement: fix matching of SUB frames by TDMA FN
3GPP TS 45.008, section 8.3 defines active TDMA frame subsets for
TCH channels, which shall always be transmitted even during the
silence periods in DTX mode of operation.  Each frame number
listed in this section corresponds to a single burst.

The Uplink measurements always contain TDMA FN of the *first* burst
of a block, so it does not make sense to match the given FN against
all FNs in the respective subset.  Instead, we should match only
specific FNs in accordance with the block mapping rules defined in
3GPP TS 45.002, section 7, table 1.

In the active subset for TCH/F there is only one *complete* block
starting at FN=52.  Incomplete blocks {52, 53, 54, 55} and {56, 57,
58, 59} contain only 50% of the useful bits (partial SID) and thus
~50% BER, so we don't treat them as SUB.

In the active subsets for TCH/H there are two *complete* blocks
for each sub-slot.  Their respective first FNs can be efficiently
defined in a lookup table (see ts45008_dtx_tchh_fn_map[]).  Note
that we can use a single lookup table for both sub-slots of TCH/H
because their TDMA FNs do not overlap.

This patch fixes unexpected SUB-RxQual values > 0 on TCH channels
with DTXu enabled and other than AMR (HR, FR, EFR) codec in use.

Change-Id: I8cc3a755a8ad4dc564439aab2298c1e97ac0592d
Related: SYS#5853
2022-05-10 16:49:16 +03:00
..
agch tests: use 'check_PROGRAMS' instead of 'noinst_PROGRAMS' 2022-04-15 01:01:16 +03:00
amr struct amr_multirate_conf: remove ms_mode[], raname bts_mode[] 2022-04-17 13:14:59 +00:00
cipher tests: use 'check_PROGRAMS' instead of 'noinst_PROGRAMS' 2022-04-15 01:01:16 +03:00
handover tests: use 'check_PROGRAMS' instead of 'noinst_PROGRAMS' 2022-04-15 01:01:16 +03:00
meas measurement: fix matching of SUB frames by TDMA FN 2022-05-10 16:49:16 +03:00
misc tests: use 'check_PROGRAMS' instead of 'noinst_PROGRAMS' 2022-04-15 01:01:16 +03:00
paging tests: use 'check_PROGRAMS' instead of 'noinst_PROGRAMS' 2022-04-15 01:01:16 +03:00
power tests: use 'check_PROGRAMS' instead of 'noinst_PROGRAMS' 2022-04-15 01:01:16 +03:00
sysmobts tests: use 'check_PROGRAMS' instead of 'noinst_PROGRAMS' 2022-04-15 01:01:16 +03:00
ta_control tests: use 'check_PROGRAMS' instead of 'noinst_PROGRAMS' 2022-04-15 01:01:16 +03:00
tx_power tests: use 'check_PROGRAMS' instead of 'noinst_PROGRAMS' 2022-04-15 01:01:16 +03:00
Makefile.am sched_lchan_tch_x: use functions to determine AMR tranmssion phase 2021-09-02 17:43:15 +00:00
osmo-bts.vty VTY: fix ambiguity in BTS specific command definitions 2022-03-09 07:23:50 +00:00
stubs.c Constify the 'trx' argument of trx_get_hlayer1() everywhere 2020-08-03 02:08:14 +07:00
testsuite.at tests/amr: add a unit test for amr_parse_mr_conf() 2022-04-13 18:04:20 +03:00