Header format in monitor mode

Hector Velayos hvelayos
Thu Nov 27 06:32:54 PST 2003


Thank you.

I have realized that the resolution of mactime (frame timestamp) is 1
microsecond regardless of the length of the field.

Is it possible to increase the resolution of the frame timestamp?

Cheers, Hector

> -----Original Message-----
> From: Gerald Britton [mailto:gbritton at doomcom.org]
> Sent: den 26 november 2003 22:07
> To: Hector Velayos
> Cc: hostap at shmoo.com
> Subject: Re: Header format in monitor mode
>
>
> On Wed, Nov 26, 2003 at 04:58:18PM +0100, Hector Velayos wrote:
> > The file hostap_wlan.h specifies three possible headers for
> > such frames:
> >
> > 	struct hfa384x_rx_frame
> > 	struct linux_wlan_ng_prism_hdr
> > 	struct linux_wlan_ng_cap_hdr
>
> Actually, you get either just the 802.11 header, or the second 2 of those
> followed by the 802.11 header.
>
> Switch between them with: iwpriv wlan0 monitor_type X
> where X is 0 (802.11 only), 1 (old prism header), or 2 (caphdr).
>
> 				-- Gerald
>
>





More information about the Hostap mailing list