aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/misc/sysmobts_mgr.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-12-23 11:47:28 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-01-06 19:14:30 +0100
commit83a549a153a30b8bc7122e0ca2f99ea6fcb1ea44 (patch)
tree9e8951114cf9f5b8eb4a583c35101eab88826474 /src/osmo-bts-sysmo/misc/sysmobts_mgr.h
parenta70c8f1c8ae5b222008888d98bdf7deee411d2e3 (diff)
sysmobts: Create a calibration loop that will be runzecke/sysmobts-calibration
Continously run the calibration process. Everytime we call the reset function classify the outcome. In case of a failure schedule the next command soon and otherwise wait several hours. Remember if the process was started through the VTY or the run loop. In case it can't be started immediately reset and schedule a new run.
Diffstat (limited to 'src/osmo-bts-sysmo/misc/sysmobts_mgr.h')
-rw-r--r--src/osmo-bts-sysmo/misc/sysmobts_mgr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/misc/sysmobts_mgr.h b/src/osmo-bts-sysmo/misc/sysmobts_mgr.h
index 2d060843..b393c389 100644
--- a/src/osmo-bts-sysmo/misc/sysmobts_mgr.h
+++ b/src/osmo-bts-sysmo/misc/sysmobts_mgr.h
@@ -98,6 +98,10 @@ struct sysmobts_mgr_instance {
struct osmo_fd gpsfd;
struct gps_data_t gpsdata;
struct osmo_timer_list fix_timeout;
+
+ /* Loop/Re-try control */
+ int calib_from_loop;
+ struct osmo_timer_list calib_timeout;
} calib;
};