Compiling on Windows

James Rowe jroweboy
Mon Aug 24 12:22:05 PDT 2015

The CONFIG_NATIVE_WINDOWS does get hostapd to compile (I've managed to get
the latest version to compile on both cygwin and mingw myself), but the
NDIS driver code in the current code base is outdated so, even though it
compiles, it doesn't actually work. From what I understand, Sergio is
working on updating the driver code to use NDIS 6 and I've tested that code
a few times. Judging from other mailing list posts that Sergio has made on
other mailing lists, I'm guessing that it isn't malware, but I have no
proof since Sergio has kept the changes closed source for now. I would
really like it to be open source so I could take a look into what needs to
be done to fix it, but I'll just wait then I suppose. Sergio said that it
will be open sourced soon.

If you are wondering about myself, I also posted on the mailing list about
windows support a while ago, and I've been emailing Sergio for the past few
weeks and working on getting NDIS 6 support. That's where I got all this
info from; its just my personal experiences. Feel free to mail me directly
if you have anything to say to me. I don't wanna clog up the mailing list
on things that can be settled in personal emails :)


On Mon, Aug 24, 2015 at 12:43 PM, snakecharmr <snakecharmr1024 at>

> Also, then why is there a check for
> in the makefile?
> On 08/24/2015 10:20 AM, Jouni Malinen wrote:
> > On Fri, Aug 21, 2015 at 09:40:57PM -0700, snakecharmr wrote:
> >> I am trying to create an unauthenticated wap on one my windows machines
> >> and the built in tool for windows (netsh) requires me to set a password
> >> and use wpa. So I turned to hostapd. It appears that hostapd can be
> >> built for windows, but attempting to do so thru cygwin has met with many
> >> problems.
> >>
> >> Is it possible to do this? I have poured many hours into this, and I
> >> just wanted to ask in case it is not possible.
> >
> > No, there is no support for using Windows NDIS drivers with hostapd.
> >
> _______________________________________________
> HostAP mailing list
> HostAP at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Hostap mailing list