bug in common/oml.c of osmo-bts?

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

Andreas Eversberg andreas at eversberg.eu
Tue Jul 3 18:55:50 UTC 2012


hi laforge,

just curios about two lines at oml.c:

rlcc->parameter[T_DL_TBF_EXT] = *(uint16_t *)cur * 10;
rlcc->parameter[T_UL_TBF_EXT] = *(uint16_t *)cur * 10;

1. isnt it * 2 instead of * 10? i just saw a comment at openbsc for 0, 
250 which says: 500.
2. did you forget ntoh(*(uint16_t *)cur)?

regards,

andreas





More information about the osmocom-net-gprs mailing list