aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2016-04-19 20:04:00 +0200
committerDaniel Willmann <dwillmann@sysmocom.de>2016-04-19 20:04:00 +0200
commit444a516f18a7a2073b26f9d01e754853015c178e (patch)
tree6f77883397aaeec668190c253957a4396fc4d6ac /openbsc/include/openbsc
parent0f3bce4aef1bcbf384fa1c5ae2b24c5b0d6fc13b (diff)
gprs: Keep track of key negotiation and set the key status flag in sec_mod_cmd
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r--openbsc/include/openbsc/gprs_sgsn.h2
-rw-r--r--openbsc/include/openbsc/iu.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/gprs_sgsn.h b/openbsc/include/openbsc/gprs_sgsn.h
index 0ff2c7383..2bab4c2c2 100644
--- a/openbsc/include/openbsc/gprs_sgsn.h
+++ b/openbsc/include/openbsc/gprs_sgsn.h
@@ -138,7 +138,7 @@ struct sgsn_mm_ctx {
uint32_t tlli_new;
} gb;
struct {
- int imsi_unauthenticated;
+ int new_key;
uint16_t sac; /* Iu: Service Area Code */
uint32_t sac_age; /* Iu: Service Area Code age */
/* CSG ID */
diff --git a/openbsc/include/openbsc/iu.h b/openbsc/include/openbsc/iu.h
index a364dd76b..2f02dd017 100644
--- a/openbsc/include/openbsc/iu.h
+++ b/openbsc/include/openbsc/iu.h
@@ -39,4 +39,4 @@ int iu_rab_act_cs(struct ue_conn_ctx *ue_ctx, uint32_t rtp_ip, uint16_t rtp_port
int iu_rab_act_ps(uint8_t rab_id, struct sgsn_pdp_ctx *pdp);
int iu_rab_deact(struct ue_conn_ctx *ue_ctx, uint8_t rab_id);
int iu_tx_sec_mode_cmd(struct ue_conn_ctx *uectx, struct gsm_auth_tuple *tp,
- int send_ck);
+ int send_ck, int new_key);