[PATCH] libertas: monitor mode support for OLPC
John W. Linville
linville at tuxdriver.com
Tue Jul 10 10:54:02 EDT 2007
On Fri, Jul 06, 2007 at 01:08:46PM +0200, Johannes Berg wrote:
> Javier, Holger,
>
> > Why not do it this way:
> >
> > "iwmode eth1 mode monitor" turn's the device into monitor mode.
> > That's what by far the most drivers use. In this mode, the
> > device will send all frames to the host, e.g. all beacon frames.
> > After all, user space can filter:
> >
> > tshark -i rtap0 -R '!(wlan.fc.subtype == 8)'
>
> I suppose you really should be using cfg80211 to create and change the
> mode of new interfaces (and allow only one monitor and/or one STA
> interface). Then you actually get a sysfs file for free, and as a bonus
> it's the same one mac80211 uses :)
ACK
--
John W. Linville
linville at tuxdriver.com
More information about the libertas-dev
mailing list