<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>
<BR>
Maybe would be better to post this to developers as well ... but I thought <BR>
this could be interesting for users. <BR>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face=Calibri color=#000000 size=3></FONT> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face=Calibri color=#000000 size=3>Sven-Ola's </FONT><FONT face=Calibri color=#000000 size=3> “slow-start LinkQualityWinSize” has a nasty side effect , I’m a bit surprised it hasn’t been noticed yet .</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face=Calibri color=#000000 size=3>(even by practical guys … ).</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><FONT face=Calibri color=#000000 size=3> </FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face=Calibri color=#000000 size=3>While LQ=(total-lost)/window_size all seems ok .</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face=Calibri color=#000000 size=3> </FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face=Calibri color=#000000 size=3>As we gather enough packets , LQ = (total-lost)/super_optimized_stuff and it starts to be greater than 1.0</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face=Calibri color=#000000 size=3> (in good link condition).</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face=Calibri color=#000000 size=3> </FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face=Calibri color=#000000 size=3>Now guess what happens if you scale such LQ (yeah, multiply this by 255 and cast to unsigned char!)</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face=Calibri color=#000000 size=3>and send it to neighbors via LQ HELLO message ;) </FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face=Calibri color=#000000 size=3> </FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face=Calibri color=#000000 size=3>Right, they’ll got NLQ slightly more than 0 ! </FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face=Calibri color=#000000 size=3> </FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face=Calibri color=#000000 size=3>Even funnier, they’ll return that NLQ to you with TC , you’ll see your own LQ>1.0 in Links section and ~0 in Topology !</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face=Calibri color=#000000 size=3> </FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face=Calibri color=#000000 size=3>Simply clipping LQ to 1.0 solves the problem . </FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face=Calibri color=#000000 size=3> </FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face=Calibri color=#000000 size=3>Thanks</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face=Calibri color=#000000 size=3> </FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face=Calibri color=#000000 size=3>Alexey Shinkin</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face=Calibri color=#000000 size=3> </FONT></o:p></P>
<BR><br /><hr />Change is good. See what’s different about Windows Live Hotmail. <a href='http://www.windowslive-hotmail.com/learnmore/default.html?locale=en-us&ocid=RMT_TAGLM_HMWL_reten_changegood_0607' target='_new'>Check it out!</a></body>
</html>