This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.
Sylvain Munaut 246tnt at gmail.comHi,
> uint8_t bits[15];      /* 114 bits + 2 steal bits. Filled MSB first */
>
> if i do 8 * 15 = 120
>
> that would make 6 bits extra... not 2 bits
And how exactly would you pack 116 bits in an integer number of bytes ...
> should i discard the last 6 bits of the last byte?
The very comment you quoted above says there are 114+2 bits of payload
... 120 - (114+2) = 4 padding bits, not 6 ...
Or maybe you're under the misguided impression that "steal bits" are
"padding bits" in which case it just shows you need to reread the GSM
05.xx series of specifications.
Cheers,
    Sylvain