linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gery Kahn <geryk@ti.com>
To: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Cc: "Coelho Luciano (Nokia-MS/Helsinki)" <Luciano.Coelho@nokia.com>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH 2/2] Revert "wl1271: Change supported channel order for a more optimal scan"
Date: Thu, 11 Nov 2010 21:47:29 +0200	[thread overview]
Message-ID: <4CDC4851.8080005@ti.com> (raw)
In-Reply-To: <1289389378.2522.78.camel@wimaxnb.nmp.nokia.com>

On 11/10/2010 1:42 PM, Juuso Oikarinen wrote:
> On Wed, 2010-11-10 at 12:36 +0100, ext Gery Kahn wrote:
>> On 11/10/2010 01:21 PM, Juuso Oikarinen wrote:
>>> On Wed, 2010-11-10 at 12:18 +0100, ext Gery Kahn wrote:
>>>> On 11/10/2010 12:27 PM, juuso.oikarinen@nokia.com wrote:
>>>>> From: Juuso Oikarinen<juuso.oikarinen@nokia.com>
>>>>>
>>>>> This reverts commit fa21c7a9e4be439e217fe72edbd39b643b643791.
>>>>>
>>>>> The reverted patch caused more harm than benefit.
>>>>>
>>>>> Signed-off-by: Juuso Oikarinen<juuso.oikarinen@nokia.com>
>>>>>
>>>> Just couple words what harm it was?
>>> The harm is that the supported channels are reported to user-space in
>>> the order they are registered in the driver. The result of that is quite
>>> messy in userspace PoV.
>>>
>>> -Juuso
>>>
>> Thank you for answer.
>>
>> The reason of doing such channel sorting was channel overlapping.
>>
>> Let's say for 11a (bandwidth 20MHz) it is not a problem.
>> While 11g, preferred channel sorting would be 1,6,11,...
>>
>> Gery
> Yes, this is why we had this reordering in the first place.
>
> One benefit of sorting channels would be to get faster results for the
> whole band, as there are responses from the overlapping channels too.
>
Another benefit is to have max band coverage with minimum prob reqs.
The overlapping answers have collisions, which discard all packets and 
if timeout scan -
no responce from AP or even silence in channel.
> Currently the the scanning code however waits for all channels to be
> scanned before sending results to userspace, so this benefit is not
> utilized, and removing this patch makes no difference in that sense.
>
> To take advantage of channel reordering, some other changes are needed
> too. And the reordering needs to be performed in the mac80211/cfg80211
> level (I actually earlier submitted a RFC patch doing just this.)
>
> -Juuso
>
>> --
>> 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
>


  reply	other threads:[~2010-11-11 19:47 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-10 10:27 [PATCH 1/2] wl1271: Prevent ad-hoc and active scanning on 11a DFS frequencies juuso.oikarinen
2010-11-10 10:27 ` [PATCH 2/2] Revert "wl1271: Change supported channel order for a more optimal scan" juuso.oikarinen
2010-11-10 11:18   ` Gery Kahn
2010-11-10 11:21     ` Juuso Oikarinen
2010-11-10 11:36       ` Gery Kahn
2010-11-10 11:42         ` Juuso Oikarinen
2010-11-11 19:47           ` Gery Kahn [this message]
2010-11-10 11:02 ` [PATCH 1/2] wl1271: Prevent ad-hoc and active scanning on 11a DFS frequencies Tuomas Katila
2010-11-11  9:35 ` Luciano Coelho
2010-11-11 12:15 ` Luciano Coelho
2010-11-17  6:52 ` Gabay, Benzy
2010-11-17  7:00   ` Juuso Oikarinen
2010-11-17  8:25     ` Gabay, Benzy
2010-11-17  8:34       ` Juuso Oikarinen
2010-11-17  9:57         ` Bruno Randolf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CDC4851.8080005@ti.com \
    --to=geryk@ti.com \
    --cc=Luciano.Coelho@nokia.com \
    --cc=juuso.oikarinen@nokia.com \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).