aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-05-02 19:50:37 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-05-02 19:51:12 +0200
commit99f2477653c1a1bff85cf0d5f823c4845fb46dc3 (patch)
tree823a3df959b38db2b3482af115503c9c32183d0b
parenta9791df3b90e7458d0356a486df795a1226b046a (diff)
cosmetic: IuCS logging
-rw-r--r--openbsc/src/libiu/iu.c2
-rw-r--r--openbsc/src/libmsc/iu_cs.c2
-rw-r--r--openbsc/src/osmo-cscn/cscn_main.c3
-rw-r--r--openbsc/src/osmo-cscn/iucs_ranap.c2
4 files changed, 5 insertions, 4 deletions
diff --git a/openbsc/src/libiu/iu.c b/openbsc/src/libiu/iu.c
index e22015c14..43acf2564 100644
--- a/openbsc/src/libiu/iu.c
+++ b/openbsc/src/libiu/iu.c
@@ -469,12 +469,10 @@ static void cn_ranap_handle_co(void *ctx, ranap_message *message)
switch (message->procedureCode) {
case RANAP_ProcedureCode_id_SecurityModeControl:
/* Security Mode Complete */
- LOGP(DRANAP, LOGL_NOTICE, "FIXME: Handle security mode complete\n");
rc = global_iu_event_cb(ctx, IU_EVENT_SECURITY_MODE_COMPLETE, NULL);
break;
case RANAP_ProcedureCode_id_Iu_Release:
/* Iu Release Complete */
- LOGP(DRANAP, LOGL_NOTICE, "FIXME: Handle Iu release complete\n");
rc = global_iu_event_cb(ctx, IU_EVENT_IU_RELEASE, NULL);
if (rc) {
LOGP(DRANAP, LOGL_ERROR, "Iu Release event: Iu Event callback returned %d\n",
diff --git a/openbsc/src/libmsc/iu_cs.c b/openbsc/src/libmsc/iu_cs.c
index 391e577f1..38648341e 100644
--- a/openbsc/src/libmsc/iu_cs.c
+++ b/openbsc/src/libmsc/iu_cs.c
@@ -83,6 +83,8 @@ struct gsm_subscriber_connection *subscr_conn_lookup_iu(
{
struct gsm_subscriber_connection *conn;
+ DEBUGP(DIUCS, "Looking for IuCS subscriber: link_id %p, conn_id %" PRIx32 "\n",
+ ue->link, ue->conn_id);
log_subscribers(network);
llist_for_each_entry(conn, &network->subscr_conns, entry) {
diff --git a/openbsc/src/osmo-cscn/cscn_main.c b/openbsc/src/osmo-cscn/cscn_main.c
index 4fe646b73..c66873437 100644
--- a/openbsc/src/osmo-cscn/cscn_main.c
+++ b/openbsc/src/osmo-cscn/cscn_main.c
@@ -332,7 +332,8 @@ static int rcvmsg_iu_cs(struct msgb *msg, struct gprs_ra_id *ra_id, /* FIXME gpr
static int rx_iu_event(struct ue_conn_ctx *ctx, enum iu_event_type type,
void *data)
{
- DEBUGP(DIUCS, "got IuCS event %u\n", type);
+ DEBUGP(DIUCS, "got IuCS event %u: %s\n", type,
+ iu_event_type_str(type));
return iucs_rx_ranap_event(cscn_network, ctx, type, data);
}
diff --git a/openbsc/src/osmo-cscn/iucs_ranap.c b/openbsc/src/osmo-cscn/iucs_ranap.c
index 5db29c29e..f88a55242 100644
--- a/openbsc/src/osmo-cscn/iucs_ranap.c
+++ b/openbsc/src/osmo-cscn/iucs_ranap.c
@@ -82,7 +82,7 @@ int iucs_rx_ranap_event(struct gsm_network *network,
conn = subscr_conn_lookup_iu(network, ue_ctx);
if (!conn) {
- LOGP(DRANAP, LOGL_NOTICE, "Cannot find subscriber for IU event %u\n", type);
+ LOGP(DRANAP, LOGL_ERROR, "Cannot find subscriber for IU event %u\n", type);
return -1;
}