]> git.ipfire.org Git - thirdparty/hostap.git/commit
BSS coloring: BSS Color Change Announcement element generation
authorJohn Crispin <john@phrozen.org>
Mon, 21 Mar 2022 11:10:31 +0000 (12:10 +0100)
committerJouni Malinen <j@w1.fi>
Sat, 16 Apr 2022 14:13:08 +0000 (17:13 +0300)
commitf7d0b740e7fa0b74df2f346171a6b723aae45026
treecdc814933727391f277c8db6c4e867abd8cd1d3d
parent654d2395dddf9b826dba51188a99177f15727517
BSS coloring: BSS Color Change Announcement element generation

This information element is similar to the CSA one. It contains a
counter and the target color. Once the counter expired, the change to
the new color happens.

Just note the current implementation is based on CCA counter attributes
that only take Beacon and Probe Response framesinto account.
(Re)Association Response frames do not currently have kernel APIs to
decrement the CCA counter since mediatek mcu firmware does not support
it yet and it will be added in future firmware release.

Tested-by: Peter Chiu <chui-hao.chiu@mediatek.com>
Co-developed-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
src/ap/beacon.c
src/ap/ieee802_11.c
src/ap/ieee802_11.h
src/ap/ieee802_11_he.c
src/common/ieee802_11_defs.h