[PATCH 6/6] bss_coloring: allow using a random starting color

Jouni Malinen j at w1.fi
Wed Nov 3 12:19:16 PDT 2021

On Wed, Sep 08, 2021 at 05:18:55PM +0800, Ryder Lee wrote:
> Enhance the possible values for he_bss_color. Anything greater than 63 will
> make hostapd choose a random color.

What's the use case for this? Isn't the initial BSS color supposed to be
selected based on what BSS colors are in use by neighboring OBSSs (see
IEEE Std 802.11ax-2021,

If that more complete implementation looking at neighboring OBSSs is not
added, would the automatic initialization to a random value be
sufficient for now?

> -# he_bss_color: BSS color (1-63)
> +# he_bss_color:
> +# 0 = disable
> +# 1-63 = pre-defined color
> +# 64+ =	random color
>  #he_bss_color=1

Is it really expected to be possible to configure the BSS color to be
hardcoded to be disabled? In addition, that use of multiple different
values to indicate a random color feels quite strange.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list