diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-09-06 10:11:25 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-09-06 10:13:23 +0800 |
commit | e66bf1fd465cc5d364d36ee1ea78419e29b2c4f7 (patch) | |
tree | 845b65a3653cbcf2e90238462b7c6aa601fa74bf /openbsc/include | |
parent | eb241aa1d5720a36cf97f29390c2890cf3aecba7 (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.
By default we are keeping the old behavior to always page and
only by changing a setting one is using the new behavior.
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/gsm_data.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; }; |