]> git.ipfire.org Git - thirdparty/hostap.git/commit
Do not disable 40 MHz based on co-ex report with matching primary channel
authorJouni Malinen <jouni@codeaurora.org>
Wed, 21 Mar 2018 14:58:05 +0000 (16:58 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 21 Mar 2018 14:58:05 +0000 (16:58 +0200)
commit10949e24808f790ae39b98d1af6bfc52332ee904
treec7b0e80ad17ff031fbbcc8b3bbda80793113daa4
parent8cbd9c3ed4525078a072e72e1cf9a521c8c26771
Do not disable 40 MHz based on co-ex report with matching primary channel

When processing 20/40 BSS Coexistence Management frames that do not
explicitly require 40 MHz to be disabled, check whether the reported
channels in 20/40 BSS Intolerant Channel Report element match the
current primary channel. If so, allow 40 MHz operation to continue. This
makes the during-operation updates for 20/40 Operation Permitted more
consistent with the scans during initial BSS startup.

The received 20/40 BSS Intolerant Channel Report channels are to be used
in the OT set in the during-operation determination and the P == OT_i
exception was ignored in the previous implementation which could result
in the AP first starting with 40 MHz and then dropping to 20 MHz on
first received 20/40 BSS Coexistence Management frame even though there
was no change in the neighboring BSSs.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/ap/ieee802_11_ht.c