title: How to send both 802.11 management frames and data frames using RAW sockets in linux
body: <p>I am trying to build an application that will send 802.11 management frames and data frames together from the userspace using raw sockets. I am being able to send data frames using the the sendto() function, but I need to send management frames as well, where I am mostly stuck. Is there any possible way of doing it?</p>