summaryrefslogtreecommitdiffstats
path: root/src/host/trxcon/l1ctl.h
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2016-07-25 00:20:37 +0600
committerVadim Yanitskiy <axilirator@gmail.com>2017-11-19 17:35:07 +0700
commit90a0d3c78dbebc9722629c31dd8fcdf19c148cb4 (patch)
tree4fd5ecfb30bcf540c36529824a0cb16db2fe09c3 /src/host/trxcon/l1ctl.h
parent423aeefc4047038417b8da49aa5887553ffcfad3 (diff)
host/trxcon: initial release of L1CTL handlers
Now it's possible to handle the following requests from layer23 apps: - L1CTL_FBSB_REQ - L1CTL_PM_REQ - L1CTL_RESET_REQ - L1CTL_ECHO_REQ It should be noted, that the L1CTL_PM_REQ isn't handled correctly yet, due to required task isn't implemented on the TRX side yet. Instead of this, temporary we are sending some fake responses. Change-Id: I343eca3e20922ddd83e06231811200b26da442f3
Diffstat (limited to 'src/host/trxcon/l1ctl.h')
-rw-r--r--src/host/trxcon/l1ctl.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/host/trxcon/l1ctl.h b/src/host/trxcon/l1ctl.h
new file mode 100644
index 00000000..ffd1a81f
--- /dev/null
+++ b/src/host/trxcon/l1ctl.h
@@ -0,0 +1,12 @@
+#pragma once
+
+#include <stdint.h>
+#include <osmocom/core/msgb.h>
+
+#include "l1ctl_link.h"
+
+int l1ctl_tx_pm_conf(struct l1ctl_link *l1l, uint16_t band_arfcn,
+ int dbm, int last);
+int l1ctl_tx_reset_conf(struct l1ctl_link *l1l, uint8_t type);
+int l1ctl_tx_reset_ind(struct l1ctl_link *l1l, uint8_t type);
+int l1ctl_rx_cb(struct l1ctl_link *l1l, struct msgb *msg);