aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/bsc/bsc_nat.h
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-05-16 14:06:46 +0200
committerHarald Welte <laforge@gnumonks.org>2018-05-22 09:57:42 +0000
commit20388b781d0f996922157ba20559cba1f973c808 (patch)
tree6d4b4fc543c4f30d80e2268d3ad6aa0b69716bff /include/osmocom/bsc/bsc_nat.h
parent7926d9850936dc95789bdfda811eb6e332e9c826 (diff)
nat: Add jitter buffer on the uplink receiver
Default usage values are defined in mgcp node, and can be per-BSC overriden on each bsc node. This commit is a forward-port of openbsc.git Change-Id Ibf3932adc07442fb5e9c7a06404853f9d0a20959. Depends on osmo-mgw.git Change-Id Ie19a64ac09f9d51f2434ad0d7925610fc919a90e. Change-Id: Ie07b8a577caf731d59d68e3b3510ae2f9fd3dc93
Diffstat (limited to 'include/osmocom/bsc/bsc_nat.h')
-rw-r--r--include/osmocom/bsc/bsc_nat.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/osmocom/bsc/bsc_nat.h b/include/osmocom/bsc/bsc_nat.h
index 6146c002b..bd78b9d43 100644
--- a/include/osmocom/bsc/bsc_nat.h
+++ b/include/osmocom/bsc/bsc_nat.h
@@ -175,6 +175,16 @@ struct bsc_config {
/* Osmux is enabled/disabled per BSC */
int osmux;
+
+ /* Use a jitterbuffer on the bts-side receiver */
+ bool bts_use_jibuf;
+ /* Minimum and maximum buffer size for the jitter buffer, in ms */
+ uint32_t bts_jitter_delay_min;
+ uint32_t bts_jitter_delay_max;
+ /* Enabled if explicitly configured through VTY: */
+ bool bts_use_jibuf_override;
+ bool bts_jitter_delay_min_override;
+ bool bts_jitter_delay_max_override;
};
struct bsc_lac_entry {