mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-11-01 20:43:47 +00:00
paging: Move the paging data into the paging.h
This commit is contained in:
@@ -431,28 +431,6 @@ enum gsm_bts_features {
|
|||||||
BTS_FEAT_HOPPING,
|
BTS_FEAT_HOPPING,
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* 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;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This keeps track of the paging status of one BTS. It
|
* This keeps track of the paging status of one BTS. It
|
||||||
* includes a number of pending requests, a back pointer
|
* includes a number of pending requests, a back pointer
|
||||||
|
|||||||
@@ -29,6 +29,28 @@
|
|||||||
#include "gsm_subscriber.h"
|
#include "gsm_subscriber.h"
|
||||||
#include <osmocore/timer.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... */
|
/* call once for every gsm_bts... */
|
||||||
void paging_init(struct gsm_bts *bts);
|
void paging_init(struct gsm_bts *bts);
|
||||||
|
|
||||||
|
|||||||
@@ -44,6 +44,7 @@
|
|||||||
#include <openbsc/gprs_ns.h>
|
#include <openbsc/gprs_ns.h>
|
||||||
#include <openbsc/system_information.h>
|
#include <openbsc/system_information.h>
|
||||||
#include <openbsc/debug.h>
|
#include <openbsc/debug.h>
|
||||||
|
#include <openbsc/paging.h>
|
||||||
|
|
||||||
#include "../bscconfig.h"
|
#include "../bscconfig.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user