1

I'm writing a program (C++) which will detect devices around me using Wi-fi on Windows OS. In order to do that I'm using WDK and NDIS to switch the wireless network adapter to monitor mode in the following way:

WlanSetInterface(
. . . ,
wlan_intf_opcode_current_operation_mode,
DOT11_OPERATION_MODE_NETWORK_MONITOR);

Does anyone know how to set a specific channel to monitor? I would appreciate a code sample.

Thanks.

ilaif
  • 348
  • 2
  • 13

0 Answers0