osmo-bsc/src
Stefan Sperling 6cee893a0f Make "waiting indicator" of IMMEDIATE ASSIGN REJECT dynamic.
The IMMEDIATE ASSIGN REJECT message contains a wait indicator which
tells an MS requesting a channel to wait for a specified amount of
time before trying to request a channel again, i.e. the wait indicator
controls the T3122 timeout value in the MS.

Previously, the wait indicator was fixed to 10 seconds.
This is not sufficient if there are a lot of MS requesting channels
because the MS will retry too soon. Instead of using a fixed value,
maintain a dynamic wait indicator value based on average channel load.

The load (used vs. available channels on a BTS) is sampled once per
second, and once 8 samples have been collected we update a BTS-specific
T3122 wait indicator based on the measured load.

While the wait indicator could go up to 255 seconds, this initial
implementation keeps it in the range from 10 to 128 seconds.

Further experimentation and testing will show whether higher wait
indicator values are desirable, if the sampling rate needs to change,
or if the function mapping the load measurement to a wait indicator
value should change (currently we map the load average linearly into
the range [10, 128] inclusive).

Change-Id: I57e38f6d6ba3b23cc6e1f9520b90261dbb1f1cec
Related: OS#2592
2018-02-05 13:58:17 +01:00
..
ipaccess abisip-find: add --interval option 2018-01-08 12:56:12 +00:00
libbsc Make "waiting indicator" of IMMEDIATE ASSIGN REJECT dynamic. 2018-02-05 13:58:17 +01:00
libcommon Make "waiting indicator" of IMMEDIATE ASSIGN REJECT dynamic. 2018-02-05 13:58:17 +01:00
libcommon-cs Make libcommon, libcommon-cs, libfilter, utils depend on mgcp/sigtran 2018-01-15 20:14:01 +01:00
libfilter Make libcommon, libcommon-cs, libfilter, utils depend on mgcp/sigtran 2018-01-15 20:14:01 +01:00
osmo-bsc bssmap_handle_assignm_req(): Decode channel type as first step 2018-01-28 03:07:21 +01:00
osmo-bsc_nat Check and handle SMS encoding failure 2017-12-31 11:02:42 +00:00
utils Remove dead code left over from NITB split 2017-12-19 17:53:13 +00:00
Makefile.am Remove dead code left over from NITB split 2017-12-19 17:53:13 +00:00