Airpcap,

I want to code airpcap, using C on windows, but I can’t find any real sample codes. Most seem to exist for winpcap. Also, can I run airpcap well on a normal built-in network adapter or should I buy an external adapter that supports it ? If I go to search engine for airpcap sample codes, I only can find wireshark’s source code and nothing else pretty much. Can someone lead me to airpcap documentation? I will most likely be using mingw or Visual Studio, and I don’t know where to start!

AirPcap is a piece of hardware, not a software library. You must use their hardware, which has been discontinued.

I see, I want to inject raw sockets on windows, but i have to go code drivers for that I suppose ? Winpcap drivers do not support creating raw sockets, what do you recommend ?

User-mode apps can create raw sockets, as long as the process is elevated.

yes, it seems i can create and broadcast raw sockets but not receive them I am building my own protocol through 802.11 and I can only receive EAPOL frames (not beacon/probe frames) with a library such as winpcap. It is said to require monitor mode for the adapters… Perhaps I need a driver for that, is that true ?

Why would you go to the trouble? What do you possibly gain by doing this, besides pain and suffering?

I want to create my own virtual access point, I looked for samples (as in code) but I couldn’t. I found things like https://virtual-ap.com/ but they are all close source. @Tim_Roberts

So I will share my internet with external devices by creating a wireless Access Point.

It’s not that you need “A driver”. You need internal access to the driver for your wireless adapter.

Windows already supports this capability out of the box, does it not?

Seems I found an official msdn link for what you are referring to. https://learn.microsoft.com/en-us/windows-hardware/drivers/gettingstarted/do-you-need-to-write-a-driver- . But the only thing that is closest to my need would be WSDScan.sys here, and it seems to operate on layer 3, since it is a webscanner. I am not sure if they have support for layer 2 at this point…

What would be your recommendation to log beacon/probe frames using a driver like that for example ?

Thank you very much @Tim_Roberts .

I’m not talking about programming or drivers. I’m saying Windows, out of the box, allows you to turn your laptop into a mobile hotspot, which is exactly what you are describing.

https://support.microsoft.com/en-us/windows/use-your-windows-pc-as-a-mobile-hotspot-c89b0fad-72d5-41e8-f7ea-406ad9036b85