On Mon, Feb 17, 2020 at 05:07:42PM +0100, Claudio Jeker wrote: > As already done on iwm(4) and one of the athn(4), there is no need to pass > the radio tap structure to bpf_mtap by faking up an mbuf. The code can > just use bpf_mtap_hdr() (which does a similar dance but with far less > memory on the stack). > > There are many other wifi driver that do the same thing so I would be > happy if somebody else would apply the same logic there too :) > > I could only compile test this diff.
OK for the ar9003.c part right away. There is no way to otherwise test it cause this code does not work with real hardware yet. I'll check if I can easily test the others.
