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>
22 struct osmol2_entity {
23 struct lapdm_entity lapdm_dcch;
24 struct lapdm_entity lapdm_acch;
25 osmol2_cb_t msg_handler;
28 /* RX measurement statistics */
35 /* One Mobilestation for osmocom */
37 struct llist_head entity;
39 struct write_queue wq;
42 struct gsm_support support;
44 struct gsm_settings settings;
46 struct gsm_subscriber subscr;
48 struct osmol2_entity l2_entity;
50 struct rx_meas_stat meas;
52 struct gsm48_rrlayer rrlayer;
53 struct gsm322_plmn plmn;
54 struct gsm322_cellsel cellsel;
55 struct gsm48_mmlayer mmlayer;
56 struct gsm48_cclayer cclayer;
57 struct llist_head trans_list;
60 enum osmobb_sig_subsys {
64 enum osmobb_meas_sig {
70 S_L1CTL_CCCH_MODE_CONF,
73 struct osmobb_meas_res {
74 struct osmocom_ms *ms;
79 struct osmobb_ccch_mode_conf {
80 struct osmocom_ms *ms;