aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/bsc_api.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-07-23 16:49:38 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-07-23 17:15:15 +0800
commitc354de8f9403a882aa4e57941792e89ffeb69b15 (patch)
treec43d5513c74f99d522bdf8a22b9cf337474b2be5 /openbsc/src/bsc_api.c
parent5eed0a2e01a7d954454417f18aed98e0f2b19f0c (diff)
bsc_api: Create dummy stub for the assignment command.
Diffstat (limited to 'openbsc/src/bsc_api.c')
-rw-r--r--openbsc/src/bsc_api.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/openbsc/src/bsc_api.c b/openbsc/src/bsc_api.c
index 2cb3b1a96..e5c9e9cea 100644
--- a/openbsc/src/bsc_api.c
+++ b/openbsc/src/bsc_api.c
@@ -63,6 +63,19 @@ int gsm0808_submit_dtap(struct gsm_subscriber_connection *conn,
}
}
+/**
+ * Send a GSM08.08 Assignment Request. Right now this does not contain the
+ * audio codec type or the allowed rates for the config.
+ */
+int gsm0808_assign_req(struct gsm_subscriber_connection *conn, int chan_type, int audio)
+{
+ struct bsc_api *api;
+ api = conn->bts->network->bsc_api;
+
+ api->assign_fail(conn, 0);
+ return 0;
+}
+
int gsm0808_page(struct gsm_bts *bts, unsigned int page_group, unsigned int mi_len,
uint8_t *mi, int chan_type)
{