summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/modem
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-01-17 20:17:10 +0100
committerpespin <pespin@sysmocom.de>2023-01-30 19:57:36 +0000
commit53996bb3d84352550f8c56ee9fe4ef396644f518 (patch)
tree3cd933ae27054c9e077b5bf5cc06daf15d173fff /src/host/layer23/include/osmocom/bb/modem
parent2b11e9e97dae5fdffc12c309cd1e14eabfeb4ced (diff)
modem: Initial integration of libosmo-gprs-{llc,sndcp}
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/modem')
-rw-r--r--src/host/layer23/include/osmocom/bb/modem/Makefile.am2
-rw-r--r--src/host/layer23/include/osmocom/bb/modem/llc.h8
-rw-r--r--src/host/layer23/include/osmocom/bb/modem/sndcp.h10
3 files changed, 20 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/modem/Makefile.am b/src/host/layer23/include/osmocom/bb/modem/Makefile.am
index 309a5141..4a91c395 100644
--- a/src/host/layer23/include/osmocom/bb/modem/Makefile.am
+++ b/src/host/layer23/include/osmocom/bb/modem/Makefile.am
@@ -1,4 +1,6 @@
noinst_HEADERS = \
modem.h \
+ llc.h \
+ sndcp.h \
vty.h \
$(NULL)
diff --git a/src/host/layer23/include/osmocom/bb/modem/llc.h b/src/host/layer23/include/osmocom/bb/modem/llc.h
new file mode 100644
index 00000000..5fe5d49f
--- /dev/null
+++ b/src/host/layer23/include/osmocom/bb/modem/llc.h
@@ -0,0 +1,8 @@
+#pragma once
+
+#include <stdbool.h>
+
+struct osmocom_ms;
+
+int modem_llc_init(struct osmocom_ms *ms, const char *cipher_plugin_path);
+
diff --git a/src/host/layer23/include/osmocom/bb/modem/sndcp.h b/src/host/layer23/include/osmocom/bb/modem/sndcp.h
new file mode 100644
index 00000000..b2e6f0fd
--- /dev/null
+++ b/src/host/layer23/include/osmocom/bb/modem/sndcp.h
@@ -0,0 +1,10 @@
+#pragma once
+
+#include <stdbool.h>
+
+struct osmocom_ms;
+struct osmobb_apn;
+
+int modem_sndcp_init(struct osmocom_ms *ms);
+int modem_sndcp_sn_xid_req(struct osmobb_apn *apn);
+int modem_sndcp_sn_unitdata_req(struct osmobb_apn *apn, uint8_t *npdu, size_t npdu_len);