Till now I was able to capture probe requests from a laptop using my own program using libpcap library. But now I need my Linksys WRT54G wireless router to perform the same for me. But when I captured probe requests from my router I found the Prism Header instead of the RADIOTAP header. So now I guess I need to parse the packet using prism header structure. But till now I was not able to find any defination of prism header on internet.

So please share with me any header file and structure that can help me capture packet on wrt54g router that can parse the Prism header.