Search Linux Wireless

Re: [PATCH 7/9] wmediumd: add the ability to write a pcapng file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2020-06-25 at 23:10 -0400, Bob Copeland wrote:
> On Thu, Jun 25, 2020 at 03:08:42PM +0200, Johannes Berg wrote:
> > From: Johannes Berg <johannes.berg@xxxxxxxxx>
> > 
> > Add the ability to write a pcapng file containing all the data.
> > The radiotap header is currently very minimal with only the
> > frequency and the signal strength.
> > +	if (!filename)
> > +		return;
> > +
> > +	ctx->pcap_file = fopen(filename, "w+");
> 
> I know it doesn't actually matter, but would be nice to close this
> somewhere.

Hah, true.

I guess we could now add to the control socket a way to quit wediumd
that doesn't involve killing it, and then that starts being a bit more
relevant :)


johannes




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux