Making jolly/testing ready to be merged?

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/OpenBSC@lists.osmocom.org/.

Andreas Eversberg andreas at eversberg.eu
Sat Jan 4 09:01:15 UTC 2014


Holger Hans Peter Freyther wrote:
> I wanted to start with merging the Connection Failure Criteria code but
> I am confused about the conversion. When parsing the criteria value from
> from the VTY you divide by four and subtract (so 4 becomes 0). You ondo
> this when saving the config and patching it in the nanoBTS attribute
> array.
>
> Wouldn't it be more easy to not doing the conversion?
>   
dear holger,

the attribute "bts->si_common.cell_options.radio_link_timeout" is
defined in gsm_04_08.h of libosmocore:

struct gsm48_cell_options {
        uint8_t radio_link_timeout:4,
                 dtx:2,
                 pwrc:1,
                 spare:1;
} __attribute__ ((packed));

we need this conversion, since we also need "cell_options" for SI3 and
SI6. i just use this attribute (and convert it back), so i don't need to
add an extra attribute to "bts" structure.

regards,

andreas





More information about the OpenBSC mailing list