From ac85b34476afc341af7e09e9eca368835cd9d68b Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 12 Jul 2018 21:23:26 +0200 Subject: lchan_fsm: split off lchan_rtp_fsm, establish RTP a bit earlier Change-Id: Id7a4407d9b63be05ce63f5f2768b7d7e3d5c86fb --- include/osmocom/bsc/gsm_data.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/osmocom/bsc/gsm_data.h') diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h index d8d10c95d..12bc5c354 100644 --- a/include/osmocom/bsc/gsm_data.h +++ b/include/osmocom/bsc/gsm_data.h @@ -499,13 +499,15 @@ struct gsm_lchan { char *name; struct osmo_fsm_inst *fi; + struct osmo_fsm_inst *fi_rtp; struct mgwep_ci *mgw_endpoint_ci_bts; struct { enum lchan_activate_mode activ_for; + bool activ_ack; /*< true as soon as RSL Chan Activ Ack is received */ bool concluded; /*< true as soon as LCHAN_ST_ESTABLISHED is reached */ bool requires_voice_stream; - bool mgw_endpoint_available; + bool wait_before_switching_rtp; /*< true = requires LCHAN_EV_READY_TO_SWITCH_RTP */ uint16_t msc_assigned_cic; enum gsm0808_cause gsm0808_error_cause; struct gsm_lchan *re_use_mgw_endpoint_from_lchan; -- cgit v1.2.3