Return-path: Received: from mail-wg0-f49.google.com ([74.125.82.49]:52162 "EHLO mail-wg0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754163AbaHER0t (ORCPT ); Tue, 5 Aug 2014 13:26:49 -0400 Received: by mail-wg0-f49.google.com with SMTP id k14so1386333wgh.20 for ; Tue, 05 Aug 2014 10:26:47 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 5 Aug 2014 10:26:46 -0700 Message-ID: (sfid-20140805_192653_578129_ED2C9408) Subject: Re: scanning only returns results on specified channels (Marvell mwifiex driver) From: Andrey Yurovsky To: Avinash Patil Cc: "linux-wireless@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, Aug 5, 2014 at 10:11 AM, Avinash Patil wrote: > What is your kernel version? Also do you have extended scan enabled? You may check init.c for adapter->ext_scan. It's 3.15, specifically the Linaro release (linux-linaro-3.15-2014.06) however I can build any mainline kernel or backport if needed. The driver reports version 1.0 (14.66.9.p96). I believe that adapter->ext_scan is always enabled with the way the code is written, however I've confirmed it just in case. Also I meant: iw dev mlan0 scan freq 2412 ...in my previous message. > ________________________________________ > From: linux-wireless-owner@vger.kernel.org [linux-wireless-owner@vger.kernel.org] On Behalf Of Andrey Yurovsky [yurovsky@gmail.com] > Sent: Tuesday, August 05, 2014 12:41 AM > To: linux-wireless@vger.kernel.org > Subject: scanning only returns results on specified channels (Marvell mwifiex driver) > > I am not seeing scan results on my test setup with a Marvell 88W8787 > (mwifiex driver) connected over SDIO to an ARM926. I traced and found > that the card and driver do receive results, they do report them via > cfg80211, and those results are stored as expected (for instance, I > see every BSSID I expected to find in tmp->pub.bssid > cfg80211_bss_update()). iw never gets them, it just acts like there > were no results. However specifying a frequency does return results, > so this doesn't work: > > iw dev mlan0 scan > > but this does: > > iw dev mlan0 scan 2412 > > I'm wondering if there's something marked incorrectly in the BSS > structure from the driver or if there is some other reason that > results aren't reported unless the frequency is specified. When doing > the latter, I do see reasonable results when compared to another > system scanning in the same room. > > Can someone else reproduce this? Is there anything specific that I > could look at that would help resolve the problem? > > Thanks, > > -Andrey > -- > To unsubscribe from this list: send the line "unsubscribe linux-wireless" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html