From d7df7ae39276e825af2a1b7ac82eb74b42ec7775 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 3 Jun 2016 12:06:26 +0200 Subject: Store last used FN for TCH It's necessary to properly compute timestamp compensation for RTP packets in case of DTX (or heavy packet loss). Related: OS#22 Change-Id: Ib42c6a8614a4b73333a83181488dd4069cac14d7 --- openbsc/include/openbsc/gsm_data_shared.h | 1 + 1 file changed, 1 insertion(+) diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h index c3d5978a9..c7516c675 100644 --- a/openbsc/include/openbsc/gsm_data_shared.h +++ b/openbsc/include/openbsc/gsm_data_shared.h @@ -291,6 +291,7 @@ struct gsm_lchan { uint8_t len; } last_sid; uint8_t last_cmr; + uint32_t last_fn; } tch; /* BTS-side ciphering state (rx only, bi-directional, ...) */ uint8_t ciph_state; -- cgit v1.2.3