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
Attachment:
signature.asc
Description: This is a digitally signed message part