osmo-pcu/tests/tbf
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
..
TbfTest.cpp bts: Start a DL TBF if needed after establishment of an UL TBF 2015-09-01 12:01:20 +02:00
TbfTest.err bssgp: Use measured leak rate for flow control 2015-09-11 11:52:02 +02:00
TbfTest.ok tbf/test: Add test_tbf_dl_reuse 2015-08-24 12:23:50 +02:00