summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/common/osmocom_data.h
diff options
context:
space:
mode:
authorAndreas.Eversberg <jolly@eversberg.eu>2010-10-12 08:26:48 +0000
committerAndreas.Eversberg <jolly@eversberg.eu>2010-10-12 08:26:48 +0000
commit6d4915b91b13fa879e0dd75d2c275e82b5a5634c (patch)
treee385c97e0fecc0591ec6d7f17bf3925ec2fae258 /src/host/layer23/include/osmocom/bb/common/osmocom_data.h
parent86f4d80b7ffab98efeb8fb28b393d743de897806 (diff)
[layer23] Implementation of signal loss criteria as defined in TS 05.08
There are two criterions for lossing a signal, idle mode and dedicated mode. A counter counts down when a frame is dropped, and counts up when a valid frame is received on certain channel. The loss criterion is reached, if the counter reaches 0. The values added to / removed from the counter and the limits depend on the process.
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/common/osmocom_data.h')
-rw-r--r--src/host/layer23/include/osmocom/bb/common/osmocom_data.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/common/osmocom_data.h b/src/host/layer23/include/osmocom/bb/common/osmocom_data.h
index a20b177f..bc0c7d87 100644
--- a/src/host/layer23/include/osmocom/bb/common/osmocom_data.h
+++ b/src/host/layer23/include/osmocom/bb/common/osmocom_data.h
@@ -40,6 +40,10 @@ struct rx_meas_stat {
uint32_t snr;
uint32_t berr;
uint32_t rxlev;
+
+ /* counters loss criterion */
+ int16_t dsc, ds_fail;
+ int16_t s, rl_fail;
};
/* One Mobilestation for osmocom */
@@ -76,6 +80,7 @@ enum osmobb_meas_sig {
S_L1CTL_PM_DONE,
S_L1CTL_CCCH_MODE_CONF,
S_L1CTL_TCH_MODE_CONF,
+ S_L1CTL_LOSS_IND,
};
struct osmobb_fbsb_res {