aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2022-05-04 19:27:34 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2022-05-13 14:06:37 +0200
commit9f8137dc735d6da5be642ccbe90827de59841ac1 (patch)
tree59c01447bd738ab3d9aa9876cbf4d4f483a0b3db /include
parent50a42e7436db6e675d7e27b6fb1565d8f71ad03a (diff)
paging: start/stop credit_timer based on C0 running
This way we avoid triggering timers and doing extra poll loops for each BTS which is configured but not up. It also has the effect of removing logging about estimating paging buffers for BTS which are down, which can be confusing. Furthermore, since work is delayed until the TRX and cell in general is configured, the first estimation is properly done now since the correct configuration is in place at that time. Related: SYS#5922 Change-Id: I1b5b1a98115b4e9d821eb3330fc5b970a0e78a44
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/bsc/paging.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/bsc/paging.h b/include/osmocom/bsc/paging.h
index 819f47827..a0b5bcbeb 100644
--- a/include/osmocom/bsc/paging.h
+++ b/include/osmocom/bsc/paging.h
@@ -118,6 +118,8 @@ struct gsm_bts_paging_state {
uint16_t available_slots;
};
+void paging_global_init(void);
+
void paging_init(struct gsm_bts *bts);
void paging_destructor(struct gsm_bts *bts);