So, when you want to inject frames, you need to add headers to them (as in protocol, not file content) to indicate what rates you want to send them at.
You need to learn the format of a 802.11 frame as well as radiotap header. Look on wireshark wiki for sample files.