]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Enable SAE-H2E for client when joining a 6 GHz group
authorQiwei Cai <quic_qcai@quicinc.com>
Wed, 11 Jan 2023 11:59:01 +0000 (19:59 +0800)
committerJouni Malinen <j@w1.fi>
Mon, 30 Jan 2023 21:21:33 +0000 (23:21 +0200)
commit1aadcca0a78f3e9c524974c0361962686834b325
treee68bba6111f30e263a7940d2acbffd654f9c1600
parent37f8257c4f3ba9401e6dc95f3243a63c25adbb09
P2P: Enable SAE-H2E for client when joining a 6 GHz group

Both P2P GO and client always save key_mgmt = WPA_KEY_MGMT_PSK in the
configuration when storing a persistent group. Next time, when a GO is
started as an autonomous GO on a 6 GHz channel, it will change key_mgmt
to SAE and use hash-to-element mechanism, but the P2P client doesn't
change the parameter even if the group it wants to join is operating on
a 6 GHz channel. The P2P connection will be failed due to reason 'reject
due to mismatch with WPA/WPA2'.

Enable SAE-H2E for P2P client in this case.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
wpa_supplicant/p2p_supplicant.c