From 6aa923f00342747ccfca5c4a431e6e18e6be7f0f Mon Sep 17 00:00:00 2001 From: Andreas.Eversberg Date: Fri, 16 Jul 2010 10:52:38 +0000 Subject: [layer23] Added simple network monitor. Use "monitor network 1" to enable. --- src/host/layer23/include/osmocom/gsm48_rr.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/host/layer23/include/osmocom/gsm48_rr.h') diff --git a/src/host/layer23/include/osmocom/gsm48_rr.h b/src/host/layer23/include/osmocom/gsm48_rr.h index 16ba2fe..c268c24 100644 --- a/src/host/layer23/include/osmocom/gsm48_rr.h +++ b/src/host/layer23/include/osmocom/gsm48_rr.h @@ -152,6 +152,10 @@ struct gsm48_rrlayer { /* BA range */ uint8_t ba_ranges; uint32_t ba_range[16]; + + /* monitor */ + uint8_t monitor; + struct timer_list t_monitor; }; const char *get_rr_name(int value); @@ -168,5 +172,7 @@ int gsm48_rr_tx_rand_acc(struct osmocom_ms *ms, struct msgb *msg); int gsm48_rr_los(struct osmocom_ms *ms); int gsm48_rr_rach_conf(struct osmocom_ms *ms, uint32_t fn); extern const char *gsm48_rr_state_names[]; +int gsm48_rr_start_monitor(struct osmocom_ms *ms); +int gsm48_rr_stop_monitor(struct osmocom_ms *ms); #endif /* _GSM48_RR_H */ -- cgit v1.2.3-55-g7522