summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/mobile/settings.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2018-06-01 23:20:03 +0800
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2018-06-01 23:32:23 +0800
commit5a3dd6eb1acb9365ffef534be54a5e7644c1f6c9 (patch)
tree361d247507cd12eef54614023c554ef07b0c27b0 /src/host/layer23/src/mobile/settings.c
parent9533aa70025e41fef785cacdc7e51701fb40d8fb (diff)
mobile: Make time spent in c7 configurable
When no cell was found during the PLMN search the camp on any cell state will be entered. LUs are prevented in this state and it will be left after the start_any_timer has timedout. Even if camping on the home network the state will not be left before the expiry of the timer. For systematic tests this is producing a too high upper bound. Make it configurable so we can succeed with a UL more quickly. Change-Id: I25bc985cd4360d5e37d05a7b16b39eefb75ce20f
Diffstat (limited to 'src/host/layer23/src/mobile/settings.c')
-rw-r--r--src/host/layer23/src/mobile/settings.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/host/layer23/src/mobile/settings.c b/src/host/layer23/src/mobile/settings.c
index 6d50c6b3..f1c0cfcd 100644
--- a/src/host/layer23/src/mobile/settings.c
+++ b/src/host/layer23/src/mobile/settings.c
@@ -90,6 +90,8 @@ int gsm_settings_init(struct osmocom_ms *ms)
/* software features */
set->cc_dtmf = 1;
+ set->any_timeout = MOB_C7_DEFLT_ANY_TIMEOUT;
+
INIT_LLIST_HEAD(&set->abbrev);
return 0;