summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-01-07 11:22:08 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2013-01-07 11:22:08 +0100
commitf6b52d74ddeed108c1f24e906c54fd3db03aae5d (patch)
tree00d885d2364b6eb7a41aa6f20ca9c67f40008f73 /src/host/layer23/include
parent25c5e8221d94a7a5885d3bcd38d35da86bf17313 (diff)
mobile: Allow test card to be maked as already attached
This way it is possible to use test card without making attachment to the network, if the LAI matches. It can be used to do faster testing.
Diffstat (limited to 'src/host/layer23/include')
-rw-r--r--src/host/layer23/include/osmocom/bb/mobile/settings.h1
-rw-r--r--src/host/layer23/include/osmocom/bb/mobile/subscriber.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/host/layer23/include/osmocom/bb/mobile/settings.h b/src/host/layer23/include/osmocom/bb/mobile/settings.h
index fae12202..f3ac7969 100644
--- a/src/host/layer23/include/osmocom/bb/mobile/settings.h
+++ b/src/host/layer23/include/osmocom/bb/mobile/settings.h
@@ -35,6 +35,7 @@ struct gsm_settings {
uint8_t test_rplmn_valid;
uint16_t test_rplmn_mcc, test_rplmn_mnc;
uint16_t test_lac;
+ uint8_t test_imsi_attached;
uint8_t test_always; /* ...search hplmn... */
/* call related settings */
diff --git a/src/host/layer23/include/osmocom/bb/mobile/subscriber.h b/src/host/layer23/include/osmocom/bb/mobile/subscriber.h
index 3e50e29d..79a2ecca 100644
--- a/src/host/layer23/include/osmocom/bb/mobile/subscriber.h
+++ b/src/host/layer23/include/osmocom/bb/mobile/subscriber.h
@@ -85,7 +85,7 @@ struct gsm_subscriber {
int gsm_subscr_init(struct osmocom_ms *ms);
int gsm_subscr_exit(struct osmocom_ms *ms);
int gsm_subscr_testcard(struct osmocom_ms *ms, uint16_t mcc, uint16_t mnc,
- uint16_t lac, uint32_t tmsi);
+ uint16_t lac, uint32_t tmsi, uint8_t imsi_attached);
int gsm_subscr_simcard(struct osmocom_ms *ms);
void gsm_subscr_sim_pin(struct osmocom_ms *ms, char *pin1, char *pin2,
int8_t mode);