]> git.ipfire.org Git - thirdparty/hostap.git/commit
MSCS: Extend MSCS response handling
authorDaniel Gabay <daniel.gabay@intel.com>
Tue, 26 Dec 2023 09:45:23 +0000 (11:45 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 14 Jan 2024 09:12:38 +0000 (11:12 +0200)
commitb427683bf0b405a637d322945aaf668f8145e599
treee9cd916d039f5e40f20aa737d614224d3f8c62bb
parentdb036b5345a356a11d6a10ed5a33a6d64ed25b53
MSCS: Extend MSCS response handling

Align MSCS response handling as described in IEEE P802.11-REVme/D4.0,
11.25.3 (MSCS procedures):

If an MSCS Descriptor element is present in a MSCS Response
frame that does not indicate a status of "SUCCESS", the request
type field is set to "change" - the element indicates a suggested
set of parameters that could be accepted by the AP in response to a
subsequent request by the non-AP STA.

Handle both MSCS Response frame and (Re)Association Response frame with
change request by extending WPA_EVENT_MSCS_RESULT with the change
values.

Note: since we extend MSCS_RESULT event, move the original event from
both MSCS Response frame and (Re)Association Response frame handlers to
a common function that handles now both 'change' and other response.

Signed-off-by: Daniel Gabay <daniel.gabay@intel.com>
wpa_supplicant/robust_av.c