summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/host/layer23/include')
-rw-r--r--src/host/layer23/include/osmocom/bb/common/osmocom_data.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/host/layer23/include/osmocom/bb/common/osmocom_data.h b/src/host/layer23/include/osmocom/bb/common/osmocom_data.h
index 5de2c790..d9538282 100644
--- a/src/host/layer23/include/osmocom/bb/common/osmocom_data.h
+++ b/src/host/layer23/include/osmocom/bb/common/osmocom_data.h
@@ -12,6 +12,7 @@ struct osmocom_ms;
#include <osmocom/bb/mobile/settings.h>
#include <osmocom/bb/mobile/subscriber.h>
#include <osmocom/bb/common/lapdm.h>
+#include <osmocom/bb/common/sap_interface.h>
#include <osmocom/bb/mobile/gsm48_rr.h>
#include <osmocom/bb/mobile/sysinfo.h>
#include <osmocom/bb/mobile/gsm322.h>
@@ -26,6 +27,10 @@ struct osmol2_entity {
osmol2_cb_t msg_handler;
};
+struct osmosap_entity {
+ osmosap_cb_t msg_handler;
+};
+
/* RX measurement statistics */
struct rx_meas_stat {
uint32_t last_fn;
@@ -39,7 +44,7 @@ struct rx_meas_stat {
struct osmocom_ms {
struct llist_head entity;
char name[32];
- struct write_queue wq;
+ struct write_queue l2_wq, sap_wq;
uint16_t test_arfcn;
struct gsm_support support;
@@ -47,6 +52,7 @@ struct osmocom_ms {
struct gsm_subscriber subscr;
struct gsm_sim sim;
struct osmol2_entity l2_entity;
+ struct osmosap_entity sap_entity;
struct rx_meas_stat meas;
struct gsm48_rrlayer rrlayer;
struct gsm322_plmn plmn;