[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:
parent
23975e718f
commit
4642d4917f
|
@ -286,7 +286,6 @@ struct gsm_paging_request {
|
||||||
gsm_cbfn *cbfn;
|
gsm_cbfn *cbfn;
|
||||||
void *cbfn_param;
|
void *cbfn_param;
|
||||||
};
|
};
|
||||||
#define T3113_VALUE 60, 0
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This keeps track of the paging status of one BTS. It
|
* This keeps track of the paging status of one BTS. It
|
||||||
|
|
|
@ -12,6 +12,7 @@ network
|
||||||
short name OpenBSC
|
short name OpenBSC
|
||||||
long name OpenBSC
|
long name OpenBSC
|
||||||
timer t3101 10
|
timer t3101 10
|
||||||
|
timer t3113 60
|
||||||
bts 0
|
bts 0
|
||||||
type bs11
|
type bs11
|
||||||
band GSM900
|
band GSM900
|
||||||
|
|
|
@ -12,6 +12,7 @@ network
|
||||||
short name OpenBSC
|
short name OpenBSC
|
||||||
long name OpenBSC
|
long name OpenBSC
|
||||||
timer t3101 10
|
timer t3101 10
|
||||||
|
timer t3113 60
|
||||||
bts 0
|
bts 0
|
||||||
type bs11
|
type bs11
|
||||||
band GSM900
|
band GSM900
|
||||||
|
|
|
@ -12,6 +12,7 @@ network
|
||||||
short name OpenBSC
|
short name OpenBSC
|
||||||
long name OpenBSC
|
long name OpenBSC
|
||||||
timer t3101 10
|
timer t3101 10
|
||||||
|
timer t3113 60
|
||||||
bts 0
|
bts 0
|
||||||
type bs11
|
type bs11
|
||||||
band GSM900
|
band GSM900
|
||||||
|
|
|
@ -12,6 +12,7 @@ network
|
||||||
short name OpenBSC
|
short name OpenBSC
|
||||||
long name OpenBSC
|
long name OpenBSC
|
||||||
timer t3101 10
|
timer t3101 10
|
||||||
|
timer t3113 60
|
||||||
bts 0
|
bts 0
|
||||||
type nanobts
|
type nanobts
|
||||||
ip.access unit_id 1801 0
|
ip.access unit_id 1801 0
|
||||||
|
|
|
@ -239,7 +239,7 @@ static int _paging_request(struct gsm_bts *bts, struct gsm_subscriber *subscr,
|
||||||
req->cbfn_param = data;
|
req->cbfn_param = data;
|
||||||
req->T3113.cb = paging_T3113_expired;
|
req->T3113.cb = paging_T3113_expired;
|
||||||
req->T3113.data = req;
|
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);
|
llist_add_tail(&req->entry, &bts_entry->pending_requests);
|
||||||
|
|
||||||
if (!bsc_timer_pending(&bts_entry->work_timer))
|
if (!bsc_timer_pending(&bts_entry->work_timer))
|
||||||
|
|
Loading…
Reference in New Issue