diff options
author | Andreas.Eversberg <jolly@eversberg.eu> | 2010-10-12 08:26:48 +0000 |
---|---|---|
committer | Andreas.Eversberg <jolly@eversberg.eu> | 2010-10-12 08:26:48 +0000 |
commit | 6d4915b91b13fa879e0dd75d2c275e82b5a5634c (patch) | |
tree | e385c97e0fecc0591ec6d7f17bf3925ec2fae258 /src/host/layer23/src/mobile/support.c | |
parent | 86f4d80b7ffab98efeb8fb28b393d743de897806 (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/src/mobile/support.c')
-rw-r--r-- | src/host/layer23/src/mobile/support.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/host/layer23/src/mobile/support.c b/src/host/layer23/src/mobile/support.c index beadc783..34952dc2 100644 --- a/src/host/layer23/src/mobile/support.c +++ b/src/host/layer23/src/mobile/support.c @@ -101,6 +101,7 @@ void gsm_support_init(struct osmocom_ms *ms) sup->min_rxlev_db = -100; // TODO sup->sync_to = 6; /* how long to wait sync (0.9 s) */ sup->scan_to = 4; /* how long to wait for all sysinfos (>=4 s) */ + sup->dsc_max = 90; /* the specs defines 90 */ /* codec */ sup->full_v1 = 1; |