4 #include <osmocore/select.h>
5 #include <osmocore/gsm_utils.h>
6 #include <osmocore/write_queue.h>
10 /* FIXME no 'mobile' specific stuff should be here */
11 #include <osmocom/bb/mobile/support.h>
12 #include <osmocom/bb/mobile/settings.h>
13 #include <osmocom/bb/mobile/subscriber.h>
14 #include <osmocom/bb/common/lapdm.h>
15 #include <osmocom/bb/common/sap_interface.h>
16 #include <osmocom/bb/mobile/gsm48_rr.h>
17 #include <osmocom/bb/mobile/sysinfo.h>
18 #include <osmocom/bb/mobile/gsm322.h>
19 #include <osmocom/bb/mobile/gsm48_mm.h>
20 #include <osmocom/bb/mobile/gsm48_cc.h>
21 #include <osmocom/bb/common/sim.h>
24 struct osmol2_entity {
25 struct lapdm_entity lapdm_dcch;
26 struct lapdm_entity lapdm_acch;
27 osmol2_cb_t msg_handler;
30 struct osmosap_entity {
31 osmosap_cb_t msg_handler;
34 /* RX measurement statistics */
38 /* cumulated values of current cell from SACCH dl */
45 /* One Mobilestation for osmocom */
47 struct llist_head entity;
49 struct write_queue l2_wq, sap_wq;
52 struct gsm_support support;
53 struct gsm_settings settings;
54 struct gsm_subscriber subscr;
56 struct osmol2_entity l2_entity;
57 struct osmosap_entity sap_entity;
58 struct rx_meas_stat meas;
59 struct gsm48_rrlayer rrlayer;
60 struct gsm322_plmn plmn;
61 struct gsm322_cellsel cellsel;
62 struct gsm48_mmlayer mmlayer;
63 struct gsm48_cclayer cclayer;
64 struct llist_head trans_list;
67 enum osmobb_sig_subsys {
71 enum osmobb_meas_sig {
77 S_L1CTL_CCCH_MODE_CONF,
78 S_L1CTL_TCH_MODE_CONF,
81 struct osmobb_fbsb_res {
82 struct osmocom_ms *ms;
87 struct osmobb_meas_res {
88 struct osmocom_ms *ms;
93 struct osmobb_ccch_mode_conf {
94 struct osmocom_ms *ms;
98 struct osmobb_tch_mode_conf {
99 struct osmocom_ms *ms;