On Tue, 2010-09-28 at 14:17 -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. > > Signed-off-by: Ben Greear <greearb@xxxxxxxxxxxxxxx> > --- > > v2 -> v3: Just check can_scan_one flag and if set and there is > a vif associated, select the active channel as scan-channel and > let core scanning logic function as designed. > > This gets much of the really ugly logic changes out of the > scanning core, and any optimizations to this should help > general purpose scanning on a single channel as well. > --- a/include/linux/nl80211.h > +++ b/include/linux/nl80211.h > @@ -965,6 +965,8 @@ enum nl80211_attrs { > NL80211_ATTR_CONTROL_PORT_ETHERTYPE, > NL80211_ATTR_CONTROL_PORT_NO_ENCRYPT, > > + NL80211_ATTR_SCAN_ONE_IF_ASSOC, > + Still NACK, I don't see the need for new API for this odd case. Please don't resubmit similar patches to this, I don't want to nack them all the time. 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