tcpdump: show 802.11 control frames

2016-02-03 Thread Stefan Sperling
Currently, tcpdump displays 802.11 control frames as "type#4" and doesn't give more information than that. This diff makes tcpdump show the subtype of such frames, and pretty-print a few subtypes in verbose mode. There are more subtypes but these can be pretty-printed later. This can be tested

Re: tcpdump: show 802.11 control frames

2016-02-03 Thread Stefan Sperling
On Wed, Feb 03, 2016 at 02:05:29PM +0100, Stefan Sperling wrote: > On Wed, Feb 03, 2016 at 01:36:50PM +0100, Mark Kettenis wrote: > > > Date: Wed, 3 Feb 2016 13:27:50 +0100 > > > From: Stefan Sperling > > > > > > Currently, tcpdump displays 802.11 control frames as "type#4" and >

Re: tcpdump: show 802.11 control frames

2016-02-03 Thread Mark Kettenis
> Date: Wed, 3 Feb 2016 13:27:50 +0100 > From: Stefan Sperling > > Currently, tcpdump displays 802.11 control frames as "type#4" and > doesn't give more information than that. > > This diff makes tcpdump show the subtype of such frames, and pretty-print > a few subtypes in

Re: tcpdump: show 802.11 control frames

2016-02-03 Thread Stefan Sperling
On Wed, Feb 03, 2016 at 01:36:50PM +0100, Mark Kettenis wrote: > > Date: Wed, 3 Feb 2016 13:27:50 +0100 > > From: Stefan Sperling > > > > Currently, tcpdump displays 802.11 control frames as "type#4" and > > doesn't give more information than that. > > > > This diff makes