Header format in monitor mode

Gerald Britton gbritton
Wed Nov 26 13:07:17 PST 2003


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