summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-06-03 12:06:26 +0200
committerMax <msuraev@sysmocom.de>2016-06-03 13:03:52 +0200
commitd7df7ae39276e825af2a1b7ac82eb74b42ec7775 (patch)
tree0c11a1314c1a9a0444a131a34352a7c018e53383
parentf9f4387686584d4575b326ac7414138d8ba0c641 (diff)
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
-rw-r--r--openbsc/include/openbsc/gsm_data_shared.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h
index c3d5978..c7516c6 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;