diff options
author | Andreas.Eversberg <jolly@eversberg.eu> | 2010-11-20 08:32:32 +0000 |
---|---|---|
committer | Andreas.Eversberg <jolly@eversberg.eu> | 2010-11-20 08:32:32 +0000 |
commit | f72baf40d5e647ca2d2bb56c4b846d7eb68c471b (patch) | |
tree | 855cb7e1cc03d7e266bf80f215f5c04574f9775c /src/host/layer23/include | |
parent | 633b611dc167d1a20afb77f5b7e4ce2afa771d80 (diff) |
[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.h | 2 | ||||
-rw-r--r-- | src/host/layer23/include/osmocom/bb/mobile/subscriber.h | 3 |
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 d0848a82..f666f378 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 15af5d06..c6cf57a0 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); |