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/mobile/gsm48_rr.h>
16 #include <osmocom/bb/mobile/sysinfo.h>
17 #include <osmocom/bb/mobile/gsm322.h>
18 #include <osmocom/bb/mobile/gsm48_mm.h>
19 #include <osmocom/bb/mobile/gsm48_cc.h>
20 #include <osmocom/bb/mobile/sim.h>
23 struct osmol2_entity {
24 struct lapdm_entity lapdm_dcch;
25 struct lapdm_entity lapdm_acch;
26 osmol2_cb_t msg_handler;
29 /* RX measurement statistics */
38 /* One Mobilestation for osmocom */
40 struct llist_head entity;
42 struct write_queue wq;
45 struct gsm_support support;
46 struct gsm_settings settings;
47 struct gsm_subscriber subscr;
49 struct osmol2_entity l2_entity;
50 struct rx_meas_stat meas;
51 struct gsm48_rrlayer rrlayer;
52 struct gsm322_plmn plmn;
53 struct gsm322_cellsel cellsel;
54 struct gsm48_mmlayer mmlayer;
55 struct gsm48_cclayer cclayer;
56 struct llist_head trans_list;
59 enum osmobb_sig_subsys {
63 enum osmobb_meas_sig {
69 S_L1CTL_CCCH_MODE_CONF,
72 struct osmobb_meas_res {
73 struct osmocom_ms *ms;
78 struct osmobb_ccch_mode_conf {
79 struct osmocom_ms *ms;