osmo-bts/src/osmo-bts-trx
Vadim Yanitskiy eb8059b615 osmo-bts-trx: rx_tchh_fn(): fix HR SID detection (wrong offset)
According to RFC5993, which is referenced by 3GPP TS 48.103, the
complete RTP HR payload consists of a Table-of-Contents (ToC) byte
followed by the 14 bytes of the HR codec frame.  See section 5.2.

gsm0503_tch_hr_decode() outputs frames in the RTP format with
length of 15 bytes (120 bits): 1 (ToC) + 14 (HR frame):

  +-------------+-------------------------
  | ToC section | HR codec frame ...
  +-------------+-------------------------

osmo_hr_check_sid() expects a HR codec frame of 14 bytes (112 bits)
as the input, so we should skip the ToC section when calling it.

Change-Id: Ie5fa776dcb2b2203a97aed56ecbf2450af7d87c1
Related: SYS#5853
2022-03-16 12:43:11 +03:00
..
Makefile.am initial support for static userspace probes via systemtap 2021-10-25 10:06:09 +00:00
l1_if.c Move lchan_init_lapdm inside lchan_set_state(LCHAN_S_ACTIVE) 2021-10-14 17:48:31 +02:00
l1_if.h osmo-bts-trx: new rate counter 'trx_sched:dl_fh_cache_miss' 2022-03-09 07:22:27 +00:00
loops.c [VAMOS] Re-organize osmo-bts-trx specific structures 2021-05-18 19:11:06 +00:00
loops.h [VAMOS] Re-organize osmo-bts-trx specific structures 2021-05-18 19:11:06 +00:00
main.c osmo-bts-trx: new rate counter 'trx_sched:dl_fh_cache_miss' 2022-03-09 07:22:27 +00:00
probes.d initial support for static userspace probes via systemtap 2021-10-25 10:06:09 +00:00
sched_lchan_fcch_sch.c [VAMOS] common/scheduler: unify symbol names for training sequences 2021-06-01 02:46:43 +00:00
sched_lchan_pdtch.c osmo-bts-trx: use l1ts as talloc context for burst buffers 2021-12-12 18:59:34 +03:00
sched_lchan_rach.c [VAMOS] Re-organize osmo-bts-trx specific structures 2021-05-18 19:11:06 +00:00
sched_lchan_tchf.c osmo-bts-trx: do not run osmo_{fr,hr}_check_sid() on FACCH/U frames 2022-03-10 17:23:27 +03:00
sched_lchan_tchh.c osmo-bts-trx: rx_tchh_fn(): fix HR SID detection (wrong offset) 2022-03-16 12:43:11 +03:00
sched_lchan_xcch.c osmo-bts-trx: use l1ts as talloc context for burst buffers 2021-12-12 18:59:34 +03:00
sched_utils.h sched_lchan_tch_x: use functions to determine AMR tranmssion phase 2021-09-02 17:43:15 +00:00
scheduler_trx.c osmo-bts-trx: new rate counter 'trx_sched:dl_fh_cache_miss' 2022-03-09 07:22:27 +00:00
trx_if.c osmo-bts-trx: make use of OSMO_UNLIKELY() when handling TRXD PDUs 2022-03-06 16:51:14 +03:00
trx_if.h [VAMOS] osmo-bts-trx: properly handle per-timeslot TSC values 2021-06-04 20:04:13 +00:00
trx_provision_fsm.c osmo-bts-trx: fix potential NULL pointer dereference 2021-10-23 01:18:27 +03:00
trx_provision_fsm.h [VAMOS] osmo-bts-trx: properly handle per-timeslot TSC values 2021-06-04 20:04:13 +00:00
trx_vty.c osmo-bts-trx: refactor 'maxdly' / 'maxdlynb' commands 2021-10-13 20:01:08 +00:00