[PATCH] libertas: monitor mode support for OLPC
Johannes Berg
johannes at sipsolutions.net
Fri Jul 6 07:07:58 EDT 2007
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 :)
johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
Url : http://lists.infradead.org/pipermail/libertas-dev/attachments/20070706/361f0d4f/attachment-0001.bin
More information about the libertas-dev
mailing list