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.
diff --git a/openbsc/include/openbsc/osmo_bsc_rf.h b/openbsc/include/openbsc/osmo_bsc_rf.h
index dec9572..b4e17f0 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 @@
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 {