aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2019-08-13 17:02:46 +0200
committerAlexander Couzens <lynxis@fe80.eu>2019-08-20 15:15:42 +0200
commit8fffde501ac02a54062a28af2aa629513d9ec061 (patch)
treea7670a9eaeb6be00ce8dcbac64279583fdb0822b
parenta3cccdc51c47fb4c8a5bb4ceb9c839aaab03be77 (diff)
iu_client: define RANAP_IU_EVENT_SECURITY_MODE_FAILED
To inform the application about failed security modes Change-Id: I14bb9904728eddf7a5742df8382fb204ccda20dd
-rw-r--r--include/osmocom/ranap/iu_client.h1
-rw-r--r--src/iu_client.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/ranap/iu_client.h b/include/osmocom/ranap/iu_client.h
index 873b2d2..a49847b 100644
--- a/include/osmocom/ranap/iu_client.h
+++ b/include/osmocom/ranap/iu_client.h
@@ -37,6 +37,7 @@ enum ranap_iu_event_type {
RANAP_IU_EVENT_SECURITY_MODE_COMPLETE,
RANAP_IU_EVENT_IU_RELEASE, /* An actual Iu Release message was received */
RANAP_IU_EVENT_LINK_INVALIDATED, /* A SUA link was lost or closed down */
+ RANAP_IU_EVENT_SECURITY_MODE_FAILED, /* FIXME: unimplemented */
};
extern const struct value_string ranap_iu_event_type_names[];
diff --git a/src/iu_client.c b/src/iu_client.c
index 92d25f5..f4e0664 100644
--- a/src/iu_client.c
+++ b/src/iu_client.c
@@ -104,6 +104,7 @@ static struct osmo_sccp_addr g_local_sccp_addr;
const struct value_string ranap_iu_event_type_names[] = {
OSMO_VALUE_STRING(RANAP_IU_EVENT_RAB_ASSIGN),
OSMO_VALUE_STRING(RANAP_IU_EVENT_SECURITY_MODE_COMPLETE),
+ OSMO_VALUE_STRING(RANAP_IU_EVENT_SECURITY_MODE_FAILED),
OSMO_VALUE_STRING(RANAP_IU_EVENT_IU_RELEASE),
OSMO_VALUE_STRING(RANAP_IU_EVENT_LINK_INVALIDATED),
{ 0, NULL }