jurobystricky / Netgear-A6210

AC1200 High Gain WiFi USB Adapter Linux kernel driver
292 stars 155 forks source link

hostAP support? #23

Open rezad1393 opened 8 years ago

rezad1393 commented 8 years ago

is any of these adapter able to be use in AP mode (hostAP) ? what I mean is can any of them be used as a wireless access point in linux?

jurobystricky commented 8 years ago

I think there is conditional code there to support AP, ( I believe it is disabled by default)

rezad1393 commented 8 years ago

so yes ,no ? any experience with it? tplink and other brands support says they dont have softAP in linux but in a forum one of my firends said that he had softAP with tplink N900 . it seems that even the support guys are confused.

jurobystricky commented 8 years ago

Well, the answer is this: see config.mk. There are several configuration, we use ifeq ($(RT28xx_MODE),STA) ....

But there are two additional ones (all mutually exclusive) you may be interested in: ifeq ($(RT28xx_MODE),AP)... and ifeq ($(RT28xx_MODE),APSTA)...

So the code to support pure AP or AP+STA driver should be present. I never built for these configurations, so they may build and may even work. But that would be rather an unexpected outcome. So good luck and any feedback is appreciated.

mthenault commented 8 years ago

I'm trying to get the AP mode to compile. First of all, the ap/ folder is missing. I copied it from the mediatek source that I got from their website. Many changes in the code are needed to fix thing such as include issues, missing defines, structure members missing in definition, functions missing etc. It still doesn't compile for me.

jurobystricky commented 8 years ago

see the REAME.md file for regarding the origin of the sources. And yes, it is pretty bad and ugly code.