Subject: CVS commit: syssrc/sys/dev/ic
To: None <source-changes@netbsd.org>
From: Michael Graff <explorer@netbsd.org>
List: source-changes
Date: 09/22/2001 20:22:26
Module Name:	syssrc
Committed By:	explorer
Date:		Sat Sep 22 17:22:26 UTC 2001

Modified Files:
	syssrc/sys/dev/ic: wi.c wi_ieee.h wireg.h wivar.h

Log Message:
Implement two major items:

	(1) Add an IOCTL to tell the Lucent based cards how often to
	    do an access point scan.  These results are returned by
	    calling another IOCTL to get the most recent scan data.

	    This function works with prism2 cards as well, but the
	    data is returned in a different format, or perhaps it is
	    data only for the closest access point.

	(2) For prism2 cards, add the ability to put it into LAN monitor
	    mode, where (via BPF) all packets can be received.  This
	    mode works best with "wiconfig wi0 -p 3 -f ?" to put the
	    card into pseudo-IBSS mode (to keep it from channel-hopping
	    and scanning for access points) and to set the frequency of
	    the AP you wish to monitor.

	    The returned data has a partial wi_frame header (down to the
	    wi_dat_len field) followed by the raw data of the packet.
	    I have and will put up on http://www.flame.org/NetBSD/wireless/
	    some simple utilities which do some perhaps interesting things,
	    like scan for access points, capture packets, etc.


To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 syssrc/sys/dev/ic/wi.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/dev/ic/wi_ieee.h
cvs rdiff -r1.9 -r1.10 syssrc/sys/dev/ic/wireg.h
cvs rdiff -r1.4 -r1.5 syssrc/sys/dev/ic/wivar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.