aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/l1_if.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-07-05 16:59:27 +0200
committerHarald Welte <laforge@gnumonks.org>2011-07-05 16:59:27 +0200
commit39eadbbb17c8e634b2f641c2f6148f27a975f7de (patch)
tree259d07d1b30559ba6a0f3924ac3ee253af2e81ca /src/osmo-bts-sysmo/l1_if.h
parent547b1d1916a89a6ebd2ba980005582a426bf3a31 (diff)
sysmbts L1 if: implement 'dead DSP L1 detection'
when we activate the SCH in the DSP, we start a 5-second timer. If we ever do not receive any MPH-TIME.ind primitives from L1 within that time frame, we stop the process (and will be re-spawned)
Diffstat (limited to 'src/osmo-bts-sysmo/l1_if.h')
-rw-r--r--src/osmo-bts-sysmo/l1_if.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/l1_if.h b/src/osmo-bts-sysmo/l1_if.h
index 18934201..3bba3998 100644
--- a/src/osmo-bts-sysmo/l1_if.h
+++ b/src/osmo-bts-sysmo/l1_if.h
@@ -25,6 +25,9 @@ struct femtol1_hdl {
void *priv; /* user reference */
+ struct osmo_timer_list alive_timer;
+ unsigned int alive_prim_cnt;
+
struct osmo_fd read_ofd[_NUM_MQ_READ]; /* osmo file descriptors */
struct osmo_wqueue write_q[_NUM_MQ_WRITE];
};