-
Notifications
You must be signed in to change notification settings - Fork 1k
allow channel of 0 or acs_survey for automatic channel selection #435
base: master
Are you sure you want to change the base?
Conversation
Thank you! I just tried this on an old release and it didn't work. Good to know I'm not the only one, I'll pull this branch and update. Would it be reasonable to change the default to acs instead of channel 1? Dynamic frequency selection seems to be a more standard name for this feature, I would recommend anyone to use it, it looks like a tragedy of the commons scenario. If we are going to build a layer on top of hostapd, we might as well provide opinionated defaults. But it's best to deploy it as an option first, and once it's well tested, push it as a default. Regards. |
This fails, the ap isn't created. If I change to the master branch and recompile with channel 11 instead of acs_survey it works correctly. This are the logs:
The relevant lines start with "ACS: Automatic channel selection started" the lines above are standard and expected in my setup. Any idea what might have went wrong? |
It appears that your WiFi adapter simply doesn't support ACS… would be nice to be able to catch this and fallback automatically to |
Oh, I thought dfs was a purely logical routine? What kind of hardware support does it need? . |
I actually don't know :frown:. I found that I have the same error on another system with a standard I can't find much information on this error or whether it requires specific hardware support, or |
The electrical and network stackexchanges seem more appropriate. |
That question/questioner is quite confused, probably because the name is confusing. DFS has little-to-nothing to do with selecting an optimal frequency for running your WiFi network. It's something that WiFi hardware has to do to avoid interfering with radar, because it's required by regulatory agencies, and it only applies to the 5 GHz band. A WiFi device can "comply" with DFS by switching to any ol' random non-DFS channel when it detects radar, or by completely powering down. Most hardware doesn't make much more effort than that, as far as I know. 🤷♂️ ACS survey is a completely different process that's actually focused on finding the channel with least interference for WiFi communication. I thought it was a purely software-driven process that relies on the hardware only for accurately detecting other networks, but perhaps that's not the case. |
This might be useful for some users.
hostapd
's “ACS survey mode” allows it to automatically select a channel based on WiFi interference:https://wireless.wiki.kernel.org/en/users/documentation/acs