diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-11-10 10:16:02 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-11-15 20:06:46 +0100 |
commit | 8d380dcaddcdd2d1379911388351673f4596f79a (patch) | |
tree | 193a7b4e62b5f929e77fc6e2a093ede96c6c6e9b /openbsc/src/gsm_04_80.c | |
parent | 2603c1f545cdb24f3cc71f852279dc63e2a7e1ed (diff) |
bsc_api: Change submit dtap to allow to automatically use the SACH
For SAPI=3 on a TCH it might be nice to use the SACH to submit
the message. The api allows to automatically use the SACH if
a message like this is submitted.
Diffstat (limited to 'openbsc/src/gsm_04_80.c')
-rw-r--r-- | openbsc/src/gsm_04_80.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openbsc/src/gsm_04_80.c b/openbsc/src/gsm_04_80.c index e0f47ff01..8414dc9fe 100644 --- a/openbsc/src/gsm_04_80.c +++ b/openbsc/src/gsm_04_80.c @@ -107,7 +107,7 @@ int gsm0480_send_ussd_response(struct gsm_subscriber_connection *conn, | (1<<7); /* TI direction = 1 */ gh->msg_type = GSM0480_MTYPE_RELEASE_COMPLETE; - return gsm0808_submit_dtap(conn, msg, 0); + return gsm0808_submit_dtap(conn, msg, 0, 0); } int gsm0480_send_ussd_reject(struct gsm_subscriber_connection *conn, @@ -136,7 +136,7 @@ int gsm0480_send_ussd_reject(struct gsm_subscriber_connection *conn, gh->proto_discr |= req->transaction_id | (1<<7); /* TI direction = 1 */ gh->msg_type = GSM0480_MTYPE_RELEASE_COMPLETE; - return gsm0808_submit_dtap(conn, msg, 0); + return gsm0808_submit_dtap(conn, msg, 0, 0); } int gsm0480_send_ussdNotify(struct gsm_subscriber_connection *conn, int level, const char *text) @@ -156,7 +156,7 @@ int gsm0480_send_ussdNotify(struct gsm_subscriber_connection *conn, int level, c gh->proto_discr = GSM48_PDISC_NC_SS; gh->msg_type = GSM0480_MTYPE_REGISTER; - return gsm0808_submit_dtap(conn, msg, 0); + return gsm0808_submit_dtap(conn, msg, 0, 0); } int gsm0480_send_releaseComplete(struct gsm_subscriber_connection *conn) @@ -172,5 +172,5 @@ int gsm0480_send_releaseComplete(struct gsm_subscriber_connection *conn) gh->proto_discr = GSM48_PDISC_NC_SS; gh->msg_type = GSM0480_MTYPE_RELEASE_COMPLETE; - return gsm0808_submit_dtap(conn, msg, 0); + return gsm0808_submit_dtap(conn, msg, 0, 0); } |