summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/common/l1ctl.c
diff options
context:
space:
mode:
authorAndreas.Eversberg <jolly@eversberg.eu>2010-10-05 15:42:29 +0000
committerAndreas.Eversberg <jolly@eversberg.eu>2010-10-05 15:42:29 +0000
commit86f4d80b7ffab98efeb8fb28b393d743de897806 (patch)
treef803e748adf3cdcbfc8f66b60c7789a9e18ff47f /src/host/layer23/src/common/l1ctl.c
parent6dafb958ba57d13873296f98ad5c7efc0f5300bf (diff)
[layer23] Increase sync tollerance by increasing freq_err_thresh1
This is a quick workarround to make synchronizing to a cell more reliable. Without it, just a few cells will sync. When network search is restarted, no more sync happens. By increasing the freq_err_thresh1 to 10000, many cells sync, even after the first network search.
Diffstat (limited to 'src/host/layer23/src/common/l1ctl.c')
-rw-r--r--src/host/layer23/src/common/l1ctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/layer23/src/common/l1ctl.c b/src/host/layer23/src/common/l1ctl.c
index e59e5251..be84bf95 100644
--- a/src/host/layer23/src/common/l1ctl.c
+++ b/src/host/layer23/src/common/l1ctl.c
@@ -272,7 +272,7 @@ int l1ctl_tx_fbsb_req(struct osmocom_ms *ms, uint16_t arfcn,
req->band_arfcn = htons(osmo_make_band_arfcn(ms, arfcn));
req->timeout = htons(timeout);
/* Threshold when to consider FB_MODE1: 4kHz - 1kHz */
- req->freq_err_thresh1 = htons(4000 - 1000);
+ req->freq_err_thresh1 = htons(11000 - 1000);
/* Threshold when to consider SCH: 1kHz - 200Hz */
req->freq_err_thresh2 = htons(1000 - 200);
/* not used yet! */