From 71d1e17e5e0c420cf00ea759743b81aaff72136e Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 28 Jan 2016 14:20:27 +0100 Subject: cscn: call msc_compl_l3() from subscr_conn_allocate_iu() Pubish msc_compl_l3() decl in new file libmsc/msc_api.h (but see comment). Call msc_compl_l3() when establishing a subscriber connection for IuCS. Remove bts from subscr_conn_allocate_iu() signature, use network, link_id and conn_id instead. Move subscr_conn_allocate_iu() to the top of the file, because it semantically belongs before subscr_conn_lookup_iu(). --- openbsc/include/openbsc/iu_cs.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'openbsc/include') diff --git a/openbsc/include/openbsc/iu_cs.h b/openbsc/include/openbsc/iu_cs.h index 4be2ae96a..2169c1ab1 100644 --- a/openbsc/include/openbsc/iu_cs.h +++ b/openbsc/include/openbsc/iu_cs.h @@ -1,5 +1,7 @@ #pragma once int gsm0408_rcvmsg_iucs(struct gsm_network *network, struct msgb *msg, uint8_t link_id); -struct gsm_subscriber_connection *subscr_conn_allocate_iu(struct gsm_bts *bts); - /* TODO "bts"? this is an hNodeB, really. */ + +struct gsm_subscriber_connection *subscr_conn_allocate_iu(struct gsm_network *network, + uint8_t link_id, + uint32_t conn_id) -- cgit v1.2.3