aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-01-28 14:20:27 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-03 16:19:09 +0100
commit71d1e17e5e0c420cf00ea759743b81aaff72136e (patch)
treea5bad1c6def4bca6f23aee526f29f869c71cf9f7 /openbsc/include
parent2c9e65051c598a42d6a59490b67adb366929ac03 (diff)
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().
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/iu_cs.h6
1 files changed, 4 insertions, 2 deletions
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)