From e66bf1fd465cc5d364d36ee1ea78419e29b2c4f7 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 6 Sep 2010 10:11:25 +0800 Subject: [paging] Only page if we have some free channels right now Only page if we have a load that is acceptable for paging. This option is off by default, and can be enabled per bts. The idea is that when we have no resources right now we will not page as it will only create more RACHs and increase the load. By default we are keeping the old behavior to always page and only by changing a setting one is using the new behavior. --- openbsc/include/openbsc/gsm_data.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openbsc/include') diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index c87a2c116..31e115281 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -455,6 +455,9 @@ struct gsm_bts_paging_state { struct timer_list work_timer; struct timer_list credit_timer; + /* free chans needed */ + int free_chans_need; + /* load */ u_int16_t available_slots; }; -- cgit v1.2.3