dbus: Add D-Bus signal for PSK mismatch heuristics

As a workup action during disassociation, wpa_supplicant checks if the
disconnection could have been caused by PSK mismatch during WPA 4-way
handshake with function could_be_psk_mismatch() in event.c. A MSG_INFO
message will be sent on the control interface when there could be a PSK
mismatch, and this heuristic can be useful to indicate if the
disconnection is caused by a wrong passphrase provided by the user.
Here, propagate a new D-Bus signal 'PskMismatch' to notify other
applicantions.

Signed-off-by: Yichen Yu <yichenyu@chromium.org>
This commit is contained in:
Yichen Yu 2022-12-20 07:08:41 +00:00 committed by Jouni Malinen
parent 691f729d5d
commit a678a510fb
6 changed files with 41 additions and 0 deletions

View file

@ -1329,6 +1329,11 @@ fi.w1.wpa_supplicant1.CreateInterface.
<li>
<h3>InterworkingSelectDone ( )</h3>
</li>
<li>
<h3>PskMismatch ( )</h3>
<p>A possible PSK mismatch is identified.</p>
</li>
</ul>