I am working on a project in which I need to interface directly with the WLAN Network Interface card, i.e., using the drivers of course. It is lot like wireshark. Also, I want to send some custom built frames using the NIC. I mean, I want the output of the physical layer directly, i.e., a bunch of bits. Is there any system call in Linux that can help?
Edit: My question: How can I do the things mentioned above? A small example will be really helpful.