summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/mobile
diff options
context:
space:
mode:
authorAndreas.Eversberg2010-08-29 13:05:07 +0200
committerAndreas.Eversberg2010-08-29 13:05:07 +0200
commit0d9a3b91c1b0b3d14f7ba60e159768e9feeb7e32 (patch)
tree77789554be7ea789c8e7eafbc9ce4d5ea062053b /src/host/layer23/include/osmocom/bb/mobile
parent[layer23] Reset scheduler after leaving dedicated mode (diff)
downloadosmocom-0d9a3b91c1b0b3d14f7ba60e159768e9feeb7e32.tar.gz
osmocom-0d9a3b91c1b0b3d14f7ba60e159768e9feeb7e32.tar.xz
osmocom-0d9a3b91c1b0b3d14f7ba60e159768e9feeb7e32.zip
[layer23] Fixed security issue
Authentication must not be performed using SIM client, if different IMSI is used, to protect identity of caller.
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/mobile')
-rw-r--r--src/host/layer23/include/osmocom/bb/mobile/gsm48_mm.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/gsm48_mm.h b/src/host/layer23/include/osmocom/bb/mobile/gsm48_mm.h
index b988bd9..0d18182 100644
--- a/src/host/layer23/include/osmocom/bb/mobile/gsm48_mm.h
+++ b/src/host/layer23/include/osmocom/bb/mobile/gsm48_mm.h
@@ -189,6 +189,7 @@ struct gsm48_mmlayer {
uint8_t delay_detach; /* do detach when possible */
/* other */
+ uint8_t est_cause; /* cause of establishment msg */
int mr_substate; /* rem most recent substate */
uint8_t power_off; /* set, if power off after detach */
uint8_t power_off_idle; /* waits for IDLE before po */
diff --git a/src/host/layer23/include/osmocom/bb/mobile/subscriber.h b/src/host/layer23/include/osmocom/bb/mobile/subscriber.h
index cf0e5ac..aebb7a8 100644
--- a/src/host/layer23/include/osmocom/bb/mobile/subscriber.h
+++ b/src/host/layer23/include/osmocom/bb/mobile/subscriber.h
@@ -89,7 +89,7 @@ int gsm_subscr_simcard(struct osmocom_ms *ms);
void gsm_subscr_sim_pin(struct osmocom_ms *ms, char *pin);
int gsm_subscr_write_loci(struct osmocom_ms *ms);
int gsm_subscr_generate_kc(struct osmocom_ms *ms, uint8_t key_seq,
- uint8_t *rand);
+ uint8_t *rand, uint8_t no_sim);
int gsm_subscr_remove(struct osmocom_ms *ms);
void new_sim_ustate(struct gsm_subscriber *subscr, int state);
int gsm_subscr_del_forbidden_plmn(struct gsm_subscriber *subscr, uint16_t mcc,