aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/oml_router.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-05-25 14:43:03 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-07-31 16:57:39 +0200
commitb05d72d21b8cc91126cf45525f9010df6142e1c2 (patch)
treee620d3078f7c2176756c62fe94827d79a38add64 /src/osmo-bts-sysmo/oml_router.h
parent9e1dbf532e4450f99797b7a8e580172449c615aa (diff)
sysmobts: Begin with an OML router that will be used by the manager
Begin with the basics of a OML Router. This is currently only capable of accepting a connection and read messages but it will evolve into a router in multiple stages. The first usage will be by the sysmobts-mgr. An OML Error Indication will be sent by the sysmobts-mgr and it will be forwarded to the BSC. In the second step we will set a relative power reduction from the sysmobts-mgr. In the long-term this code will be used to communicate with a second TRX.
Diffstat (limited to 'src/osmo-bts-sysmo/oml_router.h')
-rw-r--r--src/osmo-bts-sysmo/oml_router.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/oml_router.h b/src/osmo-bts-sysmo/oml_router.h
new file mode 100644
index 00000000..f8fe4c95
--- /dev/null
+++ b/src/osmo-bts-sysmo/oml_router.h
@@ -0,0 +1,13 @@
+#pragma once
+
+struct gsm_bts;
+struct osmo_fd;
+
+/**
+ * The default path sysmobts will listen for incoming
+ * registrations for OML routing and sending.
+ */
+#define OML_ROUTER_PATH "/var/run/sysmobts/oml_router"
+
+
+int oml_router_init(struct gsm_bts *bts, struct osmo_fd *accept, struct osmo_fd *read);