From 85a7b363d97db5c7be45bfb93079e8db46e90a81 Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Sat, 18 Apr 2009 13:48:55 +0200 Subject: 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). --- openbsc/include/openbsc/gsm_data.h | 1 + openbsc/include/openbsc/gsm_subscriber.h | 1 + 2 files changed, 2 insertions(+) (limited to 'openbsc/include') 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; }; -- cgit v1.2.3