<div dir="ltr">Hi Matthieu,<div><br></div><div>I hope that Intel won&#39;t sell such buggy chips :-)</div><div><br></div><div style>Also, I personally think that wpa_supplicant should be optimized for working hardware. What you propose is a work-around for a buggy hardware. I have not looked at the source code yet, but I have something in the back of my head: the bss list enty of the current AP isn&#39;t aged, so that it doesn&#39;t get deleted accidentally. If it would be deleted, you&#39;d get dangling pointers, e.g. pointers pointing into unallocated memory.</div>
<div style><br></div><div style>For your situation, you should probably a) fix the driver/chip, b) use some of the background scan methods that are part of wpa_supplicant.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/4/12 Mauger, MatthieuX <span dir="ltr">&lt;<a href="mailto:matthieux.mauger@intel.com" target="_blank">matthieux.mauger@intel.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
We are currently facing a tricky problem, we are using a WiFi chip that is sometime not so reliable and we not always receive a deauth or beacon loss from the chip when leaving the range of a network.<br>
In such situation, we can trust that we are still connected even at kilometers from the BSS!<br>
<br>
As a workaround we are considering to use the aging mechanism in order to not keep such BSS in the scan list.<br>
However we saw in function &quot;wpa_bss_update_end&quot; in bss.c that the aging is voluntary not applied to the current BSS.<br>
We are wondering if is there a good reason to skip it? What could be the risk to apply aging on the BSS in use?<br>
<br>
Any help or comment is welcome,<br>
Thanks and regards,<br>
Matthieu<br>
---------------------------------------------------------------------<br>
Intel Corporation SAS (French simplified joint stock company)<br>
Registered headquarters: &quot;Les Montalets&quot;- 2, rue de Paris,<br>
92196 Meudon Cedex, France<br>
Registration Number:  302 456 199 R.C.S. NANTERRE<br>
Capital: 4,572,000 Euros<br>
<br>
This e-mail and any attachments may contain confidential material for<br>
the sole use of the intended recipient(s). Any review or distribution<br>
by others is strictly prohibited. If you are not the intended<br>
recipient, please contact the sender and delete all copies.<br>
<br>
_______________________________________________<br>
HostAP mailing list<br>
<a href="mailto:HostAP@lists.shmoo.com">HostAP@lists.shmoo.com</a><br>
<a href="http://lists.shmoo.com/mailman/listinfo/hostap" target="_blank">http://lists.shmoo.com/mailman/listinfo/hostap</a><br>
</blockquote></div><br></div>