How to capture a beacon frame from WLAN in windows?

access-point, frames, wifi, windows

Solution

I would take a look at winpcap. It is able to capture 802.11 frames. However, it is probable in windows that the chipset driver does not allow setting the WLAN to monitor mode. If this is the case then winpcap might not be able to get the necessary information about beacon frames.

There is also a commercial offering, airpcap, which seems to come bundled with drivers and hardware that allows to do full-scale wifi monitoring in windows.

Problem

I am using native Wifi api on Windows to programmatically do a few tasks with WLANs. However, my problem is it exposes limited set of functions. I would like to access certain fields of a beacon frame that provides Access Point load, airtime and so on. Which are the tools that can be used to do this? Thanks in advance!

Original source