summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/settings.h
diff options
context:
space:
mode:
authorAndreas.Eversberg2010-05-23 22:53:32 +0200
committerAndreas.Eversberg2010-05-23 22:53:32 +0200
commitba59a8cb513c6064442213289a3cb531edbc8f8f (patch)
treeed151876734bb4b60cfe17f271b998600390dc9a /src/host/layer23/include/osmocom/settings.h
parentFixes of layer23 processes during tests of MNCC interface. (diff)
downloadosmocom-ba59a8cb513c6064442213289a3cb531edbc8f8f.tar.gz
osmocom-ba59a8cb513c6064442213289a3cb531edbc8f8f.tar.xz
osmocom-ba59a8cb513c6064442213289a3cb531edbc8f8f.zip
Added more commands to VTY, especially selecting test SIM and configure it.
The test card can now be configured, as if it is already registered to a network. So it will directly select the strongest cell of last scan.
Diffstat (limited to 'src/host/layer23/include/osmocom/settings.h')
-rw-r--r--src/host/layer23/include/osmocom/settings.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/settings.h b/src/host/layer23/include/osmocom/settings.h
new file mode 100644
index 0000000..7bab0d7
--- /dev/null
+++ b/src/host/layer23/include/osmocom/settings.h
@@ -0,0 +1,18 @@
+#ifndef _settings_h
+#define _settings_h
+
+struct gsm_settings {
+ int simtype; /* selects card on power on */
+
+ /* test card simulator settings */
+ char test_imsi[20]; /* just in case... */
+ uint8_t test_barr;
+ uint8_t test_rplmn_valid;
+ uint16_t test_rplmn_mcc, test_rplmn_mnc;
+ uint8_t test_always; /* ...search hplmn... */
+};
+
+int gsm_settings_init(struct osmocom_ms *ms);
+
+#endif /* _settings_h */
+