diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-02-11 01:28:06 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-03-03 16:19:10 +0100 |
commit | 7a70a4f52a837bde0f7fa5f435e302939a2e3d74 (patch) | |
tree | d617c4a5814d21ecac41a9e917deca84da044433 /openbsc/src/osmo-cscn | |
parent | c6172a320bdbbe38a0a9f3ae6b072b00b5b6bd02 (diff) |
cscn wip: direct dtap responses to IuCS
Diffstat (limited to 'openbsc/src/osmo-cscn')
-rw-r--r-- | openbsc/src/osmo-cscn/iu_cs.c | 9 | ||||
-rw-r--r-- | openbsc/src/osmo-cscn/iu_cs.h | 5 |
2 files changed, 9 insertions, 5 deletions
diff --git a/openbsc/src/osmo-cscn/iu_cs.c b/openbsc/src/osmo-cscn/iu_cs.c index e6c2818e7..e321c15a1 100644 --- a/openbsc/src/osmo-cscn/iu_cs.c +++ b/openbsc/src/osmo-cscn/iu_cs.c @@ -108,3 +108,12 @@ int gsm0408_rcvmsg_iucs(struct gsm_network *network, struct msgb *msg) return rc; } + +int iucs_submit_dtap(struct gsm_subscriber_connection *conn, + struct msgb *msg) +{ + OSMO_ASSERT(conn->via_iface == IFACE_IUCS); + msg->dst = conn->iu.ue_ctx; + return iu_tx(msg, 0); +} + diff --git a/openbsc/src/osmo-cscn/iu_cs.h b/openbsc/src/osmo-cscn/iu_cs.h deleted file mode 100644 index 01d3d2f2a..000000000 --- a/openbsc/src/osmo-cscn/iu_cs.h +++ /dev/null @@ -1,5 +0,0 @@ -#pragma once - -#include <openbsc/iu.h> - -int gsm0408_rcvmsg_iucs(struct gsm_network *network, struct msgb *msg, uint8_t link_id); |