aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-05-29 18:02:53 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-08-27 17:40:54 +0200
commite19faeea897ef2a2fc625584077873717f601edb (patch)
treef42c548e99dc38c40b99d6cb0911e390a0b1d450 /include
parent8508ee54129dbcf0607353be824ea622e8701fad (diff)
Support for TS 04.14 conformance test commands
Diffstat (limited to 'include')
-rw-r--r--include/openbsc/Makefile.am1
-rw-r--r--include/openbsc/gsm_04_14.h15
2 files changed, 16 insertions, 0 deletions
diff --git a/include/openbsc/Makefile.am b/include/openbsc/Makefile.am
index 2558d7c1c..995f02d09 100644
--- a/include/openbsc/Makefile.am
+++ b/include/openbsc/Makefile.am
@@ -37,6 +37,7 @@ noinst_HEADERS = \
gprs_utils.h \
gsm_04_08.h \
gsm_04_11.h \
+ gsm_04_14.h \
gsm_04_80.h \
gsm_data.h \
gsm_data_shared.h \
diff --git a/include/openbsc/gsm_04_14.h b/include/openbsc/gsm_04_14.h
new file mode 100644
index 000000000..3cdbe0469
--- /dev/null
+++ b/include/openbsc/gsm_04_14.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#include <osmocom/gsm/protocol/gsm_04_14.h>
+
+int gsm0414_tx_close_tch_loop_cmd(struct gsm_subscriber_connection *conn,
+ enum gsm414_tch_loop_mode loop_mode);
+int gsm0414_tx_open_loop_cmd(struct gsm_subscriber_connection *conn);
+int gsm0414_tx_act_emmi_cmd(struct gsm_subscriber_connection *conn);
+int gsm0414_tx_test_interface(struct gsm_subscriber_connection *conn,
+ uint8_t tested_devs);
+int gsm0414_tx_reset_ms_pos_store(struct gsm_subscriber_connection *conn,
+ uint8_t technology);
+
+int gsm0414_rcv_test(struct gsm_subscriber_connection *conn,
+ struct msgb *msg);