diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-02-16 22:53:52 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-02-16 22:53:52 +0000 |
commit | 0932d1e2b41ac733f7f12ca8b887e3ba96525225 (patch) | |
tree | 2f4afab5af30836795b3a4b7f18b1c859adca1be /include/openbsc/gsm_data.h | |
parent | 09e38afbcc9d62f75eae8867abe0d62678adef0f (diff) |
forgot the header files in last commit. sigh.
Diffstat (limited to 'include/openbsc/gsm_data.h')
-rw-r--r-- | include/openbsc/gsm_data.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/openbsc/gsm_data.h b/include/openbsc/gsm_data.h index 2048abc1f..25da17112 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 @@ struct gsm_call { /* the 'local' subscriber */ struct gsm_subscriber *subscr; + /* the 'remote' subscriber */ + struct gsm_subscriber *called_subscr; }; @@ -212,13 +220,22 @@ enum gsm_bts_type { * 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 |