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-22 19:15:38 +0100
commite6fd64d0005fd1853464dc8984886fba1fa7d78b (patch)
treeed982fbdc33329ed985d0160674f18f35057596a /openbsc/include/openbsc/osmo_bsc_rf.h
parent00d34cd8c6613069ad3fa6b091f2491250e7fa2c (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 0c9ba32f5..7039dbdce 100644
--- a/openbsc/include/openbsc/osmo_bsc_rf.h
+++ b/openbsc/include/openbsc/osmo_bsc_rf.h
@@ -2,6 +2,7 @@
#define BSC_MSC_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 {