UPSTREAM: MBO/OCE: Update disable_mbo_oce flag after association
After roaming to an AP, update disable_mbo_oce flag based on the current
BSS capabilities. This flag is used to check whether STA should support
MBO/OCE features and process BTM request received from the current
connected AP.
When a STA roams from a WPA2 MBO/OCE AP with PMF enabled to a
misbehaving WPA2 MBO/OCE AP without PMF, or if the driver chooses a BSS
in which PMF is not enabled for the initial connection, BTM requests
from such APs should not be processed by STA.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
(cherry picked from commit c3491740359004d801d2d433fbeb909d305d06dd)
Signed-off-by: Matthew Wang <matthewmwang@chromium.org>
BUG=b:182577507
TEST=test_mbo_without_pmf_workaround, wifi_matfunc
Change-Id: I5d84de35bb1463faca378211d00ccadb9eafc8fc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/hostap/+/2758091
Tested-by: Matthew Wang <matthewmwang@chromium.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Commit-Queue: Matthew Wang <matthewmwang@chromium.org>
1 file changed