Hi Andreas, sorry for the delayed response. That mail got somehow missed...
On Tue, Jul 03, 2012 at 08:55:50PM +0200, Andreas Eversberg wrote:
rlcc->parameter[T_DL_TBF_EXT] = *(uint16_t *)cur * 10; rlcc->parameter[T_UL_TBF_EXT] = *(uint16_t *)cur * 10;
- isnt it * 2 instead of * 10?
the parameter is coded in units of 10ms. So in order to get from the wire encoding to milliseconds, we need to multiply by 10.
- did you forget ntoh(*(uint16_t *)cur)?
yes, it seems. I've committed a fix now.