diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-11-13 05:20:47 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-11-24 22:28:44 +0100 |
commit | 2bad1363e9acd340eff27bc0b3856ee6290c096c (patch) | |
tree | be25222fe6a837ff97c0a2a09769dc08684752be /src/common/paging.c | |
parent | 9858a7defe4aee4e3a2fd59b7b57d9026fd91d04 (diff) |
Add VTY configuration of paging queue size and lifetime of paging records
This may be adding bells and whistles that nobody wants to touch, but at
least for current analysis/optimiziation they are useful to have. Later
on they should probably be removed again and/or obsoleted by OML
messages for configuration of paging behaviour by the BSC.
Diffstat (limited to 'src/common/paging.c')
-rw-r--r-- | src/common/paging.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common/paging.c b/src/common/paging.c index cfa2b080..b283d486 100644 --- a/src/common/paging.c +++ b/src/common/paging.c @@ -547,6 +547,14 @@ struct paging_state *paging_init(struct gsm_bts_role_bts *btsb, return ps; } +int paging_config(struct paging_state *ps, + unsigned int num_paging_max, + unsigned int paging_lifetime) +{ + ps->num_paging_max = num_paging_max; + ps->paging_lifetime = paging_lifetime; +} + void paging_reset(struct paging_state *ps) { int i; |