aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/load_indication.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-11-13 05:04:24 +0100
committerHarald Welte <laforge@gnumonks.org>2012-11-24 22:28:44 +0100
commit9858a7defe4aee4e3a2fd59b7b57d9026fd91d04 (patch)
treed78571336329afb5c11cf02ecb95261a58cee184 /src/common/load_indication.c
parenta57fac59c6a25b2a18b879b5831973804200bf85 (diff)
paging: send CCCH load indications even if paging load below threshold
This is mainly as OpenBSC is adjusting the amount of paging commands it sends based on this magic value 0xffff.
Diffstat (limited to 'src/common/load_indication.c')
-rw-r--r--src/common/load_indication.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/load_indication.c b/src/common/load_indication.c
index e52952c3..a445ecb1 100644
--- a/src/common/load_indication.c
+++ b/src/common/load_indication.c
@@ -53,6 +53,12 @@ static void load_timer_cb(void *data)
/* send RSL load indication message to BSC */
uint16_t buffer_space = paging_buffer_space(btsb->paging_state);
rsl_tx_ccch_load_ind_pch(bts, buffer_space);
+ } else {
+ /* This is an extenstion of TS 08.58. We don't only
+ * send load indications if the load is above threshold,
+ * but we also explicitly indicate that we are below
+ * threshold by using the magic value 0xffff */
+ rsl_tx_ccch_load_ind_pch(bts, 0xffff);
}
if (btsb->load.rach.total == 0)