summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/gsm48_rr.h
diff options
context:
space:
mode:
authorAndreas.Eversberg2010-07-16 12:52:38 +0200
committerAndreas.Eversberg2010-07-16 12:52:38 +0200
commit6aa923f00342747ccfca5c4a431e6e18e6be7f0f (patch)
tree9ccab1b96879bcbe2ba531eb338890a86ca3fa11 /src/host/layer23/include/osmocom/gsm48_rr.h
parentMerge commit '383134b5ac0b94393cd46e2f00aeb1fd6f1a540f' (diff)
downloadosmocom-6aa923f00342747ccfca5c4a431e6e18e6be7f0f.tar.gz
osmocom-6aa923f00342747ccfca5c4a431e6e18e6be7f0f.tar.xz
osmocom-6aa923f00342747ccfca5c4a431e6e18e6be7f0f.zip
[layer23] Added simple network monitor. Use "monitor network 1" to enable.
Diffstat (limited to 'src/host/layer23/include/osmocom/gsm48_rr.h')
-rw-r--r--src/host/layer23/include/osmocom/gsm48_rr.h6
1 files changed, 6 insertions, 0 deletions
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 */