On Tue, 2007-03-20 at 10:39 +0000, andy@xxxxxxxxxxx wrote: > For injecting packets, the you issue a packet using libpcap or a SOCK_PACKET > socket down an interface to the wireless device that is in Monitor Mode. Ok so people don't want to have this in cfg80211, all the better for me since it's less work. I urge you to solve the issues with this injection interface, we've established that you can use packet filters to grab only management frames but monitor interfaces definitely still interact very badly with power management, and when the hardware has a BSS filter then this will also be disabled with a monitor interface (if monitor during operation is supported) which again puts more load on the host. I have previously suggested to use the IFF_PROMISC bit for this, but this will also need good driver/stack API since currently drivers that support monitor during operation will just turn off BSS filters and such when a monitor interface is added. That will have to be changed in drivers as well. Also, and I'm going to reply to your patches as well, this is not something that should be restricted to mac80211 since cfg80211 generically supports virtual interfaces and anybody could in theory use a userspace MLME even with a full-mac card given a special no-management firmware mode. Hence, this should be documented for cfg80211 users. Please work out these issues before adding this interface to the kernel. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part