diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-04-19 10:24:07 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-04-19 10:29:16 +0200 |
commit | 38e9c821143a9b86227ae02b1830de43b67facab (patch) | |
tree | df37a45cdb965b32834df9237fbdf0e9ac7ffe41 /openbsc/src/abis_rsl.c | |
parent | 39608dc04557ac050de6a05a6d41239fc18d9eb8 (diff) |
RSL: inmplement ip.access paging load indication 'below threshold'
This is an ip.access specific 08.58 oddity. It reports 0xffff
available paging buffers if the paging load is below the 12.21
CCCH LOAD INDICATION THRESHOLD.
We use 50, since that is what it reports if the threshold == 0.
Diffstat (limited to 'openbsc/src/abis_rsl.c')
-rw-r--r-- | openbsc/src/abis_rsl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/src/abis_rsl.c b/openbsc/src/abis_rsl.c index bbce67a96..53b29823e 100644 --- a/openbsc/src/abis_rsl.c +++ b/openbsc/src/abis_rsl.c @@ -1187,6 +1187,10 @@ static int rsl_rx_ccch_load(struct msgb *msg) switch (rslh->data[0]) { case RSL_IE_PAGING_LOAD: pg_buf_space = rslh->data[1] << 8 | rslh->data[2]; + if (is_ipaccess_bts(msg->trx->bts) && pg_buf_space == 0xffff) { + /* paging load below configured threshold, use 50 as default */ + pg_buf_space = 50; + } paging_update_buffer_space(msg->trx->bts, pg_buf_space); break; case RSL_IE_RACH_LOAD: |