osmo-pcu/tests
Jacob Erlbeck f2694b74c9 tbf: Add check_polling/set_polling
Currently the checks for and the actual polling is done in several
places by copy & paste of several lines of code. This hinders changes
of they polling is handled internally and also is likely source of
programming mistakes.

Separate this into a check_polling function, that checks whether
polling is possible and returns the FN and the RRBP to be used in
that case. Otherwise the cause is logged (LOGL_DEBUG) and a negative
error value is returned. There are no other side effect beside the
logging.

If the call is successful, the set_polling method can be used to
actually register the polling.

Extend the encoder functions' parameters lists by an rrbp parameter.

Sponsored-by: On-Waves ehf
2016-02-08 00:45:38 +01:00
..
alloc tbf: Use LListHead instead of llist_pods 2016-02-01 13:58:13 +01:00
codel llc: Add CoDel AQM implementation 2015-07-21 19:22:32 +02:00
edge edge: Support MCS data block encoding 2016-02-05 18:24:50 +01: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 edge: Replace integer cs by GprsCodingScheme 2016-02-01 13:58:14 +01:00
rlcmac tests: Fix the expected result (re-add whitespace) 2013-08-03 14:59:38 +02:00
tbf tbf: Add check_polling/set_polling 2016-02-08 00:45:38 +01:00
types tbf: Use bitvec based window methods for GPRS 2016-02-08 00:45:35 +01:00
Makefile.am edge: Add test for GprsCodingScheme 2015-12-15 15:19:42 +01:00
testsuite.at edge: Add test for GprsCodingScheme 2015-12-15 15:19:42 +01:00