osmo-pcu/tests
Vadim Yanitskiy 2679ec0a9f csn1: fix csnStreamDecoder(): skip bits unhandled by serialize()
This change fixes a bug that was reported by Keith Whyte and
confirmed in [1]. The problem is that a user-defined handler
in case of CSN_SERIALIZE may parse only a part of the given
bit-stream, leaving some bits unhandled. This is expected
because the sender (i.e. the MS) may use more recent RLC/MAC
message definitions containing new fields at the end.

Those bits that were left unhandled by serialize() shall not be
interpreted as continuation of the message, they shall be skipped.

Note that the encoded vector in the RLCMAC unit test still does
not match the original one. That's a known bug explained in [2].

[1] If5873355d52d7ddb06c2716154a88d34100f6ab5
[2] Ic46d6e56768f516203d27d8e7a5adb77afdf32b7

Change-Id: Id4cc042fed68fc54aca0355dcb986cab3f6b49ea
Related: OS#4338
2020-03-06 21:49:04 +00:00
..
alloc tests/alloc: fix implicit conversion from 'double' to 'int8_t' 2020-01-29 06:17:50 +07:00
app_info tests/app_info: fix compiling with older g++ 2019-09-18 13:58:42 +02:00
bitcomp decompress_crbb: add length argument for search_runlen 2019-06-24 13:51:06 +00:00
codel use osmo_init_logging2() with proper talloc ctx 2018-04-01 16:57:42 +02:00
edge Remove undefined param passed to {logging,osmo_stats}_vty_add_cmds 2019-08-05 14:30:47 +02:00
emu Introduce osmo_tdef infra and timer VTY commands 2019-09-12 14:17:07 +02:00
fn use osmo_init_logging2() with proper talloc ctx 2018-04-01 16:57:42 +02:00
llc llc_queue::{dequeue,enqueue}() refactor 2020-03-02 12:05:06 +01:00
llist llist: Add missing const qualifier in llist cast method 2015-08-24 12:23:50 +02:00
ms Move out tbf subclasses from tbf.h to their own headers 2019-09-25 17:50:06 +02:00
rlcmac csn1: fix csnStreamDecoder(): skip bits unhandled by serialize() 2020-03-06 21:49:04 +00:00
tbf Check return code of rlcmac decode/encode functions 2020-02-05 17:26:02 +01:00
types Move out tbf subclasses from tbf.h to their own headers 2019-09-25 17:50:06 +02:00
Makefile.am tests/rlcmac: additionally match debug output of the CSN.1 codec 2020-02-17 02:30:58 +07:00
testsuite.at tests/rlcmac: additionally match debug output of the CSN.1 codec 2020-02-17 02:30:58 +07:00