About sniff multi bursts in a frame, CCCH_CONF

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.com
Wed Sep 28 06:31:54 UTC 2011


Hi,

> const struct tdma_sched_item sniff_ccch0_sched_set[] = {
>                                                SCHED_ITEM_DT(l1s_sniff_cmd, 0, 0, 0),  SCHED_END_FRAME(),
>                                                SCHED_ITEM_DT(l1s_sniff_cmd, 0, 0, 1),  SCHED_END_FRAME(),
>        SCHED_ITEM(l1s_sniff_resp, -5, 0, 0),   SCHED_ITEM_DT(l1s_sniff_cmd, 0, 0, 2),  SCHED_END_FRAME(),
>        SCHED_ITEM(l1s_sniff_resp, -5, 0, 1),   SCHED_ITEM_DT(l1s_sniff_cmd, 0, 0, 3),  SCHED_END_FRAME(),
>        SCHED_ITEM(l1s_sniff_resp, -5, 0, 2),   SCHED_END_FRAME(),
>        SCHED_ITEM(l1s_sniff_resp, -5, 0, 3),   SCHED_END_FRAME(),
>        SCHED_END_SET()
> };

You must set the 'priority' field properly as well. It defines in
which order the item will be executed in a frame.

For TSx command, put it as x
For TSx response, put it as -12+x

So for TS2, the l1s_sniff_cmd would be 2 and the l1s_sniff_resp would be -10

Cheers,

    Sylvain




More information about the baseband-devel mailing list