On Monday 05 February 2007 14:24, Johannes Berg wrote: > On Mon, 2007-02-05 at 14:23 -0500, Michael Wu wrote: > > Anyway, netlink does not seem appropriate for > > sending or receiving frames. > > Care to explain why you think so? > 1. Userspace usually expects to send things on network interfaces. The kernel usually receives frames from userspace on network interfaces. I don't see the point of making an exception for 802.11 frames. (or rather, the potential for simpler frame injection code is not enough to justify inventing a new interface for doing it) 2. nl80211/cfg80211 is for configuring interfaces. Everything there is related to configuration of wireless interfaces except for the frame injection hook. It doesn't look right. -Michael Wu