All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 11/13] auto-t: hostapd.py: add resend_m3
@ 2021-10-07 20:49 James Prestwood
  0 siblings, 0 replies; only message in thread
From: James Prestwood @ 2021-10-07 20:49 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 670 bytes --]

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']
-- 
2.31.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-07 20:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-07 20:49 [PATCH v3 11/13] auto-t: hostapd.py: add resend_m3 James Prestwood

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.