On Sun, Jun 01, 2014 at 02:37:51AM +0200, Andrea Merello wrote:
IHMO it does not matter.
The 10 is a stub value for rtl8187se (because of not-implemented-yet
RSSI calculation), and indeed it is still here, in the rtl8187se case.
This has the functional role of providing a valid >0 value for reported RSSI.
This should hopefully go away soon :)
So, for rtl8187se case, it always reported 10, and it does continue to do this.
The initialization to 1 has no any functional role, it is just to shut
up gcc complaints about not initialized variable, but it should be
always overwritten by one of the three cases, and we should never see
this value really reported on RSSI measure.
Indeed they are two random values (chosen >0, just in case it does matter..)..
Ah. Ok. Thanks.
regards,
dan carpenter