[network] Make use of T3113 for paging

Add it to the configuration files and make use
of it in the the paging.c.
This commit is contained in:
Holger Hans Peter Freyther 2009-11-21 21:48:53 +01:00
parent 23975e718f
commit 4642d4917f
6 changed files with 5 additions and 2 deletions

View File

@ -286,7 +286,6 @@ struct gsm_paging_request {
gsm_cbfn *cbfn;
void *cbfn_param;
};
#define T3113_VALUE 60, 0
/*
* This keeps track of the paging status of one BTS. It

View File

@ -12,6 +12,7 @@ network
short name OpenBSC
long name OpenBSC
timer t3101 10
timer t3113 60
bts 0
type bs11
band GSM900

View File

@ -12,6 +12,7 @@ network
short name OpenBSC
long name OpenBSC
timer t3101 10
timer t3113 60
bts 0
type bs11
band GSM900

View File

@ -12,6 +12,7 @@ network
short name OpenBSC
long name OpenBSC
timer t3101 10
timer t3113 60
bts 0
type bs11
band GSM900

View File

@ -12,6 +12,7 @@ network
short name OpenBSC
long name OpenBSC
timer t3101 10
timer t3113 60
bts 0
type nanobts
ip.access unit_id 1801 0

View File

@ -239,7 +239,7 @@ static int _paging_request(struct gsm_bts *bts, struct gsm_subscriber *subscr,
req->cbfn_param = data;
req->T3113.cb = paging_T3113_expired;
req->T3113.data = req;
bsc_schedule_timer(&req->T3113, T3113_VALUE);
bsc_schedule_timer(&req->T3113, bts->network->T3113, 0);
llist_add_tail(&req->entry, &bts_entry->pending_requests);
if (!bsc_timer_pending(&bts_entry->work_timer))