summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include
diff options
context:
space:
mode:
authorAndreas.Eversberg2010-11-20 09:32:32 +0100
committerAndreas.Eversberg2010-11-20 09:32:32 +0100
commitf72baf40d5e647ca2d2bb56c4b846d7eb68c471b (patch)
tree855cb7e1cc03d7e266bf80f215f5c04574f9775c /src/host/layer23/include
parent[layer23] Adding LAI to debug output of LOCATION UPDATING REQEST (diff)
downloadosmocom-f72baf40d5e647ca2d2bb56c4b846d7eb68c471b.tar.gz
osmocom-f72baf40d5e647ca2d2bb56c4b846d7eb68c471b.tar.xz
osmocom-f72baf40d5e647ca2d2bb56c4b846d7eb68c471b.zip
[layer23] Adding LAC and TMSI (both optional) to test card (rplmn)
Diffstat (limited to 'src/host/layer23/include')
-rw-r--r--src/host/layer23/include/osmocom/bb/mobile/settings.h2
-rw-r--r--src/host/layer23/include/osmocom/bb/mobile/subscriber.h3
2 files changed, 4 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 d0848a8..f666f37 100644
--- a/src/host/layer23/include/osmocom/bb/mobile/settings.h
+++ b/src/host/layer23/include/osmocom/bb/mobile/settings.h
@@ -25,11 +25,13 @@ struct gsm_settings {
/* test card simulator settings */
char test_imsi[20]; /* just in case... */
+ uint32_t test_tmsi;
uint8_t test_ki_type;
uint8_t test_ki[16]; /* 128 bit max */
uint8_t test_barr;
uint8_t test_rplmn_valid;
uint16_t test_rplmn_mcc, test_rplmn_mnc;
+ uint16_t test_lac;
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 15af5d0..c6cf57a 100644
--- a/src/host/layer23/include/osmocom/bb/mobile/subscriber.h
+++ b/src/host/layer23/include/osmocom/bb/mobile/subscriber.h
@@ -79,7 +79,8 @@ 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);
+int gsm_subscr_testcard(struct osmocom_ms *ms, uint16_t mcc, uint16_t mnc,
+ uint16_t lac, uint32_t tmsi);
int gsm_subscr_simcard(struct osmocom_ms *ms);
void gsm_subscr_sim_pin(struct osmocom_ms *ms, char *pin1, char *pin2,
int8_t mode);