aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/osmo_bsc_rf.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-11-22 19:09:38 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-11-26 00:06:01 +0100
commit70c232f75a4998af9317f7ee885479ab18d34814 (patch)
tree7b01b06fc5747180c439e88c16681e8d03f9df53 /openbsc/include/openbsc/osmo_bsc_rf.h
parentbb62b3f053cacc5c18b7b62936251a5bcef826ec (diff)
mid-call: Implement a timer to go from grace to off.
Start the timer... switch it off when we do the final tranistion by a command.
Diffstat (limited to 'openbsc/include/openbsc/osmo_bsc_rf.h')
-rw-r--r--openbsc/include/openbsc/osmo_bsc_rf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/osmo_bsc_rf.h b/openbsc/include/openbsc/osmo_bsc_rf.h
index dec9572fc..b4e17f013 100644
--- a/openbsc/include/openbsc/osmo_bsc_rf.h
+++ b/openbsc/include/openbsc/osmo_bsc_rf.h
@@ -2,6 +2,7 @@
#define OSMO_BSC_RF
#include <osmocore/write_queue.h>
+#include <osmocore/timer.h>
struct gsm_network;
@@ -10,6 +11,9 @@ struct osmo_bsc_rf {
int policy;
struct bsc_fd listen;
struct gsm_network *gsm_network;
+
+ /* some handling for the automatic grace switch */
+ struct timer_list grace_timeout;
};
struct osmo_bsc_rf_conn {