diff options
author | Harald Welte <laforge@gnumonks.org> | 2018-06-03 12:24:27 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-06-03 12:26:42 +0200 |
commit | 1f1c56c62279bbe4203f8d8a8e8e4a771f3b4eda (patch) | |
tree | ad69f871346d1fe9b25b9d728d8355a6601c9a68 /include/osmocom/bsc/bsc_msc_data.h | |
parent | c997ceb750a67baef1a05590febe1c678b287d8f (diff) |
LCLS: add VTY config to enable/disable LCLS on per-MSC basis
The user might not want to enable LCLS support for administrative
reasons. So let's keep it disabled by default, until somebody
explicitly enables it with "lcls-mode mgw-loop".
In the future, we may want to introduce a "lcls-mode bts-loop" where we
don't loop at the BSC-colocated MGW, but where we instruct the BTSs to
feed the RTP directly to each other. This would require a
falt/transparent IP routing between the BTSs in the RAN.
Change-Id: Ied7985056c8cd182bf16119007a08cc5be14459b
Related: OS#1602
Diffstat (limited to 'include/osmocom/bsc/bsc_msc_data.h')
-rw-r--r-- | include/osmocom/bsc/bsc_msc_data.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/osmocom/bsc/bsc_msc_data.h b/include/osmocom/bsc/bsc_msc_data.h index baa58e7b3..7235fbacc 100644 --- a/include/osmocom/bsc/bsc_msc_data.h +++ b/include/osmocom/bsc/bsc_msc_data.h @@ -58,6 +58,12 @@ enum { MSC_CON_TYPE_LOCAL, }; +enum bsc_lcls_mode { + BSC_LCLS_MODE_DISABLED, + BSC_LCLS_MODE_MGW_LOOP, + /* we may later introduce BTS_LOOP here: direct RTP between BTSs */ +}; + /*! /brief Information on a remote MSC for libbsc. */ struct bsc_msc_data { @@ -85,6 +91,7 @@ struct bsc_msc_data { struct gsm48_multi_rate_conf amr_conf; struct gsm_audio_support **audio_support; int audio_length; + enum bsc_lcls_mode lcls_mode; /* ussd welcome text */ char *ussd_welcome_txt; |