<div dir="ltr">Hi Dan,<div><br></div><div>SD8787 does not support interleaved scanning i.e. scanning one channel and then coming back to operating channel for TX/RX.</div><div><br></div><div>We have recently added channel scan gap support to mwifiex driver; but that is applicable only for newer chipsets.</div><div><br></div><div><a href="http://git.kernel.org/cgit/linux/kernel/git/linville/wireless-testing.git/commit/drivers/net/wireless/mwifiex?id=cb91be87e12c079fcf25069a21123756c0931dd6">http://git.kernel.org/cgit/linux/kernel/git/linville/wireless-testing.git/commit/drivers/net/wireless/mwifiex?id=cb91be87e12c079fcf25069a21123756c0931dd6</a><br></div><div><br></div><div>Thanks,</div><div>Avinash</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 10, 2014 at 10:59 PM, Dan Williams <span dir="ltr">&lt;<a href="mailto:dcbw@redhat.com" target="_blank">dcbw@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, 2014-10-10 at 11:56 +0200, Víctor Andrés wrote:<br>
&gt; Hi Avinash,<br>
&gt;<br>
&gt; I&#39;m using the firmware version 14.66.9.p192<br>
&gt; (<a href="http://git.marvell.com/?p=mwifiex-firmware.git;a=commit;h=633d06edab7a2b82efaa134ec5591cd20f9ac0a3" target="_blank">http://git.marvell.com/?p=mwifiex-firmware.git;a=commit;h=633d06edab7a2b82efaa134ec5591cd20f9ac0a3</a>)<br>
&gt; and testing the recent commit p52 version<br>
&gt; (<a href="http://git.marvell.com/?p=mwifiex-firmware.git;a=commit;h=3f45b8c4cc1eb1d102bc3486b19677332dd215ab" target="_blank">http://git.marvell.com/?p=mwifiex-firmware.git;a=commit;h=3f45b8c4cc1eb1d102bc3486b19677332dd215ab</a>),<br>
</span>&gt; but I&#39;m not sure of this last commit, becauseeven if it was posted more<br>
&gt; recent, it&#39;s a previous versionof the FW.<br>
<span class="">&gt;<br>
&gt; Yes, the roaming is working now. I&#39;m trying to reduce the scanning<br>
</span>&gt; timein order toscan only the channel in use or only for the known bssid.<br>
<span class="">&gt; When the interface is scanning it isn&#39;t transmitting data, and what I<br>
&gt; need is a continuous flow of data.<br>
<br>
</span>Scanning only the channel-in-use doesn&#39;t work very well for roaming,<br>
because close-by APs are quite likely to be on a different channel to<br>
ensure they don&#39;t interfere with each other.  Scanning for a known BSSID<br>
doesn&#39;t work very well because you still have to scan a bunch of<br>
channels to find the BSSID you&#39;re looking for.  The driver/mac80211<br>
should be capable of partial scans (send PS, scan 2 or 3 channels, jump<br>
back to operating channel for a while), is that not happening?  How long<br>
is the card off the operating channel for, and what are your latency<br>
requirements?  Is 100ms too long to pause data transmission?<br>
<br>
Dan<br>
<span class=""><br>
&gt; Víctor<br>
&gt;<br>
&gt; El 10/10/2014 10:55, Avinash Patil escribió:<br>
&gt; &gt; Hi Victor,<br>
&gt; &gt;<br>
&gt; &gt; What is SD8787 FW version you are using?  As I understand from your<br>
&gt; &gt; last email, roaming is now working fine, right?<br>
&gt; &gt;<br>
&gt; &gt; Thanks,<br>
&gt; &gt; Avinash<br>
&gt; &gt;<br>
&gt; &gt; On Fri, Oct 10, 2014 at 12:38 PM, Víctor Andrés &lt;<a href="mailto:victor@cymonline.com">victor@cymonline.com</a><br>
</span><div><div class="h5">&gt; &gt; &lt;mailto:<a href="mailto:victor@cymonline.com">victor@cymonline.com</a>&gt;&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt;     Hi Dan.<br>
&gt; &gt;     Thanks by your help.<br>
&gt; &gt;<br>
&gt; &gt;     I tested it in a different board and the signal level of the APs<br>
&gt; &gt;     were correct. At least, not all the same and with a value of -101.<br>
&gt; &gt;     May be a problem of the chip wifi of that board, I don&#39;t know. I<br>
&gt; &gt;     use the same antenna for the 2 tests, and the boards were in the<br>
&gt; &gt;     same position (more or less) for the 2 tests (with the same AP<br>
&gt; &gt;     locations). I&#39;ll continue with the tests. I don&#39;t understand how<br>
&gt; &gt;     can I connect with these APs that the wifi have detected with that<br>
&gt; &gt;     poor signal.<br>
&gt; &gt;<br>
&gt; &gt;     I&#39;ve compiled Wpa-supplicant with bgscan option enabled and tested<br>
&gt; &gt;     in a different board, and now I have roaming between that 2 APs<br>
&gt; &gt;     (with bgscan:learn). Now I&#39;m trying to reduce the searching time,<br>
&gt; &gt;     because when the wireless is searching network it can&#39;t transmit<br>
&gt; &gt;     data, isn&#39;t it?<br>
&gt; &gt;<br>
&gt; &gt;     Víctor<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;     El 08/10/2014 19:33, Dan Williams escribió:<br>
&gt; &gt;<br>
&gt; &gt;         On Wed, 2014-10-08 at 12:35 +0200, Víctor Andrés Andrés wrote:<br>
&gt; &gt;<br>
&gt; &gt;         First, roaming works better with &quot;bgscan&quot; options enabled.<br>
&gt; &gt;         This option<br>
&gt; &gt;         tells the supplicant to periodically scan looking for a better<br>
&gt; &gt;         AP.  If<br>
&gt; &gt;         scans don&#39;t happen (either through &quot;bgscan&quot; or manually via<br>
&gt; &gt;         the control<br>
&gt; &gt;         interface) the supplicant will stick with the current AP until the<br>
&gt; &gt;         connection is broken.  The only way the supplicant knows which<br>
&gt; &gt;         AP is<br>
&gt; &gt;         better is if a scan has taken place and it knows the RSSI of<br>
&gt; &gt;         each AP.<br>
&gt; &gt;<br>
&gt; &gt;         Second, it looks like the driver is broken for signal strength<br>
&gt; &gt;         reporting.  -100dBm signal level is quite awful, and the fact<br>
&gt; &gt;         that it<br>
&gt; &gt;         shows *all* APs at that level is pretty much a smoking gun.<br>
&gt; &gt;         This is the<br>
&gt; &gt;         reason the supplicant won&#39;t switch APs even if you do trigger<br>
&gt; &gt;         a manual<br>
&gt; &gt;         scan, because no AP really has a better signal level than the<br>
&gt; &gt;         current<br>
&gt; &gt;         one.<br>
&gt; &gt;<br>
&gt; &gt;         (one other slight possibility: your antenna isn&#39;t connected<br>
&gt; &gt;         very well,<br>
&gt; &gt;         or isn&#39;t connected at all, and you&#39;re close to the APs...)<br>
&gt; &gt;<br>
&gt; &gt;         Dan<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;     _______________________________________________<br>
&gt; &gt;     HostAP mailing list<br>
</div></div>&gt; &gt;     <a href="mailto:HostAP@lists.shmoo.com">HostAP@lists.shmoo.com</a> &lt;mailto:<a href="mailto:HostAP@lists.shmoo.com">HostAP@lists.shmoo.com</a>&gt;<br>
&gt; &gt;     <a href="http://lists.shmoo.com/mailman/listinfo/hostap" target="_blank">http://lists.shmoo.com/mailman/listinfo/hostap</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
<br>
<br>
</blockquote></div><br></div>