aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/gsm_data.h
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2009-02-10 00:06:19 +0000
committerHolger Freyther <zecke@selfish.org>2009-02-10 00:06:19 +0000
commit392209cbb55ebaaa5d795e196198f16615c3d7e4 (patch)
tree37a5bb77eceb8ecb430a90bdbcf9b9a3356f1358 /include/openbsc/gsm_data.h
parent1fd34141c220fcc0c04029a2966ef486ed8cb6be (diff)
[paging] Introduce a variable containing the free paging slots
Start with a large number of available slots. It is guranteed that we will - at some point - get a paging load and will properly update the counter and keep it updated.
Diffstat (limited to 'include/openbsc/gsm_data.h')
-rw-r--r--include/openbsc/gsm_data.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/openbsc/gsm_data.h b/include/openbsc/gsm_data.h
index c87b25da1..006a8c0e4 100644
--- a/include/openbsc/gsm_data.h
+++ b/include/openbsc/gsm_data.h
@@ -204,6 +204,9 @@ struct gsm_bts_paging_state {
struct gsm_paging_request *last_request;
struct gsm_bts *bts;
+ /* load */
+ u_int16_t available_slots;
+
/* tick timer */
struct timer_list paging_timer;
};