summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom
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/include/osmocom
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/include/osmocom')
-rw-r--r--src/host/layer23/include/osmocom/bb/mobile/settings.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/mobile/settings.h b/src/host/layer23/include/osmocom/bb/mobile/settings.h
index cdf63237..a1bce06b 100644
--- a/src/host/layer23/include/osmocom/bb/mobile/settings.h
+++ b/src/host/layer23/include/osmocom/bb/mobile/settings.h
@@ -1,6 +1,8 @@
#ifndef _settings_h
#define _settings_h
+#define MOB_C7_DEFLT_ANY_TIMEOUT 30
+
struct gsm_settings {
char layer2_socket_path[128];
char sap_socket_path[128];
@@ -100,6 +102,9 @@ struct gsm_settings {
uint8_t class_dtm;
uint8_t dtm_mac;
uint8_t dtm_egprs;
+
+ /* Timeout for GSM 03.22 C7 state */
+ uint8_t any_timeout;
};
struct gsm_settings_abbrev {