3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 21:22:37 +01:00

auto-t: hostapd.py: add resend_m3

This forces hostapd to resend message 3 of the 4-way handshake
This commit is contained in:
James Prestwood 2021-10-07 13:49:55 -07:00 committed by Denis Kenzior
parent f1b106f6eb
commit 119de8ec55

View File

@ -212,6 +212,10 @@ class HostapdCLI(object):
cmd = 'REKEY_GTK' cmd = 'REKEY_GTK'
self.ctrl_sock.sendall(cmd.encode('utf-8')) 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 @property
def bssid(self): def bssid(self):
cmd = self.cmdline + ['status'] cmd = self.cmdline + ['status']