osmo-pcu/tests
Jacob Erlbeck 2db0f08e08 bssgp: Use measured leak rate for flow control
The leak rate sent to the SGSN does not reflect the current CS level,
lost frames, and control message overhead. So the SGSN cannot do
proper queue control under non-optimal conditions.

This commit computes the leak rate for the last flow control interval
by computing the maximum theoretical leak rate and basically
substracting control blocks, nacked blocks, and reduced block sizes
due to CS downgrade. By using this approach, the value will by more
stable on low load, where the value will tend to be near the value
derived from the configuration. On full load the transmitted value is
completely derived from the measurements.

Note that the MS default values are no adapted to the adapted BVC
leak rate, since a single MS which has a lower link quality would
otherwise be reducing the rate of another MS with good radio
conditions, which would not make much sense if they did not share any
PDCH.

Sponsored-by: On-Waves ehf
2015-09-11 11:52:02 +02:00
..
alloc alloc: Make alloc_algorithm_dynamic stateful 2015-07-16 19:24:16 +02:00
codel llc: Add CoDel AQM implementation 2015-07-21 19:22:32 +02:00
emu pcu_emu/test: Initialise current_test 2015-05-04 10:02:01 +02:00
llc llc: Add move_and_merge method to llc_queue 2015-08-21 19:02:18 +02:00
llist llist: Add missing const qualifier in llist cast method 2015-08-24 12:23:50 +02:00
ms tbf: Use explicit initialisations in constructor (Coverity) 2015-08-28 12:07:14 +02:00
rlcmac tests: Fix the expected result (re-add whitespace) 2013-08-03 14:59:38 +02:00
tbf bssgp: Use measured leak rate for flow control 2015-09-11 11:52:02 +02:00
types pcu: Fix non-critical warnings 2015-05-04 10:01:25 +02:00
Makefile.am llc: Add CoDel AQM implementation 2015-07-21 19:22:32 +02:00
testsuite.at llc: Add CoDel AQM implementation 2015-07-21 19:22:32 +02:00