On Mon, Feb 17, 2020 at 05:41:15PM +0100, Stefan Sperling wrote:
> 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.

As expected the diff works fine on ath(4) and on two ral(4) variants
I could test: rt2560 and rt2661. These changes are very mechanical so 
we can assume that rt2860 will also work. ok stsp@

Reply via email to