eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit a972b77dc261932503eba350c53af9e2d705105c
parent d27de1b1117d88b17bfcad488ac9968cdb8f752d
Author: James Prestwood <prestwoj@gmail.com>
Date:   Thu, 18 Jul 2024 04:45:12 -0700

auto-t: add reason/test arguments to hostapd deauthenticate

The reason code is obvious, but the test argument is actually a
toggle to send the frame encrypted or unencrypted.

Diffstat:
Mautotests/util/hostapd.py | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/autotests/util/hostapd.py b/autotests/util/hostapd.py @@ -184,8 +184,12 @@ class HostapdCLI(object): cmd = self.cmdline + ['wps_pin', 'any', pin] ctx.start_process(cmd).wait() - def deauthenticate(self, client_address): + def deauthenticate(self, client_address, reason=None, test=None): cmd = self.cmdline + ['deauthenticate', client_address] + + if reason: + cmd.append(f"reason={reason} test={test}") + ctx.start_process(cmd).wait() def eapol_reauth(self, client_address):