Lukasz, You don't need a new driver for this purpose. Just write a raw-socket application, switch the interface in promiscuous mode and you an send whatever you want. You have to be root for that. Search the net for raw socket interface.
Stevens - UNIX Network Programming is a very good book for that. Look for the last version. Best, /st
