aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-19 19:41:26 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-09-06 10:13:22 +0800
commit6410d93cf81a50e6b74132ba69158629bf147aa7 (patch)
treeefefa4e9d60ef6383eaa7dc7a0c14b263438553a /openbsc/include/openbsc
parentb0e88b86445d66510180949186d850f954cf9036 (diff)
[paging] When we ran down to 0 available paging slots start a credit timer
It might be that we run down to zero available slots but the BTS might not send us a load indication. This can happen if we think we send paging requests and the BTS disagrees and considers them as errors and does not count the paging message. When we drop to zero we will start a credit timer to give us extra credit after six seconds, if we get a CCCH load indication before we will stop the timer.
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r--openbsc/include/openbsc/gsm_data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h
index 453b39776..c87a2c116 100644
--- a/openbsc/include/openbsc/gsm_data.h
+++ b/openbsc/include/openbsc/gsm_data.h
@@ -453,6 +453,7 @@ struct gsm_bts_paging_state {
struct gsm_bts *bts;
struct timer_list work_timer;
+ struct timer_list credit_timer;
/* load */
u_int16_t available_slots;