On Wed, Jan 9, 2013 at 6:32 PM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > On Wed, 2013-01-09 at 18:04 +0200, Victor Goldenshtein wrote: >> On 09/01/13 14:38, Johannes Berg wrote: >> > Do we really want to allow arbitrary changes to the interfaces while >> > scanning? This could process a deauth frame for example, I'm worried >> > that might break things. >> > >> >> Can you please elaborate why we shouldn't process deauth frames during >> HW scan ? This fix was tested with our 18xx, don't see how it can break >> things, but it's up to you whether to take it.. > > But did you test disassociating in the middle of the scan? I suspect > that some devices at least might have trouble with reprogramming the > device completely while it's scanning. > > Maybe you can make this behaviour opt-in with a hardware flag? > This is just a speed optimization for BA session management, so I'm pretty sure the above was not tested. Maybe we can make the "if" stricter and only allow it to pass if it's hw_scanning and mgmt->u.action.category == WLAN_CATEGORY_BACK ? Would that make sense? -- 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