question about l1ctl_burst_ind structure

Sylvain Munaut 246tnt at gmail.com
Sat Dec 15 23:37:45 CET 2012


Hi,

> 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



More information about the baseband-devel mailing list