aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-01-27 07:22:50 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-01-27 07:34:34 +0100
commit3a110ae60b58eeffe63296055d0431760e6bb1d0 (patch)
treeb8b30b6e2675d6996d9b82bb85153eaaa2f26dd7 /openbsc/include
parentbb84adc46552b18b248f47de4f19e181e0842af2 (diff)
[msc] Attempt to fix MT SMS with ciphering enabled.
The MSC is asking us to enable ciphering and then immediately sends a DTAP msg for SAPI=3. We handle this correctly by attempting to establish SAPI=3 but we never get an establishment confirm for this SAPI. Attempt to fix it by not sending any DTAP message when we receive the Cipher Mode Request and unblock the queue when the ciphering is confirmed. The unblocking currently works by taking all messages out of the queue and then submitting them again. This will attempt to establish the SAPI=3 and such automaticaly. And the MSC stopped sending me SMS so this needs to be verified at a later time.
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/bssap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bssap.h b/openbsc/include/openbsc/bssap.h
index 2ca2cac72..a46e0a9cd 100644
--- a/openbsc/include/openbsc/bssap.h
+++ b/openbsc/include/openbsc/bssap.h
@@ -329,5 +329,6 @@ void bsc_send_queued(struct sccp_connection *conn);
void bts_queue_send(struct msgb *msg, int link_id);
void bts_send_queued(struct bss_sccp_connection_data*);
void bts_free_queued(struct bss_sccp_connection_data*);
+void bts_unblock_queue(struct bss_sccp_connection_data*);
#endif