On Tue, 2017-03-14 at 15:10 +0100, Simon Wunderlich wrote: > On Tuesday, March 14, 2017 3:06:35 PM CET Sven Eckelmann wrote: > > On Dienstag, 14. März 2017 14:51:01 CET Johannes Berg wrote: > > [...] > > > > > I'm not sure I mentioned it to him, or even remembered it when we > > > were > > > discussing it, but I don't think this patch is a good idea, at > > > least > > > for action frames. > > > > [...] > > > > > If you restrict it to non-action I can live with it, but I don't > > > know > > > what you really want to do with this. > > > > I think he required it only for probe requests. Similar situation for probe requests though - who answers them? :-) Though at least in that case the kernel doesn't care (unlike in the action frame case) since it never does. > The idea was to grab probe requests from userspace with a program > running next to hostapd. I guess there are some efficiency problems with that right now, but a monitor mode interface should work just as well. Perhaps we can allow attaching a BPF program to a monitor mode interface, and run that without cloning the SKB etc.? johannes