aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/paging.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-11-09 17:00:42 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-11-15 20:06:45 +0100
commit85334f1309c89cf99e6ea55ea119c5b0d143cb5f (patch)
tree8dedfbcda1f01ef7927a74d24c78f3cac24d4597 /openbsc/include/openbsc/paging.h
parent8dfd241bc657789bb89fcf781f898a6080b34ddd (diff)
paging: Move the paging data into the paging.h
Diffstat (limited to 'openbsc/include/openbsc/paging.h')
-rw-r--r--openbsc/include/openbsc/paging.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/paging.h b/openbsc/include/openbsc/paging.h
index b69d5e602..9a7930dbc 100644
--- a/openbsc/include/openbsc/paging.h
+++ b/openbsc/include/openbsc/paging.h
@@ -29,6 +29,28 @@
#include "gsm_subscriber.h"
#include <osmocore/timer.h>
+/**
+ * A pending paging request
+ */
+struct gsm_paging_request {
+ /* list_head for list of all paging requests */
+ struct llist_head entry;
+ /* the subscriber which we're paging. Later gsm_paging_request
+ * should probably become a part of the gsm_subscriber struct? */
+ struct gsm_subscriber *subscr;
+ /* back-pointer to the BTS on which we are paging */
+ struct gsm_bts *bts;
+ /* what kind of channel type do we ask the MS to establish */
+ int chan_type;
+
+ /* Timer 3113: how long do we try to page? */
+ struct timer_list T3113;
+
+ /* callback to be called in case paging completes */
+ gsm_cbfn *cbfn;
+ void *cbfn_param;
+};
+
/* call once for every gsm_bts... */
void paging_init(struct gsm_bts *bts);