aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/msc_ifaces.h
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-04-12 15:19:45 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-07-12 23:42:46 +0200
commitcd2a22659d56b72603e9b441392442d632bd2e14 (patch)
tree4a3129f3f9a5fbe91c99099d6ef8ad904c196405 /include/openbsc/msc_ifaces.h
parentfd6ce2270ba6757efd158854a64600448a3e3c8c (diff)
WIP: Integrate AoIP into MSC
Diffstat (limited to 'include/openbsc/msc_ifaces.h')
-rw-r--r--include/openbsc/msc_ifaces.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/include/openbsc/msc_ifaces.h b/include/openbsc/msc_ifaces.h
index 2965c72c5..942e1cebd 100644
--- a/include/openbsc/msc_ifaces.h
+++ b/include/openbsc/msc_ifaces.h
@@ -28,20 +28,18 @@
/* Each main linkage must implement this function (see comment above). */
extern int iu_tx(struct msgb *msg, uint8_t sapi);
-/* So far this is a dummy implemented in libmsc/a_iface.c. When A-interface
- * gets implemented, it should be in a separate lib (like libiu), this function
- * should move there, and the following comment should remain here: "
- * Each main linkage must implement this function (see comment above).
- * " */
+/* FIXME: Maybe the function prototypes that are implemented in a_iface.c
+ * should be moved to a_iface.h too? */
+
+/* Send DTAP message via A-interface (see also: a_iface.c) */
extern int a_tx(struct msgb *msg);
-/* So far this is a dummy implemented in libmsc/a_iface.c. When A-interface
- * gets implemented, it should be in a separate lib (like libiu), this function
- * should move there, and the following comment should remain here: "
- * Each main linkage must implement this function (see comment above).
- * " */
+/* Page a subscriber via A-interface (see also: a_iface.c) */
extern int a_page(const char *imsi, uint32_t tmsi, uint16_t lac);
+/* Send assignment request via A-interface */
+extern int a_assign(struct gsm_trans *trans);
+
int msc_tx_dtap(struct gsm_subscriber_connection *conn,
struct msgb *msg);
@@ -50,6 +48,7 @@ int msc_gsm48_tx_mm_serv_rej(struct gsm_subscriber_connection *conn,
enum gsm48_reject_value value);
/* TODO: specific to A interface, move this away */
+/* Send Cipher mode command via A-interface (see also: a_iface.c) */
int msc_gsm0808_tx_cipher_mode(struct gsm_subscriber_connection *conn, int cipher,
const uint8_t *key, int len, int include_imeisv);