summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/common/osmocom_data.h
diff options
context:
space:
mode:
authorAndreas.Eversberg <jolly@eversberg.eu>2010-09-11 10:42:29 +0000
committerAndreas.Eversberg <jolly@eversberg.eu>2010-09-18 13:59:52 +0000
commit381624211878e0bb260f770d19c60493287a0d18 (patch)
tree4d938659f7e421bb6e4cc8f5b28dc9d8b721a890 /src/host/layer23/include/osmocom/bb/common/osmocom_data.h
parent3ba9a03d28224b7ebc14924af56760f5de39db5e (diff)
[layer23] Added BTSAP socket interface to layer23
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/common/osmocom_data.h')
-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;