forgot the header files in last commit. sigh.
diff --git a/include/openbsc/gsm_data.h b/include/openbsc/gsm_data.h
index 2048abc..25da171 100644
--- a/include/openbsc/gsm_data.h
+++ b/include/openbsc/gsm_data.h
@@ -17,6 +17,12 @@
enum gsm_hooks {
GSM_HOOK_NM_SWLOAD,
+ GSM_HOOK_RR_PAGING,
+};
+
+enum gsm_paging_event {
+ GSM_PAGING_SUCCEEDED,
+ GSM_PAGING_EXPIRED,
};
struct msgb;
@@ -63,6 +69,8 @@
/* the 'local' subscriber */
struct gsm_subscriber *subscr;
+ /* the 'remote' subscriber */
+ struct gsm_subscriber *called_subscr;
};
@@ -212,13 +220,22 @@
* 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;
};
#define T3113_VALUE 60, 0