]> git.ipfire.org Git - thirdparty/hostap.git/commit
HE: Extend BSS color support
authorJohn Crispin <john@phrozen.org>
Tue, 4 Feb 2020 08:04:54 +0000 (09:04 +0100)
committerJouni Malinen <j@w1.fi>
Sun, 16 Feb 2020 10:32:17 +0000 (12:32 +0200)
commit0cb39f4fd5eb96f1c70a53bae460040ecc659212
tree64f444896895d7d475d4eb140018c9b44cc72a7d
parent458162a271f8240cf1857105231846dbea233a22
HE: Extend BSS color support

The HE Operation field for BSS color consists of a disabled, a partial,
and 6 color bits. The original commit adding support for BSS color
considered this to be a u8. This commit changes this to the actual
bits/values.

This adds an explicit config parameter for the partial bit. The disabled
is set to 0 implicitly if a bss_color is defined.

Interoperability testing showed that stations will require a BSS color
to be set even if the feature is disabled. Hence the default color is 1
when none is defined inside the config file.

Signed-off-by: John Crispin <john@phrozen.org>
hostapd/config_file.c
hostapd/hostapd.conf
src/ap/ap_config.c
src/ap/ap_config.h
src/ap/ieee802_11_he.c
src/common/ieee802_11_defs.h