aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/bsc/osmo_bsc_lcls.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocom/bsc/osmo_bsc_lcls.h')
-rw-r--r--include/osmocom/bsc/osmo_bsc_lcls.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/osmocom/bsc/osmo_bsc_lcls.h b/include/osmocom/bsc/osmo_bsc_lcls.h
index d98fe98dd..8bbd55241 100644
--- a/include/osmocom/bsc/osmo_bsc_lcls.h
+++ b/include/osmocom/bsc/osmo_bsc_lcls.h
@@ -1,4 +1,7 @@
#pragma once
+
+#include "gsm_data.h"
+
#include <osmocom/core/fsm.h>
enum lcls_fsm_state {
@@ -29,6 +32,19 @@ enum lcls_event {
LCLS_EV_OTHER_DEAD,
};
+enum bsc_lcls_mode {
+ BSC_LCLS_MODE_DISABLED,
+ BSC_LCLS_MODE_MGW_LOOP,
+ BSC_LCLS_MODE_BTS_LOOP,
+};
+
+extern const struct value_string bsc_lcls_mode_names[];
+
+static inline const char *bsc_lcls_mode_name(enum bsc_lcls_mode m)
+{
+ return get_value_string(bsc_lcls_mode_names, m);
+}
+
enum gsm0808_lcls_status lcls_get_status(const struct gsm_subscriber_connection *conn);
void lcls_update_config(struct gsm_subscriber_connection *conn,