Project

General

Profile

Actions

Bug #5974

closed

When TCH UL frames are stolen for FACCH, RTP stream from sysmoBTS is messed up

Added by falconia over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
osmo-bts-sysmo
Target version:
-
Start date:
03/27/2023
Due date:
% Done:

100%

Spec Reference:

Description

This bug is specific to sysmoBTS platform and osmo-bts-sysmo. As I understand it, when a TCH/F is active, in every 20 ms time window the PHY sends either a GsmL1_Sapi_TchF message or a GsmL1_Sapi_FacchF message to the unit's Linux processor, but not both. In other words, if a TCH UL frame was stolen for FACCH, there will be a GsmL1_Sapi_FacchF in that time window, but no GsmL1_Sapi_TchF. However, the code path that eventually leads to RTP output or at least an RTP timestamp increment is invoked only for GsmL1_Sapi_TchF, and as a result the 20 ms time window with FACCH is missed altogether for RTP purposes. The resulting effect in the emitted RTP stream is that the sequence number increments by 1 and the timestamp increments by 160 between two successive packets, but the time interval between them is 40 ms instead of 20 ms - in other words, the timestamp increment fails to reflect the actual timing reality.

I have only tested with FR1 and EFR, but I reason that the same behavior most likely occurs with AMR and HR1 too.


Files

os5974-themwi.patch os5974-themwi.patch 4.03 KB falconia, 03/27/2023 03:56 PM

Related issues

Related to OsmoBTS - Feature #5975: Provide a configurable option to emit a continuous RTP stream without gapsResolvedfalconia03/27/2023

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)