Search Linux Wireless

Re: [PATCH 07/25] wl1271: Change supported channel order for a more optimal scan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2010-09-27 at 11:37 +0300, Luciano Coelho wrote:
> From: Juuso Oikarinen <juuso.oikarinen@xxxxxxxxx>
> 
> The mac80211 inserts channels into a scan request in the same order the driver
> registers them. Use this fact to optimize scan by ordering the channels so
> that adjacent channels don't get scanned consecutively.

Cute, but not really ...

First of all, iw will also report channels in this order, and that's
just weird.

Secondly, if you pass any channels to scan manually (say with iw), this
assertion is no longer true -- cfg80211 will actually _sort_ the
channels in that case to make sure there are no duplicates.

So you really shouldn't be doing this.

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux