Packetspammer
Is an example packet injection utility. 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/