On 11/22/2010 11:38 AM, Sylvain Munaut wrote:
Also a
question: what would be the best place to integrate CBCH
handling into osmocom-bb? I'm guessing host/layer23/src/common/lapdm.c
would handle block reassembly, then send CBS frames up the stack.
I don't know CBCH at all, but a general rule would be:
Is the block reassembly part of LAPDm ? (i.e. GSM 04.06 ?)
- If yes, then it fits in lapdm.c
- If no and nothing else fits, create a new file for it.
Actually, the only link to 04.06 is a note in section 3.2 saying:
LPD = "0 1" corresponds to the data link
protocol used for SMSCB (see 3GPP TS 04.12).
... whereupon the LPD=01 address field variant is redefined to contain
different bit-fields. This supports the idea that implementation of
SMSCB should be entirely separate from LAPDm.
Thanks,
Alex