From 119de8ec5562d6f84fa321a51ace6887febf6f7f Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Thu, 7 Oct 2021 13:49:55 -0700 Subject: [PATCH] auto-t: hostapd.py: add resend_m3 This forces hostapd to resend message 3 of the 4-way handshake --- autotests/util/hostapd.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autotests/util/hostapd.py b/autotests/util/hostapd.py index 22802be6..5d17da6b 100644 --- a/autotests/util/hostapd.py +++ b/autotests/util/hostapd.py @@ -212,6 +212,10 @@ class HostapdCLI(object): cmd = 'REKEY_GTK' self.ctrl_sock.sendall(cmd.encode('utf-8')) + def resend_m3(self, address): + cmd = 'RESEND_M3 %s' % address + self.ctrl_sock.sendall(cmd.encode('utf-8')) + @property def bssid(self): cmd = self.cmdline + ['status']