From e6fd64d0005fd1853464dc8984886fba1fa7d78b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 22 Nov 2010 19:09:38 +0100 Subject: 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. --- openbsc/include/openbsc/osmo_bsc_rf.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openbsc/include/openbsc/osmo_bsc_rf.h') 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 +#include 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 { -- cgit v1.2.3