[Olsr-dev] Maximal LQ less than 1 on Ethernet

Henning Rogge (spam-protected)
Thu Jun 19 13:26:28 CEST 2008


Am Donnerstag 19 Juni 2008 10:56:29 schrieb Hannes Gredler:
> what about a simple roundup()
>
> if (measured_lq >= old_LQ) && measured_lq >= 0.999)
Maybe I found a way to do this without fixed values.
(see below)

I switched from the fpm library to a self-defined multiplier (65535) and added 
some custom "roundup" at the calculation of LQ.

Henning




*************************************************
Diplom Informatiker Henning Rogge
Forschungsgesellschaft für
Angewandte Naturwissenschaften e. V. (FGAN) 
Neuenahrer Str. 20, 53343 Wachtberg, Germany
Tel.: 0049 (0)228 9435-961
Fax: 0049 (0)228 9435-685
E-Mail: (spam-protected)
Web: www.fgan.de
************************************************
Sitz der Gesellschaft: Bonn
Registergericht: Amtsgericht Bonn VR 2530
Vorstand: Dr. rer. nat. Ralf Dornhaus (Vors.), Prof. Dr. Joachim Ender 
(Stellv.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: olsr_fpm.patch
Type: text/x-diff
Size: 5614 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20080619/52cc3fa5/attachment.patch>


More information about the Olsr-dev mailing list