aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/signal.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-12-24 10:15:55 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-12-26 09:40:02 +0100
commit04144c1905d2ccc7b6783b0cccc2f9c11079354b (patch)
treed0aae2af68324da3af6d84d8e0f9f78780f3f047 /openbsc/include/openbsc/signal.h
parent0eb7666efa5644266cb0791b84f7c3e396c70806 (diff)
sms: Create signal data for SMS with more information
This is providing access to the paging result, the sms, the transaction. This will allow the SMS queue to do decisions based on the source of the failure.
Diffstat (limited to 'openbsc/include/openbsc/signal.h')
-rw-r--r--openbsc/include/openbsc/signal.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/signal.h b/openbsc/include/openbsc/signal.h
index 3a98fad81..dfb837d38 100644
--- a/openbsc/include/openbsc/signal.h
+++ b/openbsc/include/openbsc/signal.h
@@ -173,6 +173,15 @@ struct rf_signal_data {
struct gsm_network *net;
};
+struct sms_signal_data {
+ /* The transaction where this occured */
+ struct gsm_trans *trans;
+ /* Can be NULL for SMMA */
+ struct gsm_sms *sms;
+ /* int paging result. Only the ones with > 0 */
+ int paging_result;
+};
+
enum signal_ns {
S_NS_RESET,
S_NS_BLOCK,