osmo-pcu/tests
Pau Espin e50ce6e45c rlcmac: Introduce MS Radio Access Capabilities 2 to fix related spare bits
There's two variants for the Ms Radio Access Capabilities.
* The usual encoding with spare bits (usually to fill up to octet boundary)
as defined in TS 24.008 Table 10.5.146
And there's too:
* MS Radio Access Capabilities 2 IE from TS44.060 section 12.30, which is
the same but removing all spare bits, and which is used in messages like
Packet Resource Request and Additional MS RAC messages.

The later is used basically for messages having extra IEs after the MS
Radio Access capabilities IE, since they are encoded immediatelly
afterwards.

So this patch does:
* Adds the expected spare bits (M_PADDING) to MS_Radio_Access_capability_t
* Creates a new MS_Radio_Access_capability2_t without padding
* Updates code to use the new "2" version where needed.

Note RLCMACTest long de/encoding line logs change only because the name
of the struct changes (the "2" is added).

Change-Id: Ibd756f80a03452a651e2771dbc628d701e55ac4b
2020-03-23 19:02:01 +01: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 clock_gettime(CLOCK_MONOTONIC) and timespec everywhere 2020-03-16 10:31:56 +00: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 Use clock_gettime(CLOCK_MONOTONIC) and timespec everywhere 2020-03-16 10:31:56 +00: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 rlcmac: Introduce MS Radio Access Capabilities 2 to fix related spare bits 2020-03-23 19:02:01 +01:00
tbf rlcmac: Introduce MS Radio Access Capabilities 2 to fix related spare bits 2020-03-23 19:02:01 +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