On Fri, 2006-03-24 at 14:08 +0100, Johannes Berg wrote: > On Fri, 2006-03-24 at 07:58 -0500, Dan Williams wrote: > > > Ok, so why is softmac doing an active scan, per my previous email > > message? Why is it not doing passive scan for normal SIOCSIWSCAN like > > most every other driver? (to be honest, I'm not entirely sure what ipw > > is doing here, but I think its passive along with the rest of the > > drivers) > > Because no one bothered to fix it yet, and we needed active scanning for > when you want to associate with a hidden network.
Well, that's an application-defined decision, NOT a driver decision. And if you want active scanning, then softmac needs to implement SIOCSIWMLME, not do it in SIOCSIWSCAN. Drivers don't know what the user's power settings and preferences are. And they shouldn't. Lets try to be consistent among drivers here, and not balkanize the already wireless driver situation more than it already is. I'm not objecting to softmac going upstream here, but there's got to be an understanding that softmac is doing the _wrong_ thing in SIOCSIWSCAN. And that eventually that wrong thing will be fixed. Again, if you want active scans, implement SIOCSIWMLME. Dan - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html