aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Freyther <ich@tamarin.(none)>2009-04-18 13:48:55 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-06-10 13:38:20 +0200
commit85a7b363d97db5c7be45bfb93079e8db46e90a81 (patch)
tree145e04d047ead4a3069e624cbf4575db062695f0 /openbsc/include
parent800d29d798af01f3502bb6437e87ed19ce422eb8 (diff)
Handle and dispatch paging requests in gsm_subscriber
Implement subscr_get_channel and subscr_put_channel to a degree that SMS Submit and phone call scheduled at the same time will deliver both (one after the other).
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/gsm_data.h1
-rw-r--r--openbsc/include/openbsc/gsm_subscriber.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h
index e85adf829..1fb80a2f3 100644
--- a/openbsc/include/openbsc/gsm_data.h
+++ b/openbsc/include/openbsc/gsm_data.h
@@ -25,6 +25,7 @@ enum gsm_hooks {
enum gsm_paging_event {
GSM_PAGING_SUCCEEDED,
GSM_PAGING_EXPIRED,
+ GSM_PAGING_OOM,
};
struct msgb;
diff --git a/openbsc/include/openbsc/gsm_subscriber.h b/openbsc/include/openbsc/gsm_subscriber.h
index f787aebd5..780d8ede0 100644
--- a/openbsc/include/openbsc/gsm_subscriber.h
+++ b/openbsc/include/openbsc/gsm_subscriber.h
@@ -33,6 +33,7 @@ struct gsm_subscriber {
u_int8_t classmark3[14];
/* pending requests */
+ int in_callback;
struct llist_head requests;
};