aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2016-03-18 13:54:32 +0100
committerDaniel Willmann <dwillmann@sysmocom.de>2016-03-18 13:58:20 +0100
commitffd9968d3ac369e2d60f086f1928b0860ba6e6ca (patch)
tree629bfb32e7e36b67bdd833acb8e6560c7fa449ea /openbsc/include
parentdeb227b98e4136f873f76ea3362bfb74673f48bc (diff)
libiu: Change gprs_transp_upd_key to be useful for CS as well
gprs_transp_upd_key only sends a security mode command which is needed for CS as well so change it. Make sure it is called after the UE is authenticated in Iu mode.
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/gprs_sgsn.h1
-rw-r--r--openbsc/include/openbsc/iu.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gprs_sgsn.h b/openbsc/include/openbsc/gprs_sgsn.h
index 4f34f1b88..ca47d134b 100644
--- a/openbsc/include/openbsc/gprs_sgsn.h
+++ b/openbsc/include/openbsc/gprs_sgsn.h
@@ -148,6 +148,7 @@ struct sgsn_mm_ctx {
/* Voice Support Match Indicator */
void *ue_ctx;
struct service_info service;
+ int integrity_active;
} iu;
/* VLR number */
uint32_t new_sgsn_addr;
diff --git a/openbsc/include/openbsc/iu.h b/openbsc/include/openbsc/iu.h
index 4d35b2076..3bbdc9753 100644
--- a/openbsc/include/openbsc/iu.h
+++ b/openbsc/include/openbsc/iu.h
@@ -37,3 +37,4 @@ int iu_tx(struct msgb *msg, uint8_t sapi);
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);