Packetspammer
Is an example packet injection utility for use with mac80211 drivers. To inject frames it uses a monitor interface and uses radiotap headers to tune the wireless device per package. For details please see the kernel documentation:
Documentation/networking/mac80211-injection.txt
Get the code
git://git.warmcat.com/packetspammer.git
See the code
http://git.warmcat.com/cgi-bin/cgit.cgi?url=packetspammer.git/