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!
The access point sends a beacon frame as a broadcast to announce its presence to any wireless clients. It relays information about the parameters that must be set on the client side in order to connect to it.
Beacon frame is one of the management frames in IEEE 802.11 based WLANs. It contains all the information about the network. Beacon frames are transmitted periodically, they serve to announce the presence of a wireless LAN and to synchronise the members of the service set.
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.
There is one way to capture WiFi packets under Windows with Wireshark. You have to install Acrylic WiFi software
Acrylic WiFi is a WiFi sniffer for windows that installs an NDIS driver that captures wlan packets in monitor mode and also adds support to wireshark and Cain & Abel to capture WiFi packets.
Once Acrylic is installed you have to start Acrylic, wireshark or Cain as Administrator and select your NDIS WiFi interface.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With