aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-11-13 05:20:47 +0100
committerHarald Welte <laforge@gnumonks.org>2012-11-24 22:28:44 +0100
commit2bad1363e9acd340eff27bc0b3856ee6290c096c (patch)
treebe25222fe6a837ff97c0a2a09769dc08684752be /include
parent9858a7defe4aee4e3a2fd59b7b57d9026fd91d04 (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 'include')
-rw-r--r--include/osmo-bts/gsm_data.h2
-rw-r--r--include/osmo-bts/paging.h5
2 files changed, 7 insertions, 0 deletions
diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h
index 40b2e40b..3953663b 100644
--- a/include/osmo-bts/gsm_data.h
+++ b/include/osmo-bts/gsm_data.h
@@ -50,6 +50,8 @@ struct gsm_bts_role_bts {
uint8_t max_ta;
struct llist_head agch_queue;
struct paging_state *paging_state;
+ unsigned int paging_q_len;
+ unsigned int paging_lifetime;
char *bsc_oml_host;
char *rtp_bind_host;
unsigned int rtp_jitter_buf_ms;
diff --git a/include/osmo-bts/paging.h b/include/osmo-bts/paging.h
index 4e39b458..9cd6505d 100644
--- a/include/osmo-bts/paging.h
+++ b/include/osmo-bts/paging.h
@@ -13,6 +13,11 @@ struct paging_state *paging_init(struct gsm_bts_role_bts *btsb,
unsigned int num_paging_max,
unsigned int paging_lifetime);
+/* (re) configure paging code */
+int paging_config(struct paging_state *ps,
+ unsigned int num_paging_max,
+ unsigned int paging_lifetime);
+
void paging_reset(struct paging_state *ps);
/* update with new SYSTEM INFORMATION parameters */