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 bp
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 th
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