ACS seems not to select the best channel in 2.4GHz.

Jouni Malinen j
Fri Feb 6 11:25:22 PST 2015


On Thu, Feb 05, 2015 at 05:45:10PM -0800, Fumikazu Yobimoto wrote:
> I understood that's reasonable, agreed your idea.
> I tried to test ACS using your latest patch, and I was able to see a good
> result
> as I hoped. In addition, I tested other value witch Eduard mentioned.
> 
> #define ACS_ADJ_WEIGHT 0.85
> #define ACS_NEXT_ADJ_WEIGHT 0.55
> 
> The experiment result shows it works fine. I attach on the bottom.

Thanks!

> -An error about patch-
> adj_chan->interference_factor;
> +                               if (adj_chan && acs_usable_chan(adj_chan)) {
> +                                       factor += ACS_NEXT_ADJ_WEIGHT +
>             <= This line.

> it should be
> 
> +                                       factor += ACS_NEXT_ADJ_WEIGHT *
> +
>  adj_chan->interference_factor;

Indeed. Fixed in the current version in the pending branch.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list