[RFC v3 3/3] hostapd: Add Automatic Channel Selection (ACS) support

Michal Kazior michal.kazior
Mon Aug 5 02:56:38 PDT 2013


On 5 August 2013 11:33, Michal Kazior <michal.kazior at tieto.com> wrote:
> This adds ACS support to hostapd. Currently only
> survey-based algorithm is available.
>
> To use ACS you need to enable CONFIG_ACS=y in
> .config and use channel=0 (or channel=acs_survey)
> in hostapd.conf.
>
> For more details see wiki page [1] or comments in
> src/ap/acs.c
>
> [1]: http://wireless.kernel.org/en/users/Documentation/acs
>
> Signed-hostap: Michal Kazior <michal.kazior at tieto.com>
> ---
> v2:
>  * switch from remain-on-channel to scan-based
>    survey gathering
>  * remove acs_relative_survey (ath10k get_survey
>    was done inappropriately)
>  * message clean up
>  * scan is done only once (no multiple cycles)
>  * use pow() instead of powl()
>    I wasn't able to make it compile on OpenWRT
>    with powl()
>
> v3:
>  * fix compiler warning (Jouni)
>  * clean up and update documentation/comments
>    (e.g. mentions of offchannel tx are removed)
>  * make messages more consistent
>  * rename survey_interference_factor to
>    interference_factor making it more generic so
>    each ACS backend/algorithm can fill it up for
>    acs_find_ideal_channel()
>  * replace acs_chan_time_ms with acs_num_scans

The patch has been spam-blocked by the mailing list server.

I'm just reposting the patch commit message and changeset since I
forgot to include it in the git patchbomb from cover letter.


Pozdrawiam / Best regards,
Michal Kazior.



More information about the Hostap mailing list