On Tue, 2019-10-08 at 15:55 -0500, Denis Kenzior wrote: > Right, so you're talking in the context of this implementation which > performs a remove/add interface. You're right about that. > > But I was asking more in general terms. If all we're doing is scanning, > can we just change the mac? Anyway, not important. Maybe I bring this > up once this set is accepted. Maybe, but honestly, I'm not convinced the complexity would be worth it. You'd have to push this all the way through to the driver, so it knows to do it, or defer it until the scan is done, or something? Not something you'd want to do on all hardware while a non-randomized scan is running, for example (iwlwifi might actually be OK). Or you could perhaps cache the MAC address change in mac80211 and apply it at the next possible point in time - but then again you have to be really careful to actually apply it and block all further operations, even if a bunch of remain-on-channel's are active and you request a new scan, that has to be blocked until the remain-on-channel is done *and* the MAC address change is applied? Seems rather complex for very little value. johannes