Search Linux Wireless

Re: [PATCH 2/2] mac80211: Allow scanning single channel if other VIF is associated.

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

 



On 09/28/2010 12:22 AM, Johannes Berg wrote:
On Mon, 2010-09-27 at 17:07 -0700, greearb@xxxxxxxxxxxxxxx wrote:
From: Ben Greear<greearb@xxxxxxxxxxxxxxx>

This patch aims to decrease channel switching when there is at least one
interface associated.  This should help multiple station interfaces co-exist
on the same hardware, especially in WPA mode.

Totally NACK. The code is ugly, complex, and unnecessary.

You can make wpa_s scan the channels one by one, or you can improve the
off-channel behaviour, but this is a workaround that just isn't
appropriate.

At best, it would be a race for wpa_s to determine if any other interface
on it's interface's hardware is associated, so I don't see a good way to
do this in user-space.

When at least one is associated, I don't want the NIC to go offchannel at all,
at least not for wpa_s scanning.  Anything else is going to interrupt other
stations's traffic, and for no good reason that I can see, since the scanning
interface must associate on the same channel as the rest of the stations
anyway.

If you have any suggestions for how to accomplish this, please let me know..
otherwise, I can just carry this patch in my tree.

Thanks,
Ben


johannes


--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com
--
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