aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gsm_data.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-20 17:10:43 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-20 17:10:43 +0800
commit242faaafd170e4e81ff26af23e0e2ac5d13ad220 (patch)
treef4a65806a4a81536d872b7ae2ea9e3b82abffae1 /openbsc/include/openbsc/gsm_data.h
parentf77c0cd428a0dd35231f17ec877269df3000d396 (diff)
[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.
Diffstat (limited to 'openbsc/include/openbsc/gsm_data.h')
-rw-r--r--openbsc/include/openbsc/gsm_data.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h
index 0261394ed..649aff436 100644
--- a/openbsc/include/openbsc/gsm_data.h
+++ b/openbsc/include/openbsc/gsm_data.h
@@ -407,6 +407,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;
};