Constructing ieee802.11 frames
Okay, I've peen poking around with raw packet injection a bit lately and I've managed to get it working by using lorcon. I'm currently stuck with a small C program that can inject whatever data I put inside the character array buffer and my goal is to get it to construct + inject beacon frames.
So I was wondering if there are any c-style ieee802.11 structs/headers available that I could use to construct ieee802.11 beacon frames and stuff like that. I've searched the net a bit and found a number of libs that offer the headers (tcpdump/madwifi/libpcap), but I'm not quite sure which one to use.
Also, lorcon seems to come with its own packet assembly stuff (lorcon_forge.h, lorcon_packasm.h). Should I stick to those instead?