osmo-pcu/tests/rlcmac
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
..
RLCMACTest.cpp rlcmac: Fix bug receiving RA cap 2020-03-23 19:01:58 +01:00
RLCMACTest.err rlcmac: Introduce MS Radio Access Capabilities 2 to fix related spare bits 2020-03-23 19:02:01 +01:00
RLCMACTest.ok rlcmac: Introduce MS Radio Access Capabilities 2 to fix related spare bits 2020-03-23 19:02:01 +01:00